Commit Graph

1790 Commits

Author SHA1 Message Date
Translation updater bot
2059501b04 Localisation updates from https://translatewiki.net.
Change-Id: Ie98d4c3a6e7e95f863fb5dc52522fd7630fc8e02
2014-02-10 20:50:39 +00:00
Amir E. Aharoni
7627358fb4 Prevent JSON parsing errors
Bug: 61137
Change-Id: I2df6b6108bb7834b927205d3b6afa69354cecaf7
2014-02-10 15:25:37 +02:00
Kartik Mistry
1de86b4ba7 Fixed year in version
Change-Id: I06ad3251b91b00dc93a1fdf2a1d97ff7b9cc18f6
2014-02-10 18:54:02 +05:30
Kartik Mistry
b3a30c3e28 Update version and copyright year
Change-Id: I8ee6d6f53d24eceabf36f17c7e85e34f6034de0d
2014-02-10 18:50:03 +05:30
jenkins-bot
ab83208b60 Merge "Encode URL parameter" 2014-02-10 12:38:32 +00:00
Santhosh Thottingal
1c3a935ef0 Try to restore the old preferences, if any, if possible
Preferences were saved using jStorage. The browsers which ULS supports now
have wide native support for local storage, so we removed jquery.jStorage
in I09b2bd52972.

The old local storage key was 'jStorage' as put by jquery.jStorage. We now
check if that key is present. If so we migrate the preferences and remove
the old key to save space. We are not aware of anything else using this
module.

Change-Id: I995a32c4cb7a3bc818fe255f92dbc972211cb112
2014-02-10 17:52:04 +05:30
Santhosh Thottingal
e21c221e2b Use localStorage, fallback to cookie, remove jquery.jStorage RL dependency
As per comments in I22613d9f6846db5456beb532cec47396fccda8ae

Change-Id: I09b2bd52972d9aef20dd469c556631e0299bc407
2014-02-10 12:11:13 +00:00
Santhosh Thottingal
27771fdeaf Restore enableWebfonts pref and remove uls-enable
This patch restores the enableWebfonts preference, stored inside
the uls-preferences blob. It existed as 'enable-webfonts' in
the past and was removed in
If735a733717596fae03042c5e277bd538bd8501f

Each wiki can be configured to load the fonts by default
using the new global variable $wgULSWebfontsEnabled.
Its default value is true (to load fonts).

This also removes the preference 'uls-enable', recently added in
I71b70d8ee7c3cad7f49b32e5dc494ef4fc1bdb2f

The initialization of ext.uls.webfonts.js is changed as well,
so that minimal webfonts JS library code is loaded,
and the rest is loaded only if a user requests it.

Bug: 60304
Change-Id: I49e812eae32266f165591c75fd67b86ca06b13f0
2014-02-10 17:40:30 +05:30
jenkins-bot
7b376a80c8 Merge "Fix remaining strings not participating in live language preview" 2014-02-10 06:56:34 +00:00
jenkins-bot
9a5a1d909f Merge "Remove duplicate code and add todo" 2014-02-10 06:54:11 +00:00
Translation updater bot
d3c1495550 Localisation updates from https://translatewiki.net.
Change-Id: Iec0190b7ef4d4f95660acd83b32b950f89a60576
2014-02-09 20:17:46 +00:00
Timo Tijhof
c6d71015ff Various clean up
Files:
* Consistently have one (1) new line at EOF
  (.gitignore, *.css, *.sh)

JSHint:
* Separate the common (general Wikimedia code conventions) from
  the local more stricter rules (nice work!).

Maintenance:
* Use simplified $IP definition where getenv is only called once.
  Based on http://git.io/ve-mw-36fc3b59-makeStaticLoader

