Commit graph

1721 commits

Author SHA1 Message Date
Ramunas Geciauskas ddda9c0c13 Fix spelling mistakes and clarify code comments
No functional changes

Change-Id: I395f97640931d7902cb468d62187d6d8fd10c0b7
2016-03-31 10:28:32 -04:00
Translation updater bot f9db4bdf6b Localisation updates from https://translatewiki.net.
Change-Id: If975626912a53e00ced14debfb0957a22fabe84b
2016-03-28 22:47:16 +02:00
Translation updater bot c61a996919 Localisation updates from https://translatewiki.net.
Change-Id: I384b731d30712eb7beead35872e433d8ef8396bc
2016-03-21 23:37:33 +01:00
Translation updater bot 57da027c34 Localisation updates from https://translatewiki.net.
Change-Id: I969e321dffd020aa67765a908e07b89aae5a6d77
2016-03-18 22:45:41 +01:00
Translation updater bot a873ea8659 Localisation updates from https://translatewiki.net.
Change-Id: Ic0017201627dabe166f218b7995ac5c60b288389
2016-03-15 23:06:30 +01:00
Translation updater bot d857db6b32 Localisation updates from https://translatewiki.net.
Change-Id: Icd6ad3d9206fe1cd5c763c806aa4ace5a2db3198
2016-03-14 22:56:15 +01:00
Translation updater bot 556a3d8a67 Localisation updates from https://translatewiki.net.
Change-Id: Ibb62c18b8c060c9370a806921435d87d86cddc41
2016-03-13 22:58:41 +01:00
Translation updater bot 4afff747cf Localisation updates from https://translatewiki.net.
Change-Id: Idfced2e48fe8f051fdcb705f000e7e100b345605
2016-03-12 21:14:50 +01:00
Translation updater bot 44524c913d Localisation updates from https://translatewiki.net.
Change-Id: Ifaabc9c4b1e51afc59c650199d65bfef75a1e697
2016-03-11 22:19:25 +01:00
Translation updater bot 0b784d8c7b Localisation updates from https://translatewiki.net.
Change-Id: Ia84ebf26ffa9cb46a80476fe66f89cdb9a848f52
2016-03-10 22:32:05 +01:00
Translation updater bot 624296cebf Localisation updates from https://translatewiki.net.
Change-Id: I111509e113a379d4063efe69a7c9cae600ed7a1c
2016-03-06 22:19:08 +01:00
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