Commit Graph

1287 Commits

Author SHA1 Message Date
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
Amir E. Aharoni
25a95bc760 Cleanup comments and whitespace
Change-Id: I7597c590a59ada855d759615fbb1675c3bcfe461
2013-11-01 15:53:20 +02:00
Kartik Mistry
15b9226f07 Unify font license abbreviations.
1. Updated license abbreviations in font.ini
2. Removed duplicate license file in Suwannaphum
3. Corrected license for some fonts
4. Added licenses/LICENSES file to note license related issues and
abbreviations

Bug: 53281
Change-Id: Ia3aa6396cf5197c6baaff716d27682dd23b7674e
2013-11-01 18:19:13 +05:30
Niklas Laxström
0423290ec3 Delay loading of jquery.uls.grid until needed
Change-Id: I790333ac03a4103bed757867acfd1b44a7e00525
2013-11-01 11:39:28 +00:00
Santhosh Thottingal
65d1b3e27f Use Autonym font in webfonts repository
This was served from jquery.uls. But jquery.uls does not contain
the font now, but only provides and example usage with Autonym font

This also make sure consistency in font serving in terms of URLs,
caching etc.

Change-Id: I48b0cc4a19c3ddd8d00f585faf31046d8ba6bf9c
2013-11-01 12:39:42 +02:00
jenkins-bot
c4dfc91eaa Merge "Move button styles to separate module" 2013-11-01 10:10:49 +00:00
Santhosh Thottingal
c197309810 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Reduce data size of uls language data a bit by using unescaped unicode
* Move the autonym font to example instead of making part of jquery.uls
* Use attr and prop consistently in jquery.uls.lcd.js
* Remove unnecessary object instance from jquery.uls.lcd.js
* Avoid 'recalculate style' by changing classes conditionally while
scrolling the language list
* Remove non-existing "-ms-linear-gradient"
* Localisation updates

Change-Id: I10b8658e29c03b136b4475c4c69ace33e5628a98
2013-11-01 09:57:48 +00:00
Niklas Laxström
3d3152df8e Move button styles to separate module
Removes 8 KiB from *uncompressed* initial payload

Also added missing dependency to jquery.cookie to ext.uls.init

Change-Id: If0e30d3822fa7db317d53a0a58051295da0ec0e6
2013-11-01 09:52:30 +00:00
jenkins-bot
1114384c19 Merge "Update MiriamCLM font." 2013-11-01 04:41:01 +00:00
Kartik Mistry
2235ec33d4 Update MiriamCLM font.
Update to version 0.130
Upstream: http://culmus.sourceforge.net/

Change-Id: If406670936497d678cc0cd278e5f9e0253e18d92
2013-11-01 10:04:46 +05:30
Translation updater bot
fd56692404 Localisation updates from http://translatewiki.net.
Change-Id: I8f2721140550d81180bbde3e0b0381a9e4c278df
2013-10-31 20:23:23 +00:00
Niklas Laxström
967683c98e Refactoring Input method menu is not offscreen
Change-Id: Iff83160eb6c99d6109098e431341240a21274665
2013-10-31 13:47:04 +02:00
jenkins-bot
135d1bc2b7 Merge "Refactor Sticky input methods" 2013-10-31 11:42:09 +00:00
jenkins-bot
2977164665 Merge "Rebuild OpenDyslexic eot and woff files from ttf using sfnttool.jar" 2013-10-31 09:31:22 +00:00
jenkins-bot
5b6ecdc0a0 Merge "Autonym font integration tests." 2013-10-31 04:38:48 +00:00
Kartik Mistry
ccbef283cd Autonym font integration tests.
Change-Id: I2fbedbf3b93c4410cc9fc765c3f4795d7986bf04
2013-10-31 10:02:56 +05:30
Reedy
33ca6d47ee Check if compile.php target directories exist, exit if not
If it's not run from the correct directory, a spew of warnings appear

Add done message and also one if not running on the CLI

Change-Id: Iec508acf4216aba7d084bb57156b87bfb117ff4a
2013-10-31 03:32:09 +00:00
Translation updater bot
0473d83937 Localisation updates from http://translatewiki.net.
Change-Id: I747494355a0842c4cdc9944d89ab1fba77cfb21f
2013-10-30 19:37:50 +00:00
Reedy
421236533e Rebuild OpenDyslexic eot and woff files from ttf using sfnttool.jar
Change-Id: I0f36a90f7e821cd739e600fc9ac3a01b82c41064
2013-10-30 17:52:05 +00:00
jenkins-bot
987cdde839 Merge "Update order of CSS properties" 2013-10-30 12:22:54 +00:00
Niklas Laxström
3398a949e3 Refactor Sticky input methods
Change-Id: I20ee4e7b90ec9aaa3155fe2e357cf04388d0994c
2013-10-30 11:50:13 +02:00
jenkins-bot
95ebe24cab Merge "Add BoldItalic OpenDyslexic fonts" 2013-10-29 17:09:05 +00:00
Siebrand Mazeland
0ef08f0d92 Update order of CSS properties
Bug: 56138
Change-Id: I1fe0fbf2c33a45d7b67378d0f74b5ea8425b446b
2013-10-29 17:42:48 +01:00
Reedy
0442540318 Add BoldItalic OpenDyslexic fonts
Change-Id: I8a0ca946c05f3173bb051d26f0d8936bee484407
2013-10-29 16:04:01 +00:00