Hi there
There seems to be a problem with custom namespaces and the SpecialAllpages.php
(tested: mediawiki 1.4rc1). Custom namespaces will not show up in the selectbox.
This problem seems not to be reported on bugzilla, but it can also be found on:
http://meta.wikimedia.org/wiki/Help:Namespace
Under the section "custom namespaces":
Special:Allpages does not show custom namespaces (this seems to be a bug), but
the URLs work, e.g.
http://meta.wikimedia.org/w/index.php?title=Special:Allpages&namespace=…
Here's the patch for a working dropdown list:
# Patch for SpecialAllpages.php to show custom namespaces.
# By Joel Wiesmann aka tr0nix -
www.secuserv.ch
38a39
40,41c41,43
< for ( $i = 0; $i < 14; $i++ ) {
< $namespacename = str_replace ( "_", " ", $arr[$i]
);
---
foreach( $arr as $i => $name )
{
$namespacename = str_replace ( "_", " ", $name );
usage:
patch -i <patchfile> ./includes/SpecialAllpages.php
Hope this helps and gets accepted :). For me it works fine! Unfortunately I'm
not very familliar with CVS, so this is _maybe_ already fixed.
Regards
Joel Wiesmann,
www.secuserv.ch (patch can also be found on my homepage)