Commit Graph

1310 Commits

Author SHA1 Message Date
Zfilipin
0994ae1d95 Merge "Refactored scenario: Edit area fonts should not change on UI language change if the user preferences for edit area font are set" 2013-11-13 09:12:58 +00:00
jenkins-bot
f677fa2ff5 Merge "Page scrolls when opening language selector" 2013-11-13 04:43:39 +00:00
Niklas Laxström
7822d5d03b Page scrolls when opening language selector
Was happening mostly on Firefox when ULS was in personal
position and you were logged out and allowed to change language.

Loading grid here already prevents graphical glitch and delaying
the click seems to prevent scrolling to wrong position.

Bug: 56937
Change-Id: Ie9acaa5a46fd903221d30c94dbc26a83355cdb64
2013-11-12 12:50:31 +00:00
jenkins-bot
4c6229e9ba Merge "Revert "Do not load jquery.jStorage for logged in users"" 2013-11-12 12:48:51 +00:00
Nikerabbit
2bc77f2c18 Revert "Do not load jquery.jStorage for logged in users"
This reverts commit 5884337c9f.

Change-Id: Icfdfd89059a417a6aaea30d12164e7174dd5f58b
2013-11-12 12:47:56 +00:00
Kartik Mistry
aef4909616 Update Autonym font (20131112)
* Fix rendering of Telugu.

Bug: 56841
Change-Id: Ia43e404ed67346b65e9344c4fb7ae655ed303558
2013-11-12 16:30:26 +05:30
jenkins-bot
601ff3bc60 Merge "Do not load jquery.jStorage for logged in users" 2013-11-12 10:43:57 +00:00
Niklas Laxström
5884337c9f Do not load jquery.jStorage for logged in users
Change-Id: Ibe77962cecd6aa8504aa60d5d2b8d17a56e1319f
2013-11-12 10:40:59 +00:00
Translation updater bot
037984a67f Localisation updates from http://translatewiki.net.
Change-Id: I206fa486d412fdc649f1736ad203f8da999bae86
2013-11-11 20:20:04 +00:00
Amir E. Aharoni
bb250efea1 Cleanup wgULSLanguages usage
Change-Id: I15cb10f97ed39b18fdfb1bc2ce51d02374fe9c43
2013-11-11 18:14:55 +02:00
jenkins-bot
c804d0dcd9 Merge "ResourceLoaderULSModule::getModifiedTime updates continuously" 2013-11-11 11:12:17 +00:00
Niklas Laxström
bd52ae0538 ResourceLoaderULSModule::getModifiedTime updates continuously
Fix is simple: cache the hash of content per language

Added PHPUnit test for the same

Bug: 56856
Change-Id: I590b27af220d6e790c70728062d1a04c098b3d11
2013-11-11 16:12:07 +05:30
Amir E. Aharoni
97c79ec668 Fix incorrect module name
Follow up to Ic33ef034c794a523b5403867196c6098a58eb5b1.

Change-Id: I15c9e58b24bf4f43ac58f065ed42614df59e638f
2013-11-11 12:39:20 +02:00
jenkins-bot
2f9bb2fcd5 Merge "Remove the dependency on uls.data" 2013-11-11 10:22:49 +00:00
Amir E. Aharoni
b0d905a554 Refactored scenario: Edit area fonts should not change on UI language change if the user preferences for edit area font are set
Started in a pairing session Amir and Željko, ended in session Niklas and Željko.

Change-Id: I30ef2b41cfdceda04818f16f06e0071c487b90b6
2013-11-11 10:22:17 +00:00
jenkins-bot
b98bea93ba Merge "Lazyload jquery.uls library" 2013-11-11 10:10:39 +00:00
Amir E. Aharoni
b23f937cb7 Remove the dependency on uls.data
Change-Id: I9fa103ee7d338ed8ea2032c82249a47d022d2c90
2013-11-11 09:56:55 +00:00
Santhosh Thottingal
f5ce066c80 Lazyload jquery.uls library
In the "interlanguage" position ULS is shown after 2 clicks,
so don't load it initially.

In the "personal" position ULS is shown immediately after
the language icon click, so load it, but conditionally.

The new RL module ext.uls.mediawiki is added for setting
jquery.uls defaults in a way that will lazy-load the language names.