JavaScript:
* Use the same closure in all files:
  - No need for "undefined".
  - One linebreak between license header and start of closure
    (sometimes there were 1 or 2 empty lines).
  - ext.uls.ime.js: No need for "document" (redundant in general,
    but especially as it wasn't used anywhere in this file).
  - Use "$, mw" for all ext.* modules (one of them used "mw, $").

Change-Id: Iba5dab14bbc3fbfc9f8fe96dd2d95529587a69aa
2014-02-08 00:11:50 -08:00
Cmcmahon
4081163aa5 Merge "Normalize the font-family name in browser test" 2014-02-07 16:18:21 +00:00
Zeljko Filipin
de11d83b6f Renamed mediawiki-selenium Ruby gem to mediawiki_selenium
Bug: 60820
Change-Id: I5fb2db6b2da94b0554e324b39de631b4117be7eb
2014-02-07 13:38:57 +01:00
jenkins-bot
135507f8dd Merge "Replace Xerxes with Artaxerxes" 2014-02-07 08:50:59 +00:00
Kartik Mistry
473dc8536a Normalize the font-family name in browser test
Bug: 57101
Change-Id: I01a787f8576e309d313219bd560ce4be4469c438
2014-02-06 21:07:52 +05:30
Niklas Laxström
41d6ee2f44 Remove duplicate code and add todo
Found while looking at bug 47974

Change-Id: I7d4ef165e36e96cb6a61880a3413d8883c51c7fd
2014-02-06 17:09:08 +05:30
jenkins-bot
516095e43b Merge "Set tooltip load timeout later than collapsible navs" 2014-02-06 09:11:42 +00:00
Kartik Mistry
abd130ed64 Set tooltip load timeout later than collapsible navs
Load tooltip at 700ms on page load to give enough time for collapsible
navigation to finish altering sidebar layout.

Bug: 51170
Change-Id: I8c7666a51ffe68007c4aadb4e72aa668d0fe6164
2014-02-06 09:11:02 +00:00
Translation updater bot
4c7286ae2e Localisation updates from https://translatewiki.net.
Change-Id: I6ecd225b50b92cb1e8c5d1f05f087a78e2c800a6
2014-02-05 21:43:52 +00:00
Translation updater bot
35ced612e1 Localisation updates from https://translatewiki.net.
Change-Id: Ic605d8ec8740c62e756b87d401fab815daea942c
2014-02-03 21:23:21 +00:00
Translation updater bot
2e54d8100c Localisation updates from https://translatewiki.net.
Change-Id: I47a400f8c277e33e7e061abdbc8acf466f8504c7
2014-02-01 19:47:44 +00:00
Reza
d81e5b762f Replace Xerxes with Artaxerxes
Xerxes is not passing OpentypeSanitizer check per
https://bugzilla.mozilla.org/show_bug.cgi?id=964696 that is why it won't work
as web font on Chrome and Firefox. This is its derivation to fix the issue.

Change-Id: I619e0c3ecb882ee91d46b36bf65a143bd8647d2f
2014-02-01 20:00:24 +05:30
Niklas Laxström
9fb8c3fdf0 Fix remaining strings not participating in live language preview
Change-Id: Id2dc9279e4bfae499a6e8b00a34a74c5505512b2
2014-02-01 11:22:30 +00:00
jenkins-bot
021060309d Merge "Add Iranian Serif, Iranian Sans Bold, remove Amiri from fa" 2014-01-31 16:27:44 +00:00
jenkins-bot
086ad49f6a Merge "ci and default profiles are no longer needed" 2014-01-30 12:32:57 +00:00
jenkins-bot
5b093cf2c0 Merge "Moved Sauce Labs browser configuration to mediawiki-selenium Ruby gem" 2014-01-30 12:26:51 +00:00
Kartik Mistry
938eb0685c Typo fix in README file
Change-Id: I5139217afd75efa8452abc6e8d910d73782a51be
2014-01-30 17:49:15 +05:30
Zeljko Filipin
22198ba467 ci and default profiles are no longer needed
Bug: 56085
Change-Id: If3e66ee47a5cef700e6a3f3699ef8b969837cd6d
2014-01-30 13:10:32 +01:00
Translation updater bot
ebf2cd1acd Localisation updates from https://translatewiki.net.
Change-Id: Iaf3058467a0a9b9d515b024edb69d54148f956ef
2014-01-28 21:24:25 +00:00
Zeljko Filipin
0390c0b534 Moved Sauce Labs browser configuration to mediawiki-selenium Ruby gem
Bug: 56085
Change-Id: Ib3807bf61292beafb51faef307d0abd67c960995
2014-01-28 18:54:16 +01:00
Reza
33713a1d69 Add Iranian Serif, Iranian Sans Bold, remove Amiri from fa
* Adding Iranian Serif and removing Amiri is per this request-url which is added also:
  https://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%D9%86%D8%B8%D8%B1%D8%AE%D9%88%D8%A7%D9%87%DB%8C/%D8%A7%D9%81%D8%B2%D9%88%D8%AF%D9%86_%DB%8C%DA%A9_%D9%82%D9%84%D9%85_%D9%88_%D8%AD%D8%B0%D9%81_%D9%82%D9%84%D9%85%DB%8C_%D8%AF%DB%8C%DA%AF%D8%B1
  but adding Iranian Sans Bold is for sake of completion like Amiri
* All EOTs and WOFFs are built/rebuilt using latest sfnttool

Change-Id: I3c0220395b22eaeebc355c0b857a7444c6e14662
2014-01-28 14:44:57 +00:00
Translation updater bot
a5019231e9 Localisation updates from https://translatewiki.net.
Change-Id: Ia5eb4c541fbfec7e722b47730181a4909a807bf4
2014-01-26 16:27:28 +00:00
Niklas Laxström
7c28df5125 Add ext.uls.messages as dependency for ext.uls.mediawiki
Turns out the messages for language selector were not loading
in Special:MainPage. This fixes that as well as cleaning up the
dependencies.

Change-Id: Ice8dcf1b2e878a0fe3cd0e002a9b1cff2f1901dd
2014-01-25 00:53:47 +00:00
Santhosh Thottingal
219b222c34 Remove the license string from the font repository
Saves 2KB

Change-Id: Ifc4add09a00b1906fad60185f95d0691915d9c94
2014-01-25 00:00:21 +00:00
jenkins-bot
366c1c7648 Merge "Avoid loading of jquery.i18n and messages until trigger clicked" 2014-01-24 21:42:49 +00:00
Translation updater bot
b376669813 Localisation updates from https://translatewiki.net.
Change-Id: Ia3f3e44d30d25c21a60816101140e5201c089c49
2014-01-24 20:14:11 +00:00
jenkins-bot
0d42e34122 Merge "Move a pending step to the end to get more passing steps" 2014-01-24 00:09:34 +00:00
Niklas Laxström
15b3c31029 Avoid loading of jquery.i18n and messages until trigger clicked
Use RL for trigger tooltip messages to avoid using jquery.i18n just
to display the triggers. Reordered dependencies so that messages
are loaded for the setting panels and ime menu.

Change-Id: Ic9518f7b63699542deb02a413e03c28344c99fa4
2014-01-23 23:35:27 +00:00
jenkins-bot
349720854b Merge "Remove redundant title attribute for ULS trigger" 2014-01-23 22:21:39 +00:00
Niklas Laxström
6f4148ca5e Remove redundant title attribute for ULS trigger
It is unconditionally overwritten some ten lines after

Change-Id: I048673fbcb5d2a489a673284405822a148764e22
2014-01-23 22:12:05 +00:00
Niklas Laxström
c7edc4db7e Remove -moz-linear-gradient
This does not have much effect on the gzipped payload, but it still
makes the modules look big and (I assume) take space in the local
storage.

This prefix is not used by current versions of browsers, so the only
change is that some users with old browsers get bitmap images instead
of vector images.

Instances where -moz-linear-gradient is used with colors were left in,
as were the instances in upstream libs.

Change-Id: I1515c53955467eb21c8ed70e46aecc61ab4718c2
2014-01-23 21:55:25 +00:00
jenkins-bot
9df061c692 Merge "Refactor the css so that embedded images are optimally loaded" 2014-01-23 21:34:52 +00:00
Translation updater bot
be480fd084 Localisation updates from https://translatewiki.net.
Change-Id: Ic72e02a83afca0b09d16865a051eda593bdd73f1
2014-01-23 20:21:26 +00:00
Santhosh Thottingal
81c4dfe848 Refactor the css so that embedded images are optimally loaded
Change-Id: If19d20fb22afafbf62c355394dcda825a0151ac6
2014-01-23 16:48:18 +00:00
Amir E. Aharoni
cf3f1564c5 Move a pending step to the end to get more passing steps
Change-Id: I2bfd0ed60838cc4f75b1e3340aabe7654bebb9ff
2014-01-23 14:50:01 +02:00
Amir E. Aharoni
50eb932756 Add .bundle/ to .gitignore
Change-Id: I43d88cbfce71fbd5f57002a78efb6e898717cfe4
2014-01-23 13:13:34 +02:00
Amir E. Aharoni
5796a742ca Clarify the comment according to the variable name
Change-Id: Ie196339c26737f86d31a2a258123049901dcf7c6
2014-01-22 22:27:10 +02:00
Translation updater bot
5b76ca81e6 Localisation updates from https://translatewiki.net.
Change-Id: I685b3df78fa73389fa637b5f4603b3c59e5d8a4e
2014-01-21 19:54:19 +00:00
Kunal Mehta
7071db6ede Make ext.uls.mediawiki depend upon ext.uls.init
With the user preference now enabled, we can no longer
assume that ext.uls.init will be loaded on every view.

This also fixes integration with the Translate extension.

Bug: 46306
Change-Id: I05c76e478ddcfb29000471dc79ca35ce77ad59b8
2014-01-21 17:45:01 +00:00