Hi,
I have redirected my wiki to link to an HTML form I'd like to wiki users to use to create new pages in the wiki. However, I'd like to keep the monobook feel for the page so that the users are oblivious to the fact that they have momentairly stepped away from the wiki and into an HTML form. Can anyone offer advice on what's the best way to do so ? I am using the same style sheet but the skin php classes are quite messy for a php novice and it is not clear where exactly is the code which loads the wiki pages (and which I will need to replace the HTML form).
Thanks,
Shai
On 02/07/06, Shai Shen-Orr shenorr@mcb.harvard.edu wrote:
I have redirected my wiki to link to an HTML form I'd like to wiki users to use to create new pages in the wiki. However, I'd like to keep the monobook
[snip]
You could use a custom special page for this. See various examples in extensions in Subversion.
Rob Church
Thanks for the advice. It got me going in the right direction, but I still need some help. I have gone through the Subversion Extensions - and found what looks like a good php script to start tweaking: examples/SpecialIncludable.php. What's missing in order for me to do this is a betterr understanding of the MediaWiki code structure and PHP workings: I have currently modified the MediaWiki:NoGoMatch page to call either an editable new wiki page (as is done normally) OR be directed to an external html form. Am I correct in thinking that what I need to do now is call the SpecialIncludable class or the wfIncludable fucntion (I am somewhat confused as to which one I need to call) from SpecialSearch:goResult - replacing the line $wgOut->addWikiText( wfMsg('nogomatch', ":$term" ) ); ? I have tried playing around a bit and keep getting errors - indicating perhaps that I have the whole process wrong ? While I am at it - how does debug PHP code ? I tried installing the Komodo debugger but it does't seem to install well ?
Thanks,
Shai
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rob Church Sent: Sunday, July 02, 2006 5:15 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Faking a MonoBook feel for an HTML form
On 02/07/06, Shai Shen-Orr shenorr@mcb.harvard.edu wrote:
I have redirected my wiki to link to an HTML form I'd like to wiki users to use to create new pages in the wiki. However, I'd like to keep the monobook
[snip]
You could use a custom special page for this. See various examples in extensions in Subversion.
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org