Make output of LanguageNameIndexer more consistent
Change-Id: I13f06b9b1c65068206f1728f8a427c4ca46f28ec
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user