Commit Graph

1674 Commits

Author SHA1 Message Date
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
Kunal Mehta
ad9caf32be Add user preference to enable ULS
Adds an option, 'enable-uls' for users to enable ULS. By default
it is enabled. Wikis can use $wgHiddenPrefs to prevent users from
disabling ULS.

Bug: 46306
Change-Id: I71b70d8ee7c3cad7f49b32e5dc494ef4fc1bdb2f
2014-01-21 02:46:01 -08:00
Fomafix
d50ca14543 Encode URL parameter
Change-Id: I2eaf564b35624c8441cb8f54f6ab166f5d1762a2
2014-01-21 07:18:03 +00:00
Kartik Mistry
9c40252a72 Update jquery.i18n from upstream
Upstream: https://github.com/wikimedia/jquery.i18n
Changes:
 * Support fallback loading when folder is passed as source to load
 * Do not overwrite existing messages for a locale while adding messages
   second time
 * Fix the country code case issue
 * Renamed jquery.i18n.messages.js to jquery.i18n.messagestore
 * ULS: Updated Resources.php for renaming of jquery.i18n.messages file

Change-Id: I60a6e3224cb7b8ea813a8ccd7e389071b3d1244c
2014-01-21 10:20:57 +05:30
Translation updater bot
4b3f2a9f10 Localisation updates from https://translatewiki.net.
Change-Id: I8e8c2963935eb644eb1c7cff3439d4f6cc318f20
2014-01-20 20:27:46 +00:00
Santhosh Thottingal
89892f7f0e For IE, do not use salt for tofu detection
Adding salt won't work for IE since it uses a tofu with small width
for unassigned code points. From tests, algorithm without salt
should be enough for IE.

Change-Id: If39e6c49d272fa67f60c19f1af64f1fb71856bcd
2014-01-20 18:46:29 +00:00
jenkins-bot
dc24784190 Merge "Detect tofu before applying any default fonts" 2014-01-20 17:33:04 +00:00
Santhosh Thottingal
1113786330 Detect tofu before applying any default fonts
To detect whether the client can render a given string,
use a tofu detection algorithm.

If the user has an explicit font preference, do not override it.

If the user has no preference and there is a default font for a
language, see if that language can be rendered at the user's browser
using tofu detection.

If tofu is detected, apply the font.

If the element has 'autonym' class, apply Autonym font only when
that language has tofu.

Change-Id: Ib9ee9497e6bcfa7eb86f7d264e0980d8880d6b70
2014-01-20 22:20:58 +05:30
Translation updater bot
16562e6581 Localisation updates from https://translatewiki.net.
Change-Id: Ia4dfb59abb24906fcf289f7a9d9fcc89c69d8c6e
2014-01-19 20:20:56 +00:00
Ori Livneh
f7066d4d2a Apply /* @embed */ pragma to every image, not just the topmost in each block
/* @embed */ is scoped to the rule immediately below it, not the entire block.

Change-Id: I862b01e6bb70a53904b8264872f08d1bc1b073c1
2014-01-17 19:21:52 -08:00
Santhosh Thottingal
6d8a889f79 Test a conservative sans-serif font-stack with Autonym font
To check how it renders in different platforms.

Change-Id: I5cf7b2e53a0f711fef32014cb72f7f4850857ac7
2014-01-15 17:18:14 +05:30
Santhosh Thottingal
61e1f95a4c Wait till rendering thread completion before applying webfonts
So that the fontfamily values are always 'seen' by the webfonts jquery
plugin. Missing this was causing incorrect behavior -overriding the
fontfamiliy from css- in random cases.

The stylesheet ext.uls.webfonts.css define font family values for
interlanguge links and autonym class. This patch make sure that that
css values are read by jquery.webfonts while deciding which font to
apply. Autonym font is supposed to be used for them. If jquery.webfonts
does not read that these elements has a font family defined in css as
"'Autonym', sans-serif", it will attempt to apply fonts as per user
preference or default fonts based on lang attribute. That will cause
applying bigger fonts.

jquery.webfonts does not apply any fonts, if an element has explicit
font family value defined by inline css or by external style sheets.

Bug: 59958
Change-Id: I2da436caa618bc2318e20e3c0492a6bf1c03e162
2014-01-13 08:58:00 +05:30
Amir E. Aharoni
5f57b41101 Update ULS from upstream
Chuvash localization

Change-Id: I50b73d0f50fe6c5e71799d51bd3ddbcf0baa78c5
2014-01-12 15:57:11 +02:00
Translation updater bot
23c961e4ba Localisation updates from https://translatewiki.net.
Change-Id: I076955b0ee0365d7fd3281c7d1e684c7d3919b3d
2014-01-11 22:27:07 +00:00
Kartik Mistry
0b1197026a Set defaultrebase=0 in .gitreview
Change-Id: I17a81f68916a949b221fd63b2523dde699294d80
2014-01-10 10:07:04 +05:30
Translation updater bot
bd2639c588 Localisation updates from https://translatewiki.net.
Change-Id: I63e35515b56e74fc3f7ff16586942c05f8800ec8
2014-01-09 20:30:01 +00:00
Translation updater bot
9c67e6de47 Localisation updates from https://translatewiki.net.
Change-Id: Iccd9813c4c542c3d9d83375569d5e71f57d7bee1
2014-01-08 20:38:44 +00:00