Bug 23120. Make sure that all wikis sharing the same database use initialCapital
authorConrad Irwin <conrad@users.mediawiki.org>
Fri, 9 Apr 2010 21:31:16 +0000 (21:31 +0000)
committerConrad Irwin <conrad@users.mediawiki.org>
Fri, 9 Apr 2010 21:31:16 +0000 (21:31 +0000)
includes/filerepo/ForeignDBRepo.php

index df3fde9..11f1aa7 100644 (file)
@@ -24,6 +24,8 @@ class ForeignDBRepo extends LocalRepo {
                $this->dbFlags = $info['dbFlags'];
                $this->tablePrefix = $info['tablePrefix'];
                $this->hasSharedCache = $info['hasSharedCache'];
+                // This must not depend on per-wiki namespace configuration (bug 23120)
+                $this->initialCapital = true;
        }
 
        function getMasterDB() {