http://www.mediawiki.org/wiki/Special:Code/MediaWiki/71868
Revision: 71868
Author: werdna
Date: 2010-08-29 03:08:15 +0000 (Sun, 29 Aug 2010)
Log Message:
-----------
Unmerging r71867. Merge-conflicts with some things Nikerabbit was doing. He
broke it, leaving him to fix it for now :-)
Modified Paths:
--------------
trunk/phase3/languages/Language.php
Modified: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php 2010-08-29 03:03:28 UTC (rev 71867)
+++ trunk/phase3/languages/Language.php 2010-08-29 03:08:15 UTC (rev 71868)
@@ -262,8 +262,6 @@
}
# Sometimes a language will be localised but not
actually exist on this wiki.
- global $wgCanonicalNamespaceNames;
- $validNamespaces =
array_keys(MWNamespace::getCanonicalNamespaces());
foreach( $this->namespaceNames as $key => $text ) {
if ( !isset( $validNamespaces[$key] ) ) {
unset( $this->namespaceNames[$key] );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs