From 0ffa85fbae8f08fa635fb2ab966ddc717595cfd7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 27 Oct 2006 14:32:00 +0000 Subject: [PATCH] * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex --- RELEASE-NOTES | 1 + includes/SpecialAllpages.php | 2 +- includes/SpecialPrefixindex.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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' ) ); -- 2.20.1