Group languages in each region by script group
sortByScriptGroup and getLanguagesByScriptGroup are updated from language-data. (jquery.uls.data.utils should be merged to language-data.) This resolves downstream bug https://phabricator.wikimedia.org/T189090
This commit is contained in:
@@ -229,6 +229,10 @@
|
||||
columns = [],
|
||||
rows = [];
|
||||
|
||||
languages = $.uls.data.sortByScriptGroup(
|
||||
languages.sort( $.uls.data.sortByAutonym )
|
||||
);
|
||||
|
||||
if ( columnsPerRow === 1 ) {
|
||||
columnsClasses = 'twelve columns';
|
||||
} else if ( columnsPerRow === 2 ) {
|
||||
|
||||
Reference in New Issue
Block a user