Rearranging Files
* Seperating standalone jQuery ULS plugin and extension related code * lib/jquery.uls can be submodule, but not now. Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33
@@ -69,39 +69,35 @@ $wgResourceModules['ext.uls.init'] = array(
|
|||||||
'dependencies' => array(
|
'dependencies' => array(
|
||||||
'mediawiki.Uri',
|
'mediawiki.Uri',
|
||||||
'jquery.tipsy',
|
'jquery.tipsy',
|
||||||
'ext.uls.core',
|
'jquery.uls',
|
||||||
),
|
),
|
||||||
'position' => 'top',
|
'position' => 'top',
|
||||||
);
|
);
|
||||||
|
|
||||||
$wgResourceModules['ext.uls.data'] = array(
|
$wgResourceModules['jquery.uls'] = array(
|
||||||
'scripts' => 'data/ext.uls.data.js',
|
|
||||||
'localBasePath' => $dir,
|
|
||||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
|
||||||
);
|
|
||||||
|
|
||||||
$wgResourceModules['ext.uls.lcd'] = array(
|
|
||||||
'scripts' => 'resources/ext.uls.lcd.js',
|
|
||||||
'localBasePath' => $dir,
|
|
||||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
|
||||||
'styles' => 'resources/css/ext.uls.lcd.css',
|
|
||||||
);
|
|
||||||
|
|
||||||
$wgResourceModules['ext.uls.core'] = array(
|
|
||||||
'scripts' => array(
|
'scripts' => array(
|
||||||
'resources/ext.uls.core.js',
|
'lib/jquery.uls/src/jquery.uls.core.js',
|
||||||
'resources/ext.uls.languagefilter.js',
|
'lib/jquery.uls/src/jquery.uls.languagefilter.js',
|
||||||
'resources/ext.uls.data.utils.js',
|
'lib/jquery.uls/src/jquery.uls.lcd.js',
|
||||||
),
|
),
|
||||||
'styles' => array(
|
'styles' => array(
|
||||||
'resources/css/ext.uls.css',
|
'lib/jquery.uls/css/jquery.uls.css',
|
||||||
'resources/css/ext.uls.grid.css',
|
'lib/jquery.uls/css/jquery.uls.grid.css',
|
||||||
|
'lib/jquery.uls/css/jquery.uls.lcd.css',
|
||||||
),
|
),
|
||||||
'localBasePath' => $dir,
|
'localBasePath' => $dir,
|
||||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||||
'dependencies' => array(
|
'dependencies' => array(
|
||||||
'ext.uls.data',
|
'jquery.uls.data',
|
||||||
'ext.uls.lcd',
|
|
||||||
),
|
),
|
||||||
'position' => 'top',
|
'position' => 'top',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$wgResourceModules['jquery.uls.data'] = array(
|
||||||
|
'scripts' => array(
|
||||||
|
'lib/jquery.uls/data/jquery.uls.data.js',
|
||||||
|
'lib/jquery.uls/src/jquery.uls.data.utils.js',
|
||||||
|
),
|
||||||
|
'localBasePath' => $dir,
|
||||||
|
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||||
|
);
|
||||||
4
lib/jquery.uls/README.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
jQuery Universal Language Selector
|
||||||
|
=================================
|
||||||
|
Universal Language Selector
|
||||||
|
|
||||||
@@ -14,19 +14,19 @@
|
|||||||
<!-- <link rel="apple-touch-icon" href="/apple-touch-icon.png"/> -->
|
<!-- <link rel="apple-touch-icon" href="/apple-touch-icon.png"/> -->
|
||||||
<!-- <meta name="description" content=""/> -->
|
<!-- <meta name="description" content=""/> -->
|
||||||
<meta name="author" content="Santhosh Thottingal"/>
|
<meta name="author" content="Santhosh Thottingal"/>
|
||||||
<link href="../resources/css/ext.uls.css" rel="stylesheet"/>
|
<link href="../css/jquery.uls.css" rel="stylesheet"/>
|
||||||
<link href="../resources/css/ext.uls.grid.css" rel="stylesheet"/>
|
<link href="../css/jquery.uls.grid.css" rel="stylesheet"/>
|
||||||
<link href="../resources/css/ext.uls.lcd.css" rel="stylesheet"/>
|
<link href="../css/jquery.uls.lcd.css" rel="stylesheet"/>
|
||||||
<!-- demo -->
|
<!-- demo -->
|
||||||
<link href="resources/demo.css" rel="stylesheet"/>
|
<link href="resources/demo.css" rel="stylesheet"/>
|
||||||
<!-- Libs -->
|
<!-- Libs -->
|
||||||
<script src="resources/jquery.js"></script>
|
<script src="resources/jquery.js"></script>
|
||||||
<!-- Source -->
|
<!-- Source -->
|
||||||
<script src="../data/ext.uls.data.js"></script>
|
<script src="../data/jquery.uls.data.js"></script>
|
||||||
<script src="../resources/ext.uls.data.utils.js"></script>
|
<script src="../src/jquery.uls.data.utils.js"></script>
|
||||||
<script src="../resources/ext.uls.lcd.js"></script>
|
<script src="../src/jquery.uls.lcd.js"></script>
|
||||||
<script src="../resources/ext.uls.languagefilter.js"></script>
|
<script src="../src/jquery.uls.languagefilter.js"></script>
|
||||||
<script src="../resources/ext.uls.core.js"></script>
|
<script src="../src/jquery.uls.core.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$( document ).ready( function() {
|
$( document ).ready( function() {
|
||||||
$( '.uls-trigger' ).uls( {
|
$( '.uls-trigger' ).uls( {
|
||||||
|
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 338 B |
|
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
|
Before Width: | Height: | Size: 987 B After Width: | Height: | Size: 987 B |
|
Before Width: | Height: | Size: 881 B After Width: | Height: | Size: 881 B |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |