Hi wind sun,
I'm the engineer at wikiHow and should be able to help you, thanks for your interest.
Don't worry about the rex parameter, it doesn't have any affect on the page creation page. You can download a copy of our source code here:
http://www.wikihow.com/x/wikihow-1.6.tar.gz
It contains all our modifications to Mediawiki. For the page creation page, check out includes/EditPageWrapper.php, all it does is extend EditPage.php and splits an article into the separate parts (intro, steps, tips, warnings, etc) and then glues it back together again before saving. To make sure that the 'edit' action uses this page instead of EditPage.php, check out the changes to includes/Wiki.php at around line 383.
For the discussion namespace, I renamed the usual Talk namespace in Namespaces.php, Discussion sounded more intuitive to us. For the form at the bottom of each talk page, check out skins/WikiHowSkin.php, there's a function called getTalkPostForm() which sets up the form on talk pages and posts to a special page located at includes/SpecialPostcomment.php.
The code really needs to be cleaned up at some point, so sorry for any mess.
Let me know if you have any questions! Travis
On 10/16/06, 孙国君 cdexs@hotmail.com wrote:
i think lots of people here had browsed this site www.wikihow.com. i have several technical question about the site,dos anybody can give me some trains of thought :)
1)i saw "Create page" link url was implemented as "http://www.wikihow.com/index.php?action=edit&rex=4%22,here "rex" le seems a additional customized parameter, why use this additional url parameter? how to "Create page" by this way?
- while clicked "create page",in next new page, has several textarea to input "Introduction"、"steps"、"tips" etc separately. MediaWiki just has one textarea to add content。how to customize edit page like that?
3)while clicked "discuss this page" will goto http://www.wikihow.com/Discussion:Cook-Food, we can find here has a new namespace "Discussion"。and in this page,top area of page lists all discussion and bottom placed a textarea to add discussion。it's very convenient for user to check and add topics。 in standard mediawiki,discussion page just lists topics,should click"+" again to add topic, wikihow style is a better choice, how to do?
thanks in advance!
wind sun _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l