Commit Graph

1639 Commits

Author SHA1 Message Date
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
Zeljko Filipin
caf8f11e93 Renamed page
To follow the naming convention.

Change-Id: I81820cb5e877ad5ebf6e2f806fa30c23d04d800a
2014-01-08 15:23:12 +01:00
Reedy
9d94cfad57 Add RailwaysSans font
Not adding as a font option for English, but make it possible to define
the font in css and get the font downloaded from server

Bug: 58203
Change-Id: I968c4c4c3ba35ca53a9762cef0f7c59b374b1f67
2014-01-07 14:56:55 +05:30
Translation updater bot
e22788a59e Localisation updates from https://translatewiki.net.
Change-Id: I2847273474f1992f0a87fb2db6986b0dfd09ad06
2014-01-06 20:08:30 +00:00
Amir E. Aharoni
ce9b6c8dbd When clicking a region, scroll only the list and not the whole page
Bug: 59175
Change-Id: I7b6b53ac01b99c6172830513f25ab51c6a83d919
2014-01-06 12:24:32 +00:00
Niklas Laxström
44a2f4b01c Validate json
Change-Id: Idf01a21c1edccf49854b4c0ed15aefd868e570d2
2014-01-06 10:00:40 +00:00
jenkins-bot
c8bbeb23d7 Merge "Fixing Scheherazade to properly target local font" 2014-01-06 09:14:44 +00:00
jenkins-bot
8a5d0d50ce Merge "Prepare for composer" 2014-01-06 08:39:21 +00:00
Niklas Laxström
38d7c935be Fix alignment issue of ULS trigger
The calculated font-height is about 13.5px on my machine. For some
reason the usage of Autonym font sways the rounding of the container
height to 14px instead of 13px as for other items. I found out that
setting line-height to 1em or 100% makes the trigger size also round
to 13px, but I can't explain why. I didn't see any change in Modern
or Monobook skins (Monobook is broken already with bold and icon
missing).

Bug: 59239
Change-Id: I71ed556f2ef707b7e5f5891d6fc0c88c01f6b0ca
2014-01-06 08:07:24 +00:00
Translation updater bot
d677277a8c Localisation updates from https://translatewiki.net.
Change-Id: I9ea95d25ff9dc4c1b74e4d247442308583c41cfc
2014-01-05 20:14:17 +00:00
Niklas Laxström
f3f61fdbc9 Prepare for composer
Bug: 49121
Change-Id: I7b391cc856ca4526951db409173deb0f1b955c4b
2014-01-05 12:40:00 +00:00
Reza
426e005ca4 Fixing Scheherazade to properly target local font
Change-Id: I790f43d611f33d48c30f56fc95ce5f7d2c1f2f24
2014-01-04 23:08:21 +00:00
Zeljko Filipin
0c461d4b8a Updated Ruby, RubyGems and Firefox
Bug: 56083
Change-Id: I05fdd7226a21d56b3a6912f622bb926e896a1086
2014-01-04 00:20:43 +01:00
Translation updater bot
eb0ddf8a6f Localisation updates from https://translatewiki.net.
Change-Id: I1cfb895ff4acdb8f7f92f6bffecca3b86f553cb8
2014-01-02 20:50:33 +00:00
Translation updater bot
47b5d56074 Localisation updates from https://translatewiki.net.
Change-Id: I858620267e0865463ae1da8cb6ce29fa08f4fc98
2014-01-01 20:00:58 +00:00
jenkins-bot
980713f15f Merge "Update AbyssinicaSIL font to new upstream version" 2014-01-01 04:44:06 +00:00
Amir E. Aharoni
3ea4d83c02 Fix the Malayalam element selector in the live preview test
Change-Id: Ib552b88a8dca096e4b6c1c948e58b5aece52a483
2013-12-31 12:14:51 +02:00
Amir E. Aharoni
e9c4e63bc5 Fix the Autonym tests after the removal of the 'end' class
The end class was removed at
https://github.com/wikimedia/jquery.uls/pull/122

