Introduce languages options to ULS

Default value of this option will be $.uls.data.autonyms().
It can be set to limit language selection to a set of languages.

Updated examples, used a config variable wgULSLanguages to set this.

Change-Id: Ia322cbdcdb14f08619d2e4df5b23e2702841d147
This commit is contained in:
Santhosh Thottingal authored and Amir E. Aharoni committed 2012-08-15 08:52:46 +03:00
1 parent bce461b980
commit 8f7382b242
7 files changed
+35 -9

No files matched your search

+1
View File
@@ -66,6 +66,7 @@
onSelect: function( language ) {
changeLanguage( language );
},
languages: mw.config.get( 'wgULSLanguages' ),
searchAPI: mw.util.wikiScript( 'api' ) + "?action=languagesearch"
} );