Change-Id: Ic33ef034c794a523b5403867196c6098a58eb5b1
2013-11-11 14:13:02 +05:30
Santhosh Thottingal
6cd178359e Update jquery.ime to latest version
Version: v0.1.0+20131111
Changes:
* Optimizez icon images

Change-Id: I221c064c47cece276b8f9760fae7dce0e3bd4160
2013-11-11 11:14:38 +05:30
Kartik Mistry
8b0eeda699 Fix URL for Autonym font.
Change-Id: Ia7e87364a7498e396ce0363978860446a7f367f1
2013-11-11 10:10:45 +05:30
Santhosh Thottingal
8430ac8833 Simplify the test code - create autonyms dynamically
Change-Id: Ie71963cb28a6346155dba065480be9601d48dea9
2013-11-10 11:36:48 +05:30
Santhosh Thottingal
42deb56323 Update jquery.i18n from upstream
Upstream: https://github.com/wikimedia/jquery.i18n
Upstream changes:
* Fixed a potential js error because of wrong logic
* Fixed some JShint errors
* Added license and credits files
* Updated gitignore file
* Fixed uk and ru grammar rules and updating tests
* Source code formatting updates

Change-Id: I43433cc3d9993045160dc85ed9e73370d22794cf
2013-11-08 16:08:54 +05:30
Kartik Mistry
fca6e1b17b Update jquery.uls from upstream.
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
1. Optimize png images with optipng -o7
2. Optimize language icon SVG
3. Optimize the search and worldmap svgs
4. Localization updates.

Change-Id: Ic921b31830b0d7a1424d9d663924e92b9c5268f1
2013-11-08 15:21:57 +05:30
Pau Giner
7e50cae662 Optimize Cog sprite SVG
Reducing the size of the SVG by:
- Simplifying the shape (two anchor points removed)
- Removal of XML attributes not needed (namespace declarations not used, attributes with the default value, etc.)

Change-Id: I3dc810313d1bd9ebd5933a92ee90210cbf6f4fb4
2013-11-08 08:52:55 +01:00
Santhosh Thottingal
9dd4072d3d Avoid a js error when inputsettings are saved.
It happens when input settings are accessed directly while display
settings are not initialized. While saving the display settings
will not be rendered, causing a js error

Change-Id: I3ef1afe67a6bcdc3047b482d697bc03baab6ac47
2013-11-07 13:58:06 +00:00
Santhosh Thottingal
7e787c0fc5 Avoid bigger fonts being default for languages
* Avoided Amiri being default font for ar
* Avoided CharisSIL, DuolosSIL being default fonts for
cdo, nan respectively

The change is because of the bandwidth efficiency concerns. Also
Arabic being widely supported language, having defaut font is not
must.

Change-Id: I657d08ded26f25342d18483f6c5a0393f625001b
2013-11-07 12:22:51 +00:00
Santhosh Thottingal
dfc40c8f59 Refactor the css for interlanguage links and autonym class
Move it to a seperate css file ext.uls.webfonts.css so that the RL
modules are more granular and clear.

Also get the @font-face css for Autonym font get ready on page load
so that the font applied automatically to any future elements on page.

Change-Id: Icb76df5baedaba8ab613d665a1be923779a6b9e7
2013-11-06 20:51:26 +05:30
jenkins-bot
caa2852aa9 Merge "Avoid grid overrides in jquery.uls" 2013-11-06 07:11:49 +00:00
Santhosh Thottingal
01acd4cc94 Avoid grid overrides in jquery.uls
Updates jquery.uls from upstream

Change-Id: I0009039aa9a71bb61f5f62ed4de10d83838d9abf
2013-11-06 07:11:14 +00:00
jenkins-bot
a049e25962 Merge "Refactor ime lazy loading" 2013-11-06 04:46:57 +00:00
Niklas Laxström
193f69b017 Refactor ime lazy loading
* Do not load anything unless input field is focused
* Split the setup function to smaller functions
* Introduce $wgULSImeSelectors to allow configuration and avoid
  duplication of selectors in two places.