Change-Id: I548df1f14025cac0c4a89401474171d0558ff8b1
2013-12-31 12:03:22 +02:00
Kartik Mistry
34eee436bb Update version date.
Change-Id: I9d189c8e0b37fee21230ea94ca3f9443e4d6958f
2013-12-31 14:23:26 +05:30
Translation updater bot
9bcd879a36 Localisation updates from https://translatewiki.net.
Change-Id: I4b4a8e0648e7f61d54131760a5dde46ef21c8723
2013-12-30 20:02:11 +00:00
Translation updater bot
7f6ef512d6 Localisation updates from https://translatewiki.net.
Change-Id: If6922a19f01a4d4f890c3fe578ed3e864eecf14b
2013-12-28 19:33:20 +00:00
Translation updater bot
f77869498a Localisation updates from https://translatewiki.net.
Change-Id: Ib420e2646302e3915d66a3f82acc6f51044b93cc
2013-12-27 18:37:47 +00:00
Translation updater bot
f06fa4dece Localisation updates from https://translatewiki.net.
Change-Id: Ibfe9e509b022b634f0d6ca36770083f7b2d352a6
2013-12-26 19:41:40 +00:00
Translation updater bot
1146ae2e26 Localisation updates from https://translatewiki.net.
Change-Id: I091506d223a5d0b009ca93dd6ee706cd617dbd45
2013-12-25 20:03:13 +00:00
Translation updater bot
67fb96f791 Localisation updates from https://translatewiki.net.
Change-Id: I159a6a096675c1e001b5f5f3f69e5fba52b2173f
2013-12-23 20:51:39 +00:00
Kartik Mistry
7db07f2d94 Update AbyssinicaSIL font to new upstream version
* Upstream version: 1.500
* Upstream URL: http://scripts.sil.org/AbyssinicaSIL

Change-Id: Ia676001360affbb05985bd865506f03f983fdf07
2013-12-23 17:14:23 +05:30
Translation updater bot
3409a03ce7 Localisation updates from https://translatewiki.net.
Change-Id: Ic54326fb9e56519ab1d2649c7ebe863239e7dc72
2013-12-21 20:42:25 +00:00
Translation updater bot
b1db79c8e8 Localisation updates from https://translatewiki.net.
Change-Id: I2fbff0c9d299f36513f132b90d03df4e2009946a
2013-12-20 20:36:27 +00:00
Amir E. Aharoni
f2355dfd65 Updating from ULS upstream
* Localization updates.
* Added localization for Dutch informal.
* Performance improvements - see
  https://github.com/wikimedia/jquery.uls/pull/122

Change-Id: I6a76097722ae7ab2774172838823d73da5050581
2013-12-20 15:24:41 +02:00
jenkins-bot
ef5fa056e3 Merge "Minor update/additions to OpenDyslexic font.ini" 2013-12-20 05:38:38 +00:00
Translation updater bot
bc921570c0 Localisation updates from https://translatewiki.net.
Change-Id: I283545e2d004eca013d21afea65d690e4f22e9f9
2013-12-19 20:55:14 +00:00
Reedy
363950315d Minor update/additions to OpenDyslexic font.ini
Change-Id: I6c62aab67d363fa6f59428273ab4b171e3e50b43
2013-12-19 18:32:14 +00:00
Santhosh Thottingal
1b3f7dc8ee Make the .jshintrc valid json
Change-Id: I222c5122926fc25f3b3faa7e66d85f32922c4997
2013-12-19 19:00:51 +05:30
jenkins-bot
d867d59fb4 Merge "Disabled Accept-Language feature for PhantomJS" 2013-12-18 23:47:36 +00:00
Translation updater bot
12c8ed4f07 Localisation updates from https://translatewiki.net.
Change-Id: I12d982b89cb9885e3f8168e688a882d0bff20647
2013-12-18 20:27:18 +00:00
Zeljko Filipin
aeaeb2bc47 Disabled Accept-Language feature for PhantomJS
Until PhantomJS is upgraded to version 1.9.2 Accept-Language feature
will fail:

https://integration.wikimedia.org/ci/job/mwext-browsertests-UniversalLan
guageSelector-phantomjs/95/console

Change-Id: I7e923189f3cdcb95fe94d93d0bdf78488f7435c4
2013-12-18 14:46:13 +00:00