Commit graph

1602 commits

Author SHA1 Message Date
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
Timo Tijhof f583469ece Use mw.Message#text() instead of plain() in wikiEditor.autoMsg()
* Follows-up 6a73d06 by removing the hardcoded SITENAME regex.
* Follows-up 1b797b7f6a which introduced this regression in the first
  place. This is exactly the reason why mw.msg() defaults to format
  'text' instead of 'plain' without transformations.

Change-Id: I7f1b877710fb6baa45b83054d1e30a24979b37b4
2015-12-25 21:33:47 +01:00
Derk-Jan Hartman 95ab425166 Remove non-working {{#special:mypage}} from help
Bug: T44107
Change-Id: Iff987eddfb1fbe6a6ce1c88795b9dc1fd5b47f9e
2015-12-25 20:28:43 +00:00
Translation updater bot bb71139337 Localisation updates from https://translatewiki.net.
Change-Id: Id146b512aabadbecd34919c037e1da66ebc03d72
2015-12-23 22:08:39 +01:00
Translation updater bot b9a60f32ce Localisation updates from https://translatewiki.net.
Change-Id: I24054070a0451f79ae073b9a831c8ef3c7e8e07f
2015-12-22 22:13:31 +01:00
Fomafix 19789d762b Use background-image instead of <img> for toolbar icons
Change-Id: I8af0e2c8585e8d9f6f72133953792eb88a176bcf
2015-12-22 13:36:36 +00:00
2nd-player 6a73d06932 Substitute {{SITENAME}} in the title of dialogs
Bug: T62695
Change-Id: I7e5378b37e66b8b35bb7b3aa2121eea3cbf1defd
2015-12-21 20:03:32 +00:00
Translation updater bot aee1f28c2d Localisation updates from https://translatewiki.net.
Change-Id: I174e64d44db9fb758c04a8807e33a3f8d72414cd
2015-12-20 22:36:53 +01:00
jenkins-bot a73ab354fa Merge "Use mw. instead of mediaWiki. in code" 2015-12-16 20:43:42 +00:00