https://bugzilla.wikimedia.org/show_bug.cgi?id=33614
--- Comment #9 from Technical_13 <technical...@yahoo.com> 2012-03-12 14:35:38 UTC --- Correct me if I am wrong, but wouldn't it be feasible to replace: $tempout = explode( "\n", $this->drawCategoryBrowser( $parenttree, $this ) ); With this: if ($wgUser->getBoolOption( 'showhiddencats' )) { $tempout = array_unique(explode( "\n", $this->drawCategoryBrowser( $parenttree, $this ) )); } else { $tempout = preg_grep( "/MediaWiki:Hidden-categories/", array_unique(explode( "\n", $this->drawCategoryBrowser( $parenttree, $this ) )), PREG_GREP_INVERT ); } So that instead of specifically specifying it as the hidden category's name as "Hidden categories" you have it refer to the MediaWiki page that the name is actually set on? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l