Commit graph

1510 commits

Author SHA1 Message Date
Translation updater bot 2a6a48ae0d Localisation updates from https://translatewiki.net.
Change-Id: I6109dcbba4ee74b9aa970259d898fc6a1a27ce16
2016-03-01 22:05:47 +01:00
Translation updater bot a5684f37c4 Localisation updates from https://translatewiki.net.
Change-Id: Ifde9acaf015f36115449bb40a9a7ff492ab32efc
2016-02-28 22:01:18 +01:00
jenkins-bot a9aeec920d Merge "Revert "Compress PNGs with zopflipng"" 2016-02-28 00:29:33 +00:00
Legoktm c950e0a53f Revert "Compress PNGs with zopflipng"
This reverts commit f50c6d0bb7.

Change-Id: I62e486f949bf0940e109ae5b1dabe098cbcb4c67
2016-02-28 00:07:54 +00:00
Translation updater bot 4c7e477862 Localisation updates from https://translatewiki.net.
Change-Id: Id018436b680c47e03f0a11529e8acca74231c7b0
2016-02-25 22:22:33 +01:00
Derk-Jan Hartman cfb3d25117 Only load a page/booklet once
Bug: T126138
Change-Id: Ib4b2b76b115026df12a7d9cc3c30b7559c2580e4
2016-02-22 23:21:21 +01:00
jenkins-bot c1acfd639f Merge "Remove loading spinner" 2016-02-21 21:11:23 +00:00
jenkins-bot a1184765e6 Merge "Use formatversion=2 for API request" 2016-02-21 20:59:39 +00:00
Fomafix ce96b0c72e Remove loading spinner
Since e8d37102 the loading spinner is not visible, because all actions
relating to it are in the same render step of the browser.

The loading occurs fast enough now, that we also don't want to show an
intermediate spinner.

Change-Id: Id2a3584deed2ecde807d8f354341dd6868b10009
2016-02-21 20:57:44 +00:00
Ori Livneh f50c6d0bb7 Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: I56c6870e86f9b359fc8c025caf6917560ebb606b
2016-02-21 02:04:49 +00:00
Ori Livneh 77f5499cfc Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: Ic0aa0017f97411a282b54d51217a019871a93433
2016-02-21 00:44:19 +00:00
Translation updater bot 3ebaeed254 Localisation updates from https://translatewiki.net.
Change-Id: Ibbbeec003e0c58c2c267198c1b646f1783e556bd
2016-02-17 22:52:45 +01:00
Translation updater bot 32c823edda Localisation updates from https://translatewiki.net.
Change-Id: I4ae053c30c91e3550cefd23719011a597ef7e0a7
2016-02-12 22:12:45 +01:00
Translation updater bot 117fd941f5 Localisation updates from https://translatewiki.net.
Change-Id: I8391a1e42c0c3e5ab105982effeac88f7a6017c1
2016-02-10 21:12:13 +01:00
Translation updater bot 9df5996f16 Localisation updates from https://translatewiki.net.
Change-Id: I374cd771d709ce8632272cde1e68aa0214ade8c3
2016-02-08 22:18:15 +01:00
Fomafix d7d2b65487 Use formatversion=2 for API request
With formatversion=2 the JSON response uses UTF-8 instead of escape sequence
with hex for encoding of non-ASCII characters (e.g. "\u00e4" for "ä").

The JSON response from formatversion=2 has some structural improvements.
This allows a simplification of the processing of the response.
The parameter indexpageids= is not necessary anymore.

Change-Id: Ic08c8ba46b7529952c0fb2f04564b458b55112fd
2016-02-08 11:49:17 +00:00
jenkins-bot 2b1f18f773 Merge "JavaScript: Use single quotes instead of double quotes for strings" 2016-02-07 23:28:40 +00:00
Translation updater bot 917882b72e Localisation updates from https://translatewiki.net.
Change-Id: I0fa10d1a19e3200d282b6fbdedd48baec1d621be
2016-02-07 22:23:37 +01:00
Fomafix 3d103f09b5 JavaScript: Use single quotes instead of double quotes for
strings

* This avoids escaping of double quotes.
* Exceptions: "''" and "'''"
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Quotes

Set "validateQuoteMarks": { "mark": "'", "escape": true } in .jscsrc
This tests for single quotes but allows double quotes to avoid escaping.

Change-Id: Ibd32a63c4c97a7ef8938c6d2dff83b952cfca43e
2016-02-07 18:22:06 +00:00
Fomafix 0b5c23d42b Use .prop() instead of .attr()/.removeAttr() for boolean HTML attributes
https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Pitfalls

Create elements according to
https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Creating_elements

