Commit graph

1486 commits

Author SHA1 Message Date
Translation updater bot 498f5d464f Localisation updates from https://translatewiki.net.
Change-Id: I87609a0d7b1c972f62e9dc708e41f3a3bbc27790
2016-04-27 22:57:35 +02:00
Translation updater bot b05746f95e Localisation updates from https://translatewiki.net.
Change-Id: I6a2418ba4dce782f0f1809cb440e6e8ecf92a091
2016-04-24 22:38:29 +02:00
jenkins-bot d1bfcb7d5a Merge "Small side-by-side preview improvements" 2016-04-19 15:57:59 +00:00
Translation updater bot e56c7702c2 Localisation updates from https://translatewiki.net.
Change-Id: Ia95ec2e53b601a0868621b6cab85cc093d00308e
2016-04-17 22:21:25 +02:00
jenkins-bot d0703288ee Merge "Add 'Greek extended' to special character list" 2016-04-17 17:28:05 +00:00
Translation updater bot 8a491c77ee Localisation updates from https://translatewiki.net.
Change-Id: I97455a3cb5cadce764546e3c0be70236cfb9950e
2016-04-16 23:16:48 +02:00
Derk-Jan Hartman 6627f2cd94 Small side-by-side preview improvements
- load jsconfigvars
- trigger the hooks for wikipage.content and wikipage.diff
- rvdifftotextpst for diffs
- improve section support

This module is not used within WMF, but has some users amongst 3rd
parties.

Change-Id: I7f0b2de4a984d811ccd94149670390929a6182f6
2016-04-16 00:34:05 +02:00
Ed Sanders 785703b5c5 Add 'Greek extended' to special character list
Bug: T130535
Change-Id: I57634d14b8ada16bd00db0c0333c1fc87d2be28c
2016-04-14 19:58:51 +01:00
Translation updater bot e2cf07f2f3 Localisation updates from https://translatewiki.net.
Change-Id: Ia5928ab9670a0436ec71c3d0fcbb64d35a209337
2016-04-12 23:00:27 +02:00
Translation updater bot 78efb71800 Localisation updates from https://translatewiki.net.
Change-Id: I142b7f0a8b9f0a196aa5113cd41a1bfd894fde57
2016-04-10 20:11:28 +02:00
Translation updater bot 4d9fb41310 Localisation updates from https://translatewiki.net.
Change-Id: I467da663c7418ea7772b0edec65ed938c316ecbf
2016-04-06 23:16:37 +02:00
Translation updater bot 7b5fdcc844 Localisation updates from https://translatewiki.net.
Change-Id: I1e5dc670744295358fba66c498e0d3e365711e35
2016-04-05 23:01:55 +02:00
Translation updater bot 26de1b66b8 Localisation updates from https://translatewiki.net.
Change-Id: I67fda31efb9124f272b5c12015d8dce9787bff89
2016-04-03 23:25:29 +02:00
jenkins-bot c49eba0099 Merge "Fix spelling mistakes and clarify code comments" 2016-04-01 10:50:36 +00:00
Ramunas Geciauskas c277e3eeb6 Stop any other tab animations when clicking on the tab button
When quickly clicking on a tab (the same one or a different one) in the
toolbar the new animation is started immediately even though previously
triggered animations might still be running. This leads to potential
issues as reported in T106993 bug report.
Make sure to stop previous animation first before issuing a new one.
Additionally 'resize' trigger is under racing conditions when
expanding/collapsing tabs, and needs to be invoked explicitly on any
size-change event (cannot rely on the fact that the last issued animation
will trigger last).

Bug: T106993
Change-Id: I874dd7cb9f2fe96e3a6493508cbae4de56f7a6c0
2016-03-31 12:08:07 -04:00
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