MW ULS uses its api to load the localization. Avoid the conflict with
i18n.load method. Directly use the i18n message stores load method
Bug: 61990
Change-Id: I7ea7e7fc31a0831ae2b2c4b4301fbe81109fdf9d
All Jenkins jobs will fail until this commit is merged:
https://wmf.ci.cloudbees.com/view/uls/
Bug: 61778
Change-Id: Idc36a03291497fefa8aa4464004f423c7a07c90e
These tests fail because no Wikimedia has webfonts
enabled by default.
This will be addressed more thoroughly by rewriting
the tests to support the new setting, and by enabling
the feature by default on a new testing wiki.
Change-Id: Id197e0b2535097cf5e583e51427ca6130839e1ff
This is supposed to be addressed more thoroughly in
I5c7433b917b8d7f79f706a4a7a97a6c6a9a6afa2
but until that is merged, they shouldn't run and cause failures.
Change-Id: Ie4e96f2cb0846b9117a26e9bfd902bbcab04eafd
This will fail because webfonts are currently disabled by default
on all Wikimeida wikis.
When a suitable wiki for running these tests will be created,
we'll make this feature run there.
Change-Id: Ia51c5d12bcd49621e85c83166faf855e3476bf5f
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Optimize all SVGs.
* Bug 60815: Add rwr and ota to the languages supported by ULS.
* Drop -moz-linear-gradient for images.
* Localisation updates from https://translatewiki.net.
Change-Id: I3455db4ec0b9ffd8f0a29d41e8ef56309e9c59d2
Passed with svgo 0.4.2 <https://github.com/svg/svgo>, then prepended
'<?xml version="1.0" encoding="UTF-8"?>' prolog to each file since
svgo sees it fit to remove it and that breaks file type detection.
svgo truncated all numerical values to a maximum of 3 decimal places
of precision.
Applied some additional optimizations by hand (with a text editor or
in Inkscape).
Did not touch upstream-managed SVG files, will submit separate
patches for them.
File size changes:
* cog-sprite.svg: 2,520 → 1,253 bytes – 50.3% smaller
* cog.svg: 17,961 → 1,154 bytes – 93.6% smaller
* display.svg: 2,591 → 1,053 bytes – 59.4% smaller
* help.svg: 1,790 → 674 bytes – 62.3% smaller
* input.svg: 5,515 → 2,092 bytes – 62.1% smaller
* remove-input.svg: 5,956 → 2,208 bytes – 62.9% smaller
Total: 36,333 → 8,434 bytes – 76.8% smaller
Details:
* cog-sprite.svg:
* Use <defs> and <use> instead of duplicating the path data.
* cog.svg:
* Vacuumed defs with Inkscape, there were weird leftovers there.
* input.svg:
* Simplified the shapes.
* remove-input.svg:
* As above. Reused the same path data with a transform to improve
compression when embedded.
Bug: 56292
Change-Id: Iad1771829ba2711e4827befc1c73e34453734640
After seeing this wrong color dozens of times while testing svg
icons on high zooms, I can't stand the slightly different color of
the border for the caret from the rest of the ULS dialog. The border
of ULS is transparent with 0.2 alpha component over the background,
in this case I just hardcoded the resulting color here to match.
Change-Id: Ib2b2801f51ea02d2788d8703e3410eca9b3a57a3
mediawiki_selenium 0.2.3 let us specify the destination of screenshots
via SCREENSHOT_FAILURES_PATH env variable.
Change-Id: I199ce712f7e062bac613c66ac5fdcd5a83d3422f
Upstream: https://github.com/wikimedia/jquery.ime
Changes:
* Bug 53695: For languages with no input methods, set
"use native keyboard" by default.
* Add Venetian input method.
* Drop -moz-linear-gradient
* Apply /* @embed */ pragma to all images, not just the topmost in each
block.
* Validate the input method id in load method.
Change-Id: I05f8350003227e150948670caf919f05a2b00f88
* This avoids warnings like: line 8: cd: /tmp/jquery.ime:
No such file or directory.
* Formatting fixes.
Change-Id: Icbc3f6f80314cae3ea9b5dfdc3e66c59af225621