Commit Graph

2393 Commits

Author SHA1 Message Date
jenkins-bot
2580a281b6 Merge "Update upstream update scripts" 2016-05-04 12:16:06 +00:00
jenkins-bot
3a77119ed3 Merge "Update jquery.uls to 5ceba61" 2016-05-04 12:11:06 +00:00
Niklas Laxström
1a378e3cca Update upstream update scripts
* Allow to run any directory
* Leaving stuff on /tmp was not nice
* Git pull was run on wrong directory

Change-Id: Ia7f82de55c9bd446c29afc0684660ed00b6585bf
2016-05-04 14:01:08 +02:00
Nikerabbit
b490829957 Merge "Compact links: Simply use the widget pattern instead of plugin" 2016-05-03 08:32:14 +00:00
Niklas Laxström
89e30a3ccb Merge "Update jquery.i18n to 8267e1dbef" 2016-05-03 08:31:40 +00:00
Niklas Laxström
02f87ff4ec Update jquery.uls to 5ceba61
New search icon + image compression

Bug: T132424
Change-Id: Ibf32682e46978484ec3967ec71385b523e38c076
2016-05-03 10:29:23 +02:00
jenkins-bot
7d56590918 Merge "Add width and height attributes to svg for correct rendering in IE 10" 2016-05-03 08:11:28 +00:00
Niklas Laxström
07b764a11f Update jquery.i18n to 8267e1dbef
Whitespace changes only

Change-Id: I150b69b5015440215573f2f40e7ac56bacea6c90
2016-05-03 08:06:03 +00:00
Santhosh Thottingal
4150d24e67 Compact links: Simply use the widget pattern instead of plugin
We don't need plugin pattern here since it is not meant for a use
in multiple contexts. Code simplified.

Change-Id: Iee86069aaa82f5a9ab3a856c19360e9ea89211ad
2016-05-03 08:53:58 +05:30
Niklas Laxström
aba4540cef Update jquery.uls from upstream to 19e67015
Changes:
* Add kbp

Change-Id: Iacc845c1b186f5a5f93cb5b071c0d628c3212ce3
2016-05-02 06:34:47 +00:00
Santhosh Thottingal
0022983fae Add width and height attributes to svg for correct rendering in IE 10
If this values are missing from svg, the image is rendered very small.

Bug: T131842
Change-Id: I5ba750e577d09dd6e5119e287c3a34a85ec750f6
2016-05-02 11:08:00 +05:30
jenkins-bot
897d4f7f72 Merge "Refactor font repo compiler so it can be reused" 2016-05-02 04:37:53 +00:00
Santhosh Thottingal
695ea37918 Remove wgULSCompactLinks configuration variable
This was used to expose Compact language links as beta feature.
Now a days, we want it as beta feature unconditionally and this
configuration does not make sense. So removing.

Bug: T134145
Change-Id: I40d5c07064b5f407ec37837b0835e0698f3a5256
2016-05-02 04:11:13 +00:00
jenkins-bot
babaee831f Merge "Ensure ext.uls.mediawiki is loaded before use" 2016-04-27 05:17:37 +00:00
jenkins-bot
4e4a63fc65 Merge "Simplify code by using Object.keys" 2016-04-27 05:15:55 +00:00
Translation updater bot
297c63d59a Localisation updates from https://translatewiki.net.
Change-Id: I713c2a95f9205a4f1ad98dc8396707349d25952d
2016-04-26 22:32:54 +02:00
Translation updater bot
e7fe5409e2 Localisation updates from https://translatewiki.net.
Change-Id: I3d135b68532ae8e409343608cc14731bac52148a
2016-04-24 22:37:44 +02:00
Niklas Laxström
d2bb6e9010 Ensure ext.uls.mediawiki is loaded before use
Earlier patch loaded it too late, but it was loaded
anyway by something else.

Change-Id: Ib4cf6cd7339a5313961c84cd7904fc2ffc66a157
2016-04-22 10:56:48 +00:00
Niklas Laxström
c99a30bf80 Simplify code by using Object.keys
Guaranteed by es5-shim.

Change-Id: Ifd698dc03fd8e755e95ec6c4856ec3683cc3305d
2016-04-22 12:49:15 +02:00
Niklas Laxström
85f7ebdd4b Delay compact language links language selector creation until click
No point constructing the selector when it is used.

