Make output of LanguageNameIndexer more consistent

Change-Id: I13f06b9b1c65068206f1728f8a427c4ca46f28ec
This commit is contained in:
Niklas Laxström committed 2017-10-31 16:25:01 +01:00
1 parent 1d8f43310d
commit 56d3f2af43
2 files changed
+407 -406

No files matched your search

+5
View File
@@ -31,6 +31,11 @@ class LanguageNameIndexer extends Maintenance {
}
public function execute() {
global $wgExtraLanguageNames;
// Avoid local configuration leaking to this script
$wgExtraLanguageNames = [];
$languages = Language::fetchLanguageNames( null, 'all' );
$buckets = [];