[maemo-community] Adding the link to "contributing to the wiki" in the edit pages

From: Dave Neary dneary at maemo.org
Date: Fri Dec 18 00:52:30 EET 2009
Hi,

I wrote a trivial MediaWiki extension to add whatever is in the "Edit
help" template to the top of every edit page, just before the form.

Could I get it installed, please? You need to just drop the .php file
below into the extensions directory, and add the following to
LocalSettings.php:

require_once("$IP/extensions/EditHelp.php");

With that, and nothing else, it should be good to go. This seems, from
what I can tell of MediaWiki, to be the Right Way to do this kind of thing.

One warning (from experience) - it's important not to close the <?php
metatag at the end of the file - it breaks require_once.

Cheers,
Dave.

-- 
maemo.org docsmaster
Email: dneary at maemo.org
Jabber: bolsh at jabber.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: EditHelp.php
Type: application/x-php
Size: 262 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-community/attachments/20091217/49fcbfbf/attachment.bin 
More information about the maemo-community mailing list