From: Ævar Arnfjörð Bjarmason Date: Tue, 3 May 2005 12:27:30 +0000 (+0000) Subject: * Implemented two new conveniance functions, getFormattedNamespaces(), X-Git-Tag: 1.5.0alpha2~343 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=4e960ebdc3d783320fabf134700a4fc688907462;p=lhc%2Fweb%2Fwiklou.git * Implemented two new conveniance functions, getFormattedNamespaces(), getFormattedNsText(), useful for decresing development time. --- diff --git a/languages/Language.php b/languages/Language.php index 0e5ee6799f..abfe818946 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2089,7 +2089,23 @@ class Language { global $wgNamespaceNamesEn; return $wgNamespaceNamesEn; } - + + /** + * A convenience function that returns the same thing as + * getNamespaces() except with the array values changed to ' ' + * where it found '_', useful for producing output to be displayed + * e.g. in