Extension talk:HideNamespace

no effect
At the moment the extension isn't working for me on Mediawiki 1.15.1. I followed the directions given for installation (except HideNamespace.i18n

was renamed to HideNamespace.i18n.php because the wiki errors out otherwise). Neither the parser or declaring namespaces to

hide with $wgHidensNamespaces have any effect. Special:Version shows the extension is registered successfully.

210.56.88.218 12:22, 1 September 2009 (UTC)


 * I've received some reports describing the same problem. I've looked into it, but found nothing wrong. There are maybe some problems with registering the hooks, but since I can't reproduce it's difficult to fix it. --Matěj Grabovský 14:28, 1 September 2009 (UTC)


 * Yeah I spent a while trying to trace the problem and came up empty (not real familiar with debugging MediaWiki or PHP in general). So in the meantime I've just hacked with the Mediawiki codebase a bit and made a couple of patches to strip specific NS prefixes in article pages and category listings. Thanks anyway. 210.56.88.15 15:52, 1 September 2009 (UTC)


 * I just got a little pointer, could you please provide list of installed extensions? --Matěj Grabovský 16:18, 1 September 2009 (UTC)


 * Just yours... I was testing it out on a fresh install of MediaWiki 1.15.1 with Xampp 1.7.1 on my local box. Only modification had been an import of an XML dump from my production wiki. 210.56.88.15 16:30, 1 September 2009 (UTC)


 * It should work now, try the new code. --Matěj Grabovský 13:53, 2 September 2009 (UTC)


 * You're not declaring parser functions correctly.. I had to disable function RegisterParser. See this page to see how parser functions are set up in later versions of MW Manual:Parser_functions --Frantik 10:56, 17 September 2009 (UTC)


 * I think I'm doing it right. --Matěj Grabovský 13:46, 17 September 2009 (UTC)


 * Unfortunately it's not working for me either. It just gives me the following error: "Internal Error. Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information." BTW I'm using MW 1.14. Regards, BradLeeBH 04:12, 25 September 2009 (UTC)


 * It did not seem to work for me either. But it seems quite awesome, except for that. Alshgjdkjcej

This extension does nothing.

problem : Magic word 'hidens' not found
Hello, i've done everything as stated but i've this error:

Magic word 'hidens' not found

Backtrace:


 * 0 C:\wamp\www\mediawiki\includes\MagicWord.php(244): Language->getMagic(Object(MagicWord))
 * 1 C:\wamp\www\mediawiki\includes\MagicWord.php(197): MagicWord->load('hidens')
 * 2 C:\wamp\www\mediawiki\includes\parser\Parser.php(4034): MagicWord::get('hidens')
 * 3 C:\wamp\www\mediawiki\extensions\HideNamespace\HideNamespace.php(64): Parser->setFunctionHook('hidens', Array)
 * 1) 4 [internal function]: ExtensionHideNamespace->RegisterParser(Object(Parser))
 * 5 C:\wamp\www\mediawiki\includes\Hooks.php(117): call_user_func_array(Array, Array)
 * 6 C:\wamp\www\mediawiki\includes\parser\Parser.php(178): wfRunHooks('ParserFirstCall...', Array)
 * 7 C:\wamp\www\mediawiki\includes\parser\Parser.php(190): Parser->firstCallInit
 * 8 C:\wamp\www\mediawiki\includes\parser\Parser.php(312): Parser->clearState
 * 9 C:\wamp\www\mediawiki\includes\OutputPage.php(651): Parser->parse('(Redirig?? depu...', Object(Title), Object(ParserOptions), true, true, NULL)
 * 1) 10 C:\wamp\www\mediawiki\includes\GlobalFunctions.php(740): OutputPage->parse('(Redirig?? depu...', true, true)
 * 2) 11 C:\wamp\www\mediawiki\includes\Article.php(841): wfMsgExt('redirectedfrom', Array, 'view
 * 4) 13 C:\wamp\www\mediawiki\includes\Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 5) 14 C:\wamp\www\mediawiki\index.php(116): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
 * 6) 15 {main}

could you help me please??

thanks for your help


 * What MediaWiki version are you using? --Matěj Grabovský 15:53, 2 August 2010 (UTC)
 * Hello i use
 * version of Mediawiki : 1.15.4
 * Database : MySql 5.1.36
 * OS : windows xp pro 2003
 * PHP version : 5.2.11
 * serveur Apache 2.2.11


 * MediaWiki works on a local configuration with wampserver 2.