Introduce Language Category Display (LCD)
Introduce $.fn.lcd - displaying languages by categories. Added the jquery.viewport.js module by Mika Tuupola (MIT license). More tests for language utils. Change-Id: I804b6da8ab0a2d518e17ae8bbd35e1c1da4bab3f
This commit is contained in:
@@ -51,6 +51,22 @@ $wgResourceModules['ext.uls.data'] = array(
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
);
|
||||
|
||||
$wgResourceModules['ext.uls.lcd'] = array(
|
||||
'scripts' => 'resources/ext.uls.lcd.js',
|
||||
'localBasePath' => $dir,
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
'styles' => 'resources/css/ext.uls.lcd.css',
|
||||
'dependencies' => array(
|
||||
'jquery.viewport',
|
||||
),
|
||||
);
|
||||
|
||||
$wgResourceModules['jquery.viewport'] = array(
|
||||
'scripts' => 'resources/jquery.viewport.js',
|
||||
'localBasePath' => $dir,
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
);
|
||||
|
||||
$wgResourceModules['ext.uls.core'] = array(
|
||||
'scripts' => array(
|
||||
'resources/ext.uls.core.js',
|
||||
@@ -63,6 +79,7 @@ $wgResourceModules['ext.uls.core'] = array(
|
||||
'dependencies' => array(
|
||||
'mediawiki.Uri',
|
||||
'ext.uls.data',
|
||||
'ext.uls.lcd',
|
||||
),
|
||||
'position' => 'top',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user