Hi, I have searched this list, the weta.wikipedia.org and Googled for info on creating a new Special page without any luck. Can anyone point me to some resources?
What I am trying to do is create a special page that is similar to Userlogin except that it would be an Userinvite, allowing existing users to invite new ones (forms for first name, last name, and email address).
I know I have to add my new page to the array in SpecialPages.php, but it says to use SpecialPage::addPage() and not to edit the array at run-time. I'm not sure how to go about this since I am a novice at PHP and command line things in general, I'd feel more comfortable just modding the SpecialPage.php file itself. How could I do that without damaging anything?
Thanks, Ryan
Ryan Kelln wrote:
Hi, I have searched this list, the weta.wikipedia.org and Googled for info on creating a new Special page without any luck. Can anyone point me to some resources?
Take a look at the various extensions, some of which define special pages:
http://cvs.sourceforge.net/viewcvs.py/wikipedia/extensions/
-- brion vibber (brion @ pobox.com)
Hello; There is a paragraph on how to create a special page in the FAQ
http://meta.wikimedia.org/wiki/Meta:FAQ#How_do_I_add_my_own_dynamic_content_...
It's not so difficult. At the end,it says you have to create a simple page and write the name of your special page in it. If you forget this the title of your special page will have < and > around. I haven't got a clue why creating a page with the name in it solves this, but it works
Hope this helps
Fxparlant (François)
On 5/13/05, FxParlant f-x.p@laposte.net wrote:
Hello; There is a paragraph on how to create a special page in the FAQ
http://meta.wikimedia.org/wiki/Meta:FAQ#How_do_I_add_my_own_dynamic_content_...
It's not so difficult. At the end,it says you have to create a simple page and write the name of your special page in it. If you forget this the title of your special page will have < and > around. I haven't got a clue why creating a page with the name in it solves this, but it works
That page seems to have changed, it now just has a pointer to an article about writing an extension which really doesn't seem to build a special page.
I just figured out how to build a new special page which is like the Uncategorized pages page, but looks at the Image namespace. I wrote it up at http://meta.wikimedia.org/wiki/Writing_a_new_special_page
mediawiki-l@lists.wikimedia.org