Task: T122341
Change-Id: I928f9041a95e2c48625dba6e11550ac6bbdcb7fd
2016-04-22 10:19:21 +00:00
Niklas Laxström
d2ef6405cb Use mw.msg rather than jquery.i18n
No need to use jquery.i18n here, and avoids going through html

Task: T122341
Change-Id: Ib04011b8c672cd50c02a73791257650fa3dfc1dd
2016-04-22 09:51:24 +00:00
Santhosh Thottingal
aca1545513 Compact links: The trigger kept pressed while the panel is open
Bug: T70078
Change-Id: Iaac9d7f2a5ec5da049b2b4c8e88a9f0bc2a91bda
2016-04-22 07:11:33 +02:00
Santhosh Thottingal
cac3e709de Compact links: Add png background image for trigger
Converted the css to less file too.

Change-Id: I2f01c170336b0d19f0dbac10ebd9a3eac769d104
2016-04-19 14:23:04 +02:00
Santhosh Thottingal
62d05ed78d Update compact language links icon
Changed the background-size of the icon from 17px to 18px

Bug: T131912
Change-Id: I46977bcfac216b48648ee186ec0fda13f8262a0d
2016-04-19 15:44:14 +05:30
Niklas Laxström
651f8bc1c3 Refactor font repo compiler so it can be reused
Includes changes to the generated repository file
because the script had not been run for last update.

Change-Id: I6b5d1ce980c6e5b42e36c0044729536b6b0ae4dc
2016-04-14 10:12:20 +02:00
Ed Sanders
3cfb0d67e5 Update linting tools, config, and fix subsequent failures
Change-Id: I41e080915441367b3a2ab2de7d7a096872a2f2e8
2016-04-13 17:13:06 +01:00
jenkins-bot
4c5263e3f0 Merge "Fix language undo tooltip not showing" 2016-04-12 11:28:26 +00:00
Santhosh Thottingal
7d90ecef1d Use localstorage instead of cookie for previous language autonym
Change-Id: I1025a8bbb9fad0cfd326547a09c982925a55e55d
2016-04-12 09:40:50 +02:00
jenkins-bot
4ff9e44529 Merge "Remove the years old cookie to localstorage migration code" 2016-04-12 07:11:18 +00:00
jenkins-bot
c73a968840 Merge "Remove browser checks and use MediaWiki browser policy" 2016-04-12 07:06:50 +00:00
Santhosh Thottingal
a29db92746 Remove the years old cookie to localstorage migration code
Change-Id: Icf82e040b7e3f015cb4cbb9b9c7ed4dee240f017
2016-04-12 06:59:12 +00:00
jenkins-bot
5076753448 Merge "Update jquery.ime to 7572e2" 2016-04-12 06:43:19 +00:00
Santhosh Thottingal
64eab95b94 Remove browser checks and use MediaWiki browser policy
We had a browser check to blacklist all browsers older than IE 8
IE <= 7

But that is no longer required since JS support is not there for such
browsers as per https://www.mediawiki.org/wiki/Compatibility#Modern
We can support all modern browsers listed there and we don't need
additional blacklisting now. From 1.27 onwards, there is no JS loaded
for IE 8 too. So we can just use MW browser support policy.

In this commit, the code to do brower checks removed and simplified
the initialization code. Still I am not happy with the interface module,
that need further refactoring.

Change-Id: I655826c55fb2c7c5c88f16368110142d64a96eec
2016-04-12 12:12:35 +05:30
Santhosh Thottingal
28044a6f14 Update jquery.ime to 7572e2
Documentation, code clean ups and build updates

Change-Id: I7ce3d75345b76f2a7693b6143e013b6a8202e093
2016-04-12 11:52:46 +05:30
Niklas Laxström
c0fe2d1a54 Fix language undo tooltip not showing
Test plan:
* Remove localstorage and cookies for a site
* Go the the site
* Change language and observe the undo tooltip

Change-Id: Ibecb5ea1cd537b2f019e7a9aa67ffac1a4e0923d
2016-04-12 08:22:27 +02:00
Santhosh Thottingal
d964a10c83 Add .jsbeautifyrc
Change-Id: Ic9090fea5f0f96bd8461e3e4466d95cfb4e75e8a
2016-04-12 04:42:02 +00:00
jenkins-bot
0bf38c715f Merge "Update jquery.uls from upstream to 40e67f5" 2016-04-11 14:18:53 +00:00
Santhosh Thottingal
3e58259ca7 Clean up ULS localstorage preference saving system
These changes affect anonymous users:
* Old code to restore preferences from jStorage removed
* No cookie used anymore

