Commit graph

783 commits

Author SHA1 Message Date
Timo Tijhof 17bc7c71fa Minor code clean up
Follows-up 92dcd85c9.

* Consistent ordering of 'static' and 'public'.
* Avoid mixed use of '#' and '//' for inline comments.
* Remove redundant isset() around loop over array that always exists.
* Improve documentation of return types.

Change-Id: I40cbdd3e68b9d176f680d6c114f96372cceba414
2016-03-03 17:51:11 +00:00
Ori Livneh 6e14d5999d 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: Ifedb1f82a7b336d1da7d5e51b3afe7d9f3d2d52d
2016-02-21 00:17:58 +00:00
Kunal Mehta 0a575335c7 build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: Ib4aa66c267ab6317b5b3b162b0059761f883e048
2015-12-29 11:32:31 -08:00
Translation updater bot 6a29d74421 Localisation updates from https://translatewiki.net.
Change-Id: Ifda9bef510c8185dc26db065caab1b1acc585118
2015-12-13 22:19:02 +01:00
Reedy b54a588f08 $title is not always defined.
Bug: T68361
Change-Id: I43682f7abc4229504ccb8c7c33527efc65508ff8
2015-12-10 22:51:18 +00:00
Translation updater bot 20e66416aa Localisation updates from https://translatewiki.net.
Change-Id: I8397fd4810a376602375797096eb9b5e6fa56eec
2015-11-19 21:37:22 +01:00
Translation updater bot c2f9f164b7 Localisation updates from https://translatewiki.net.
Change-Id: Ie9671277138184afcbc49dc2dd953b46032fa705
2015-11-14 22:16:55 +01:00
Translation updater bot 77be44b1bf Localisation updates from https://translatewiki.net.
Change-Id: I9cb0ce820adc40da92aaffa6aa48776501b231f9
2015-10-19 22:16:44 +02:00
Translation updater bot f19ae89565 Localisation updates from https://translatewiki.net.
Change-Id: I666e61b9eb698a482bf54d0f9f293d47b058a3f3
2015-10-15 21:31:55 +02:00
jenkins-bot 5758aeef5c Merge "Update indentation to use tabs" 2015-10-12 09:06:00 +00:00
Siebrand Mazeland 21f9268e50 Update indentation to use tabs
Change-Id: Icd1783655040a3445f8bfbde1caec541ea7337b6
2015-10-12 10:12:04 +02:00
Kunal Mehta ae29e1f12c build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: I7e18e829080e67d6fcc38d0d8ab7acfe557cb91d
2015-10-11 11:47:04 -04:00
Translation updater bot 9229fcae47 Localisation updates from https://translatewiki.net.
Change-Id: Ide27eea4da4870abd9ead3f9834534e2d2d2df29
2015-10-04 22:18:31 +02:00
Translation updater bot d4646be522 Localisation updates from https://translatewiki.net.
Change-Id: Ia3f1403b78b730818bcc525d368c3de7d26aad3f
2015-09-20 22:06:40 +02:00
Translation updater bot 77a1eb850e Localisation updates from https://translatewiki.net.
Change-Id: I061677abf37d3737a3168947bfcc7beac0ac3ac9
2015-09-14 22:05:18 +02:00
Translation updater bot 21ba283ab2 Localisation updates from https://translatewiki.net.
Change-Id: I6e4d7c8a4eb70e60b4a3e5c84fd4283614a02ad5
2015-08-11 22:08:30 +02:00
Translation updater bot 25c5431b76 Localisation updates from https://translatewiki.net.
Change-Id: Ibf37de3f4c221fad88a9638ed025a72d6b8c3560
2015-08-10 21:58:56 +02:00
Translation updater bot 3be77960ba Localisation updates from https://translatewiki.net.
Change-Id: I349af9abb231043172a44d636e8678da6b21b0cc
2015-08-09 20:47:16 +02:00
Translation updater bot a30a0968f4 Localisation updates from https://translatewiki.net.
Change-Id: I6312e6b9180c0ceafddda45ae59b842096df0976
2015-07-15 21:40:56 +02:00
Kunal Mehta 743b4c4b57 build: Configure banana-checker and jsonlint
Change-Id: I1cbf23eb3aea2404e664071bef5ede7467869b2a
2015-06-17 12:10:43 -07:00
Translation updater bot 01d3623574 Localisation updates from https://translatewiki.net.
Change-Id: Ia121a8cc4bcfe03bf1e43b77e2dcb843ff1b90cd
2015-06-09 22:46:48 +02:00
Translation updater bot 7a5ec86948 Localisation updates from https://translatewiki.net.
Change-Id: If8c983987d4f314dc3ea7c22c2ffa796597a10b2
2015-06-05 21:05:02 +02:00
Translation updater bot bbceaab573 Localisation updates from https://translatewiki.net.
Change-Id: Ibb555000ac9072d7152e5dce39f305a5ef93cacc
2015-05-30 23:07:56 +02:00
Kunal Mehta 46e72df2c8 Set manifest_version in extension.json
Bug: T100745
Change-Id: Ib55d34a8e7a907a802dbf784470644008444b5bc
2015-05-28 20:40:06 -07:00
Translation updater bot 7e8f554d68 Localisation updates from https://translatewiki.net.
Change-Id: I5641a4f4f62b76ba6d2626fe4300542c3396c7a4
2015-05-24 00:08:05 +02:00
Kunal Mehta df4b7a8fac Add extension.json, empty PHP entry point
Depends upon I9a736a4c0ff73 in MediaWiki core