Change-Id: If5a476e66681dde9f0b72f619d35ddf6255246ac
2013-11-05 16:48:47 +05:30
jenkins-bot
5365bc4ab5 Merge "Add autonym class to the buttons displaying language" 2013-11-05 09:43:51 +00:00
Santhosh Thottingal
27f356d1f6 Add autonym class to the buttons displaying language
Change-Id: Iade66179acd46835099e015d73c01349526f80ec
2013-11-05 15:00:12 +05:30
Santhosh Thottingal
2b31b242f9 Add autonym class to ULS trigger
Change-Id: I1c613988d399e2ee38ba5d1f1fa8ad5747f7da15
2013-11-05 14:54:15 +05:30
Translation updater bot
39faf1a72e Localisation updates from http://translatewiki.net.
Change-Id: I62dfb90252ff17955bb8c101f5010178dd12bb27
2013-11-04 20:01:23 +00:00
jenkins-bot
d74e35cf61 Merge "Update Autonym font to latest version(20131104)" 2013-11-04 15:37:10 +00:00
jenkins-bot
a273159434 Merge "Remove the Autonym font from the lib/jquery.uls" 2013-11-04 15:34:55 +00:00
jenkins-bot
5fd8e1bd47 Merge "Correct the path to the font in test file" 2013-11-04 15:34:32 +00:00
jenkins-bot
894d9c8fba Merge "ResourceLoader Module for serving json based localization messages" 2013-11-04 15:31:43 +00:00
Santhosh Thottingal
76e82e4a9c ResourceLoader Module for serving json based localization messages
ApiULSLocalization is still present since we have to provide live
language preview feature.

Moved the loading of json file to includes/JsonMessageLoader.php

Also moved all RL modules to includes folder.

Bug: 56509
Change-Id: Ic39dec1c484982fb07edd167e83794c0b5f470ee
2013-11-04 14:59:14 +00:00
Santhosh Thottingal
1f42e3a982 Update Autonym font to latest version(20131104)
Release: https://github.com/santhoshtr/AutonymFont/releases/tag/20131104
Changes:
* Remove Tamil GSUB rules, use GPOS alone
* Autohint Latin glyphs
* Dont strip hints for eot format
* Glyph simplifications and misc cleanup

Bug: 56552
Bug: 56346

Change-Id: Ib2014e0606983dbf33391e479f96c75fab79075f
2013-11-04 20:28:06 +05:30
Santhosh Thottingal
e00df28903 Correct the path to the font in test file
Change-Id: I134be7f625464ab3d895535cc18d19930e67e447
2013-11-04 14:37:02 +00:00
Santhosh Thottingal
5aa1198417 Remove the Autonym font from the lib/jquery.uls
Followup I10b8658e29c03b136b4475c4c69ace33e5628a98

Change-Id: I25992159fd5b999cfa0e4861196850d36eb5890e
2013-11-04 20:02:16 +05:30
jenkins-bot
269dd1a6c0 Merge "Define autonym css class" 2013-11-04 11:03:12 +00:00
Zeljko Filipin
47d5bda290 Updated to the new version of mediawiki-selenium gem
Needed to fix security problem with passwords being visible at Jenkins
machine.

Change-Id: Id828486113804bdc9e4afeba50d74c11bbb57d57
2013-11-04 11:26:49 +01:00
Zeljko Filipin
ed2ee05ff9 Updated to the latest version of mediawiki-selenium gem
Change-Id: I60ad73add189a496d2ec92fa16f137d288d38770
2013-11-04 10:27:49 +01:00
Santhosh Thottingal
7d49a9ca42 Define autonym css class
Follow up: I10b8658e29c03b136b4475c4c69ace33e5628a98 and
I48b0cc4a19c3ddd8d00f585faf31046d8ba6bf9c

Define this class in MW ULS since jquery.uls removed this class
definition

Change-Id: I5e52feb6a53362378b382b06727ac6e671e0f91a
2013-11-04 12:19:44 +05:30
jenkins-bot
03dabe1681 Merge "Delay loading of jquery.uls.grid until needed" 2013-11-04 04:06:03 +00:00
Ori Livneh
35bbceb384 Set max-age to 2419200 (one month) for action=ulslocalization API calls
I specified one year as the desirable value on the bug, but one month is
probably saner since we're still hammering out the details of how to deliver
this data.

Bug: 56509
Change-Id: I4e3664f953e25b2c01b9c1f75d3aa27ef7e3af4f
2013-11-02 11:45:15 -07:00
jenkins-bot
f373659150 Merge "Cleanup comments and whitespace" 2013-11-01 17:23:16 +00:00