From: Brion Vibber Date: Fri, 27 Oct 2006 14:32:00 +0000 (+0000) Subject: * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex X-Git-Tag: 1.31.0-rc.0~55365 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=0ffa85fbae8f08fa635fb2ab966ddc717595cfd7;p=lhc%2Fweb%2Fwiklou.git * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 906583909c..378e2e5223 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialAllpages.php b/includes/SpecialAllpages.php index 345c48e606..8d41bb376d 100644 --- a/includes/SpecialAllpages.php +++ b/includes/SpecialAllpages.php @@ -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' ) ); diff --git a/includes/SpecialPrefixindex.php b/includes/SpecialPrefixindex.php index bbfc2782dc..86880d2f04 100644 --- a/includes/SpecialPrefixindex.php +++ b/includes/SpecialPrefixindex.php @@ -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' ) );