Bug: T100639
Change-Id: I3cfec447703d9c67cd2310ec4acc5692ad76be8e
2016-04-11 14:45:39 +02:00
Niklas Laxström
7ac7b6dde4 Update jquery.uls from upstream to 40e67f5
* 20d5e4 Some cleanup to the language filter
* bf0c55 Remove unwanted script related code in search method

And l10n updates.

Change-Id: Iad1bcf4dca611e2004d9fdec776dce14a5f669b2
2016-04-11 14:34:19 +02:00
Translation updater bot
6733a951c1 Localisation updates from https://translatewiki.net.
Change-Id: I0aa78485039205199185da6758424228ca21b6ad
2016-04-10 20:09:58 +02:00
Santhosh Thottingal
a3c63f1efc Update ULS settings UI style to mediawiki.ui style
The ext.uls.buttons style can be removed but Translate extension use that.
Once it is separated we can remove it from ULS.

Testplan:
Use ULS settings and notice the style difference of buttons, checkboxes
and radio buttons. No functionality should be affected and UI should not
be broken in any ways.

This was once attempted in Id186ece6513f154e0388bc4170c21bdabb59038a
but we had to revert because of incompleteness

Bug: T52599
Bug: T127020
Change-Id: Ibbb2068b5036537f298fad6c49169a5b986304d5
2016-04-07 12:06:29 +00:00
jenkins-bot
ce6f8734a9 Merge "Correct the position the arrow of selector and add shadow" 2016-04-06 12:16:28 +00:00
Santhosh Thottingal
4f4e0a2427 Update jquery.uls to 7b3cd3d885
* Fix: search using API does not respect the passed language list
* Remove the reference to map block

Change-Id: Id777102a7c8e0575599b27c64839faf170dde003
2016-04-06 15:41:38 +05:30
jenkins-bot
8397cbd9d2 Merge "Resolve language code redirects before using them in ULS" 2016-04-06 09:09:32 +00:00
Federico Leva
6ffd42c07a Resolve language code redirects before using them in ULS
Interlanguage lists can contain language codes that are redirects
in language data of ULS.
For example, sr is a redirect to sr-cyrl.

So, if sr is passes as one of the language to ULS, its region, script
grouping is failing and the end result will be missing them in the ULS
language list. This should be properly fixed in jquery.uls library.
Tracked at https://github.com/wikimedia/jquery.uls/issues/207

In this patch we are following a simple approach of passing the language
codes to ULS as redirect resolved.

Bug: T100002
Bug: T131005
Bug: T126909
Bug: T123834
Change-Id: I8b89edb60b4d2c6f2b25c8589569f748c5523722
2016-04-06 10:42:43 +02:00
jenkins-bot
653ced8193 Merge "Update version before MLEB release" 2016-04-06 07:58:22 +00:00
Santhosh Thottingal
d5f6930cb4 Correct the position the arrow of selector and add shadow
The pointer arrow of the ULS was not aligned with the 'x more' trigger
and it missed shadow. This commit fixes it.

Notably, we replace the old arrow with a box rotated 45 degree so that
we can apply the shadow very easily.

Bug: T130633
Change-Id: I4d36f3ee9fcfea932e10208518a03e7b246a7abe
2016-04-06 09:43:39 +02:00
Kartik Mistry
4dfbcdc1f1 Update version before MLEB release
Change-Id: I17115957cf975bda2d2f7c5716d2941d84710616
2016-04-06 13:07:04 +05:30
jenkins-bot
d013ae5ebf Merge "Update jquery.uls to bd78c24" 2016-04-06 06:53:09 +00:00
Santhosh Thottingal
d728d8c8a7 Remove logging the language selection method
Removed the code to log whether map(removed long time back), search,
common languages used for selecting the language.

This logs were introduced to measure and adapt UI effectiveness.
No longer needed now.

Change-Id: I83bdd250cb6474da4fbf22aed2011071b9f9eba4
2016-04-06 09:59:12 +05:30