* Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 27 Oct 2006 14:32:00 +0000 (14:32 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 27 Oct 2006 14:32:00 +0000 (14:32 +0000)
RELEASE-NOTES
includes/SpecialAllpages.php
includes/SpecialPrefixindex.php

index 9065839..378e2e5 100644 (file)
@@ -96,6 +96,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   of deleted revision data
 * Added 'UndeleteShowRevision' hook in Special:Undelete
 * Error message on attempt to view invalid or missing deleted revisions
+* Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex
 
 
 == Languages updated ==
index 345c48e..8d41bb3 100644 (file)
@@ -24,7 +24,7 @@ function wfSpecialAllpages( $par=NULL, $specialPage ) {
                $namespace = 0;
 
        $wgOut->setPagetitle( $namespace > 0 ?
-               wfMsg( 'allinnamespace', $namespaces[$namespace] ) :
+               wfMsg( 'allinnamespace', str_replace( '_', ' ', $namespaces[$namespace] ) ) :
                wfMsg( 'allarticles' )
                );
 
index bbfc278..86880d2 100644 (file)
@@ -27,7 +27,7 @@ function wfSpecialPrefixIndex( $par=NULL, $specialPage ) {
                $namespace = 0;
 
        $wgOut->setPagetitle( $namespace > 0 ?
-               wfMsg( 'allinnamespace', $namespaces[$namespace] ) :
+               wfMsg( 'allinnamespace', str_replace( '_', ' ', $namespaces[$namespace] ) ) :
                wfMsg( 'allarticles' )
                );