Change-Id: I14a7f6e8d2c0a43b89d0d186398a4fea76b7d362
2016-02-07 14:22:56 +00:00
Translation updater bot 7b744caef4 Localisation updates from https://translatewiki.net.
Change-Id: Id6d086bcd564774ec3e2abb6cbc94309c777b5b4
2016-02-02 21:33:43 +01:00
Translation updater bot 7fea479694 Localisation updates from https://translatewiki.net.
Change-Id: I74b7a8ef44807f1e05debc19468f19f2e5fec282
2016-01-30 22:51:10 +01:00
Translation updater bot a0f918a36e Localisation updates from https://translatewiki.net.
Change-Id: Ida3dc7d2586244a38a074b9447ca7e9b4a98a45d
2016-01-29 22:44:19 +01:00
jenkins-bot e0a384f7f6 Merge "Use boolean values for .prop() on boolean HTML attributes" 2016-01-29 10:26:43 +00:00
Translation updater bot a2a4e37219 Localisation updates from https://translatewiki.net.
Change-Id: I311f2f57bc69a58419642f5da6cf6c3d8bfe7c38
2016-01-27 21:46:54 +01:00
Translation updater bot e283c7136a Localisation updates from https://translatewiki.net.
Change-Id: Iec583a734a90c8e78344c4e4e710d6cfceeb1b36
2016-01-24 21:22:53 +01:00
Translation updater bot 5c3598acfc Localisation updates from https://translatewiki.net.
Change-Id: I61507eaaaf9caa85653bf7211e81634faca65d67
2016-01-23 22:31:15 +01:00
Translation updater bot 85b656e255 Localisation updates from https://translatewiki.net.
Change-Id: Ic9b46f79310d9504c7857b01cb2851ef33b9e53d
2016-01-18 21:38:43 +01:00
Translation updater bot 86465a988d Localisation updates from https://translatewiki.net.
Change-Id: I7de8eb76a41d2196861c111c09c292de480f4793
2016-01-17 22:36:17 +01:00
Translation updater bot d0f6a8fb45 Localisation updates from https://translatewiki.net.
Change-Id: I14399695def6bc9a5c8a31fef9238376a76e6686
2016-01-16 22:00:14 +01:00
Fomafix 7d8b6a1ab6 Use boolean values for .prop() on boolean HTML attributes
.prop() expects a boolean value. .id() returns a boolean value.

Change-Id: If3dc6197f9dded92e99faeaa33e31dc937ebf66f
2016-01-15 12:43:37 +00:00
Translation updater bot 8280065442 Localisation updates from https://translatewiki.net.
Change-Id: I2c05f337a1da1602dcc5dce227dfa9a7f886b674
2016-01-11 22:55:42 +01:00
Translation updater bot 6a8fccf5a0 Localisation updates from https://translatewiki.net.
Change-Id: If6c0303ad633cee18040f631e7a4b0c36917fc1b
2016-01-10 23:15:43 +01:00
Translation updater bot 14d5dfe744 Localisation updates from https://translatewiki.net.
Change-Id: I6a254e8fce1559cb6a2fed7d26542d90e0a06adc
2016-01-07 23:39:38 +01:00
jenkins-bot 60d9feb204 Merge "Use background-image instead of <img> for toolbar icons" 2016-01-07 19:35:23 +00:00
Translation updater bot 12ed529409 Localisation updates from https://translatewiki.net.
Change-Id: Ia9cfc11939194ecd6fb942151eedb00041dd9f1a
2016-01-05 22:31:46 +01:00
Kunal Mehta e39943c539 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I5023ae6b1b02565af7700340a202df58b5a19423
2016-01-05 10:43:16 -08:00
Translation updater bot 5923601005 Localisation updates from https://translatewiki.net.
Change-Id: I0ba3d8d997c064c9e9cc2e61f0be5627ff30343e
2016-01-04 22:39:05 +01:00
Kunal Mehta 062eb19fda build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: I26001a5f07350fc74e74b07d129a797388c39cc3
2016-01-03 18:56:09 -08:00
jenkins-bot 3ec6604d3a Merge "Fix qqq description of i18n message" 2016-01-01 19:36:21 +00:00
Translation updater bot 0579b65957 Localisation updates from https://translatewiki.net.
Change-Id: Ibc4f954cc0e4903231201d16c23e8940f5392dac
2016-01-01 20:08:01 +01:00
Translation updater bot 15911f95ef Localisation updates from https://translatewiki.net.
Change-Id: I4ecd0b887f557ba3df1d3e6a04790c10a171cef7
2015-12-30 21:47:09 +01:00
Kunal Mehta 609fad7ad0 build: Updating development dependencies
* grunt-jsonlint: 1.0.6 → 1.0.7

Change-Id: I80bc77c65f940472d4ae698a2dcbb69a46dee525
2015-12-29 12:06:03 -08:00
Derk-Jan Hartman 0141c73ba8 Fix qqq description of i18n message
Follow up to: Iff987edd
Bug: T122555
Change-Id: I77abd12963a96de7689b73c07da8a343f8aa550a
2015-12-29 08:13:55 +00:00
Translation updater bot 97cac4cbfd Localisation updates from https://translatewiki.net.
Change-Id: Ie6d49ec58739bdab167601a8c2e8187627f89783
2015-12-28 21:05:55 +01:00
jenkins-bot af564f288b Merge "Add format-bold-Iab image for lang ce" 2015-12-28 09:15:22 +00:00
jenkins-bot 6b6109e222 Merge "Use mw.Message#text() instead of plain() in wikiEditor.autoMsg()" 2015-12-28 08:42:09 +00:00
jenkins-bot d581a7d203 Merge "Remove non-working {{#special:mypage}} from help" 2015-12-28 04:32:15 +00:00
Paladox 38d28d5631 Add format-bold-Iab image for lang ce
Also use the icon for Chechen. Also requested by Bug: T119716

Add these icons for lang ce

png

https://commons.wikimedia.org/wiki/File:Toolbaricon_bold_%D3%80%D0%B0%D1%8C.png

svg

https://commons.wikimedia.org/wiki/File:Toolbaricon_bold_%D3%80%D0%B0%D1%8C.svg

This was requested at
https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A4%D0%BE%D1%80%D1%83%D0%BC/%D0%A2%D0%B5%D1%85%D0%BD%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9#.D0.9F.D0.B0.D0.BD.D0.B5.D0.BB.D1.8C

Bug: T119716
Change-Id: I4b41aa53138eae660ebeb9b1d9f6f547cfcca7a4
2015-12-27 20:54:23 +00:00
Translation updater bot 17c00bfc09 Localisation updates from https://translatewiki.net.
Change-Id: Ifa40aba4d2737b2f8b133519be0bbf8a850faef9
2015-12-25 21:56:23 +01:00