Rearranging Files

* Seperating standalone jQuery ULS plugin and extension related code
* lib/jquery.uls can be submodule, but not now.

Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33
This commit is contained in:
Santhosh Thottingal
2012-08-03 12:24:04 +05:30
parent 96304a6d22
commit 878313d2ec
18 changed files with 30 additions and 30 deletions

View File

@@ -69,39 +69,35 @@ $wgResourceModules['ext.uls.init'] = array(
'dependencies' => array(
'mediawiki.Uri',
'jquery.tipsy',
'ext.uls.core',
'jquery.uls',
),
'position' => 'top',
);
$wgResourceModules['ext.uls.data'] = 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(
$wgResourceModules['jquery.uls'] = array(
'scripts' => array(
'resources/ext.uls.core.js',
'resources/ext.uls.languagefilter.js',
'resources/ext.uls.data.utils.js',
'lib/jquery.uls/src/jquery.uls.core.js',
'lib/jquery.uls/src/jquery.uls.languagefilter.js',
'lib/jquery.uls/src/jquery.uls.lcd.js',
),
'styles' => array(
'resources/css/ext.uls.css',
'resources/css/ext.uls.grid.css',
'lib/jquery.uls/css/jquery.uls.css',
'lib/jquery.uls/css/jquery.uls.grid.css',
'lib/jquery.uls/css/jquery.uls.lcd.css',
),
'localBasePath' => $dir,
'remoteExtPath' => 'UniversalLanguageSelector',
'dependencies' => array(
'ext.uls.data',
'ext.uls.lcd',
'jquery.uls.data',
),
'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
View File

@@ -0,0 +1,4 @@
jQuery Universal Language Selector
=================================
Universal Language Selector

View File

@@ -14,19 +14,19 @@
<!-- <link rel="apple-touch-icon" href="/apple-touch-icon.png"/> -->
<!-- <meta name="description" content=""/> -->
<meta name="author" content="Santhosh Thottingal"/>
<link href="../resources/css/ext.uls.css" rel="stylesheet"/>
<link href="../resources/css/ext.uls.grid.css" rel="stylesheet"/>
<link href="../resources/css/ext.uls.lcd.css" rel="stylesheet"/>
<link href="../css/jquery.uls.css" rel="stylesheet"/>
<link href="../css/jquery.uls.grid.css" rel="stylesheet"/>
<link href="../css/jquery.uls.lcd.css" rel="stylesheet"/>
<!-- demo -->
<link href="resources/demo.css" rel="stylesheet"/>
<!-- Libs -->
<script src="resources/jquery.js"></script>
<!-- Source -->
<script src="../data/ext.uls.data.js"></script>
<script src="../resources/ext.uls.data.utils.js"></script>
<script src="../resources/ext.uls.lcd.js"></script>
<script src="../resources/ext.uls.languagefilter.js"></script>
<script src="../resources/ext.uls.core.js"></script>
<script src="../data/jquery.uls.data.js"></script>
<script src="../src/jquery.uls.data.utils.js"></script>
<script src="../src/jquery.uls.lcd.js"></script>
<script src="../src/jquery.uls.languagefilter.js"></script>
<script src="../src/jquery.uls.core.js"></script>
<script>
$( document ).ready( function() {
$( '.uls-trigger' ).uls( {

View File

Before

Width:  |  Height:  |  Size: 338 B

After

Width:  |  Height:  |  Size: 338 B

View File

Before

Width:  |  Height:  |  Size: 347 B

After

Width:  |  Height:  |  Size: 347 B

View File

Before

Width:  |  Height:  |  Size: 987 B

After

Width:  |  Height:  |  Size: 987 B

View File

Before

Width:  |  Height:  |  Size: 881 B

After

Width:  |  Height:  |  Size: 881 B

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB