Hi Dave
You should put this line in execute function in the main class of your special page (i.e. class <SpecialPage> extends SpecialPage)
wfLoadExtensionMessages('<Your Special Page>');
Also you should add message with your special page name in lowercase i think ('yourspecialpage' => 'The Desired Name',)
And don't forget to load the messages file with
$wgExtensionMessagesFiles['<SpecialPageName>'] = $dir .'Special<PageName>.i18n.php';
Ahmad On Sat, Mar 14, 2009 at 8:20 PM, David Di Biase dave.dibiase@gmail.comwrote:
Sorry, I'm slightly confused. Could you explain why I would be doing that? Also where the heck in the documentation does it say this? lol.
Thanks for the response.
Dave
On Sat, Mar 14, 2009 at 1:59 PM, Angela beesley@gmail.com wrote:
On Sun, Mar 15, 2009 at 2:27 AM, David Di Biase dave.dibiase@gmail.com wrote:
Two quick questions. I just created a new Wiki special page, setup the
group
extension files and all. The first issue I'm noticing is that on the extension page the name of the page is displaying as
<bibliography>
.
Try creating the [[MediaWiki:Bibliography]] on your wiki with the name of the page (you'll need to be logged in as an admin).
Angela
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l