Compacting the interlanguage links with the ULS

Displays a shorter version of the language list with the languages that are more relevant to you.
More info at https://www.mediawiki.org/wiki/Universal_Language_Selector/Design/Interlanguage_links

Due to a problem with duplicate patchsets we had to create a new one. 
The history and info on code and security revisions is available at
https://gerrit.wikimedia.org/r/#/c/104793/

Change-Id: I109bfb10f6181b6408aab170db5e8ca32493d657
This commit is contained in:
Niharika Kohli
2014-01-29 05:07:50 +00:00
committed by Pginer
parent d4454c6588
commit 5ca0d5d400
12 changed files with 313 additions and 3 deletions

View File

@@ -146,6 +146,17 @@ $wgResourceModules['ext.uls.preferences'] = array(
),
) + $resourcePaths;
$wgResourceModules['ext.uls.compactlinks'] = array(
'scripts' => 'resources/js/ext.uls.compactlinks.js',
'styles' => 'resources/css/ext.uls.compactlinks.css',
'dependencies' => array(
'ext.uls.mediawiki',
'ext.uls.init',
'jquery.uls.compact',
'mediawiki.ui.button',
),
) + $resourcePaths;
$wgResourceModules['ext.uls.webfonts'] = array(
'scripts' => 'resources/js/ext.uls.webfonts.js',
'dependencies' => array(