Bug: T87929
Change-Id: I0ec2d98321b319b4e9e6222b867cc9958dbfe0cf
2015-05-02 23:35:33 -07:00
Kunal Mehta 56470cd3c5 Fix $wgExtensionCredits index
Change-Id: Ie05be8326820d8f3907be29e355642342555d7a5
2015-05-02 23:33:39 -07:00
Kunal Mehta d3a7ce657a Remove i18n shim
Change-Id: I311ba7bfd23810b821ad29e5c41bb3de4df83f6c
2015-05-02 23:33:27 -07:00
Kunal Mehta 4165dd5ae7 Move ParserFirstCallInit hook into static function
Change-Id: Iddaa86a53ad5977e61a0493d48173a8fdd7d3cfd
2015-05-02 23:29:25 -07:00
Translation updater bot cc256601de Localisation updates from https://translatewiki.net.
Change-Id: Ib9ad3d1bc7177f4e0ebcf4679cb1a6e1063411da
2015-03-23 21:55:51 +01:00
Translation updater bot f0d5b85f12 Localisation updates from https://translatewiki.net.
Change-Id: I17b6cafd00e2e2a9bd097ba443edc31ffb815280
2015-02-23 21:56:48 +01:00
Translation updater bot 574944ce62 Localisation updates from https://translatewiki.net.
Change-Id: I27fbf82f04d7c77d18e4e4548f53783c8afa2c37
2014-12-22 22:44:10 +01:00
Translation updater bot 0fa01b661c Localisation updates from https://translatewiki.net.
Change-Id: Ibb7aa486f88c5d008bb9dd9cb289694ef38fbcbb
2014-12-11 23:52:28 +01:00
Translation updater bot 0a55e78817 Localisation updates from https://translatewiki.net.
Change-Id: If735381799c9f8207b6e78780eb963feb64deeea
2014-12-08 23:22:00 +01:00
Translation updater bot 808a7f7b05 Localisation updates from https://translatewiki.net.
Change-Id: Ie65a68076f80114e0df6dc8ad73bba1130c26f8e
2014-12-01 22:22:14 +01:00
Translation updater bot 634ad79b4d Localisation updates from https://translatewiki.net.
Change-Id: I920aa09b8bfb5a90e1cf532246eb6238528603ad
2014-11-24 22:03:06 +01:00
Translation updater bot 57cf7d4d40 Localisation updates from https://translatewiki.net.
Change-Id: I9a19a2285980dba91317dec44efdcc7ed3e58a71
2014-11-15 23:14:17 +01:00
Translation updater bot 3aa2eb7a78 Localisation updates from https://translatewiki.net.
Change-Id: I02fe0ca77b6419c92061e64a2216e18e943241cd
2014-09-20 21:42:17 +02:00
Translation updater bot a82ebec4e6 Localisation updates from https://translatewiki.net.
Change-Id: I0d76fd91f850458350cdfef642ad6e44b20e7fd6
2014-09-13 00:47:06 +02:00
Translation updater bot 4d3b1b6b6b Localisation updates from https://translatewiki.net.
Change-Id: I34e3ff2b5d0aa6ce9c72750fc7ee0ba538b0d5b5
2014-08-09 19:56:33 +02:00
Translation updater bot 09d82956ad Localisation updates from https://translatewiki.net.
Change-Id: I5c4c84a5d181eb818f3355036dfbc74a2de497ce
2014-08-05 21:57:00 +02:00
Translation updater bot 605ffb7c36 Localisation updates from https://translatewiki.net.
Change-Id: I196097ef7c6a2d1b5882d2ab0b2c744a12f02768
2014-07-30 21:58:09 +02:00
welterkj d9676dc4ca Add composer support.
Change-Id: I5d41737028a7337021c48a3c70efeba821d6d0c2
2014-06-24 13:56:26 -07:00
Translation updater bot 9f1f6441eb Localisation updates from https://translatewiki.net.
Change-Id: Ic0334f31851e1144d38d26b07bea953415cf3a6c
2014-06-19 19:28:20 +00:00
Antoine Musso cd635484c9 Introduce a basic parser tests
This change introduce parser tests support for the extension with a
single dummy test case.  That will make it easier to add more tests
later on.

Change-Id: I757f13a3799b771931de8933eb7eabeb3b4b8f8d
2014-06-03 16:00:06 +02:00
Translation updater bot b7ecb304c9 Localisation updates from https://translatewiki.net.
Change-Id: Icfa93751b5cbda95d44e01d1eb98d5c92b738484
2014-05-02 19:50:53 +00:00
Translation updater bot 3c214b1af8 Update i18n shim
A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.

Change-Id: I0ba0fac75cf48f457f5b2281fdcc56521e3c54bd
2014-04-22 13:26:44 +00:00
Translation updater bot 8a5613a0d5 Localisation updates from https://translatewiki.net.
Change-Id: Ie1caca3c9e87d0c4607bfb3da0a118284fa1787f
2014-04-16 15:38:43 +00:00
Translation updater bot fa7a6d40a7 Localisation updates from https://translatewiki.net.
Change-Id: Ia2e92596fe503e492ebdd64f3db76b8b1d026979
2014-04-04 20:23:01 +00:00
Translation updater bot 89da28d332 Localisation updates from https://translatewiki.net.
Change-Id: I3a79302ce4b722a4691ae79f598bbf43b4734850
2014-04-01 19:46:22 +00:00