Commit graph

609 commits

Author SHA1 Message Date
Translation updater bot 4c440a6e14 Localisation updates from https://translatewiki.net.
Change-Id: I894081846dfc69108182b1266494014d202bb0a9
2018-08-09 22:23:50 +02:00
libraryupgrader d0e0ba4fbd build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I8bff1d64b29d76cea2075115d711ee5071fc5cb0
2018-07-27 07:20:29 +00:00
libraryupgrader c6ebc2961e build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: Idead032f5e0860c8d1679f0456ed9c6b559e2d3e
2018-06-08 07:14:09 +00:00
libraryupgrader 19a1919d1c build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: Ie5d7d5b195950f694857635fbb643b2b29cd1662
2018-05-26 03:46:22 +00:00
Brian Wolff 08909bdffa Bump phan-taint-check 1.1.0->1.2.0
Bug: T193909
Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df
2018-05-04 20:39:19 +00:00
libraryupgrader f559507ad6 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I90472946e519962ce6a61d20d3fafa1fb1aa3e2a
2018-04-14 02:53:41 +00:00
Jayprakash12345 a6cb086374 Update extensions to take advantage of parser test autodiscovery
Bug: T170037
Change-Id: I8eae59053930f7621c812c754d5f4fa5314087e1
2018-04-13 15:23:25 +00:00
Kunal Mehta 91b148624e build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: Ic5d7e1bc992a5954c5d7c938fae2066ac078068c
2018-04-05 13:27:40 -07:00
libraryupgrader dc24bcea71 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ie537d9ad3f322e685a5609dd5e54a1cccdb72edb
2018-03-29 03:00:53 +00:00
Translation updater bot db29b8adca Localisation updates from https://translatewiki.net.
Change-Id: I12e7860e8dec49931946d84c9a490c80e7bd0879
2018-03-12 22:25:08 +01:00
libraryupgrader bc0cc30a91 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I47caf9cde98797c0705ca40a8c1f92e0c75635a8
2018-03-09 12:43:36 +00:00
libraryupgrader aa829b1441 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I4aab9229dce7447cb0b9be0eb01292382e243617
2018-02-25 08:55:59 +00:00
Kunal Mehta e9208739b6 Add phan configuration
Change-Id: Ie8aee5326c4217e151dee816bc5a3d6b71bf6aa2
2018-02-24 13:33:36 -08:00
Kunal Mehta 3297749b56 Move classes into includes/
Change-Id: I390b0e09406e61c19e2e3eb9a115327cf013ad3a
2018-02-24 13:10:38 -08:00
Kunal Mehta e94bcd06f0 Don't autoload ImageMap class via composer
There's no need for this since the class is loaded via MediaWiki's
autoloader.

Change-Id: Ia790f4afef22bf3c5a0dbb0b34e33b65277efc15
2018-02-24 13:10:24 -08:00
James D. Forrester 9e5270df22 build: Bump devDependencies to latest
grunt                 1.0.1  →  1.0.2
 grunt-banana-checker  0.4.0  →  0.6.0
 grunt-jsonlint        1.0.7  →  1.1.0

Change-Id: If82d0109e77f4b49b8cb102e067233102f898504
2018-02-23 17:50:35 -08:00
Translation updater bot 6dacfc7787 Localisation updates from https://translatewiki.net.
Change-Id: Ib870a84ad39781292aed8533e73d61ed10bc46f5
2018-02-18 22:40:42 +01:00
libraryupgrader 849cbb2e2d build: Updating mediawiki/minus-x to 0.3.1
Change-Id: If7d4857d0e125bc0c5d3792bf4654ee7aa827b9f
2018-02-17 23:14:58 +00:00
Kunal Mehta 10a7e397a5 Set phan-taint-check-plugin version in composer.json
We cannot set this in the normal "require-dev" because the plugin
depends on exactly PHP 7.0, preventing running tests on any other PHP
version.

Instead, CI will read the version number out of the "extra" field to
figure out what version to install.

Bug: T187497
Change-Id: I5053e8059eb986d5be4b6cd0b0cc4488353d98c5
2018-02-16 13:40:52 -08:00
Brian Wolff b5a5613a3a Do not use raw html i18n messages for errors.
The i18n Error messages should be properly escaped. This is not an
XSS as the none of the parameters to the error message were user
controlled (outside of MW namespace)

This fixes the outstanding errors from phan-taint-check

Change-Id: I0b4d6b5eb3e210a131937e65268091ec83f0b434
2018-02-15 13:47:30 +00:00
libraryupgrader 613872b9ca build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: If14cb5cc50601778b1dd859a43607345e3a08092
2018-02-15 11:58:49 +00:00
Kunal Mehta 8420a0ee09 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I0b4d6b5eb3e210a131937e65268091ec83f0b46c
2018-01-31 23:12:14 -08:00
libraryupgrader 74ab34edcb build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: Ib541fdecc690d18bb78cdfd255041988e4c94921
2017-12-30 00:55:18 +00:00
Translation updater bot 6ccee81f38 Localisation updates from https://translatewiki.net.
Change-Id: I3cecd48af9ee214655afb889cff99ae6c2dfebc9
2017-12-29 10:06:29 +01:00
Translation updater bot 9251dcb6bd Localisation updates from https://translatewiki.net.
Change-Id: I06dca910bd7932a6089de10345d195e93ec68e89
2017-12-23 22:26:58 +01:00
Translation updater bot 8fa1348f25 Localisation updates from https://translatewiki.net.
Change-Id: I7231332d6221de1def3ebe7adc92228714ee5a80
2017-12-18 23:06:33 +01:00
libraryupgrader ed6333dfd4 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: If3d791528dc92bcc640c898df0a19177fd6d86c5
2017-12-10 22:30:47 +00:00
Translation updater bot c0e2a2aa26 Localisation updates from https://translatewiki.net.
Change-Id: I09f3662d5262545fc304aec3175dfcd38e7934c0
2017-12-05 09:40:52 +01:00
Translation updater bot f4d133b3b7 Localisation updates from https://translatewiki.net.
Change-Id: I38c17904ea9673c7f08567b3d9948084fd8c5fc3
2017-11-18 22:46:08 +01:00
Translation updater bot 6a520a6267 Localisation updates from https://translatewiki.net.
Change-Id: Ied0de5b0fcb905e233ed66d478ba66c2f5daed60
2017-11-15 22:26:03 +01:00
Umherirrender 0b1325bc4b build: Always exclude vendor and node_modules
Change-Id: I8018552eb5e44961c0ae0851c9fa075a70525405
2017-11-11 23:49:43 +01:00
Translation updater bot fa8b5fba68 Localisation updates from https://translatewiki.net.
Change-Id: I68c27008bccb951fd59157bee4dab3b1fd74ae23
2017-11-07 22:36:26 +01:00
Kunal Mehta 08c922f5a1 build: Adding MinusX
Change-Id: I28e81c976a1499861e7eae4a35c639f4b9bc8ac9
2017-11-03 16:43:19 -07:00
Translation updater bot 5246e5bd9d Localisation updates from https://translatewiki.net.
Change-Id: I40e2ab5ff3b5e8af39d890ab83ccf0d2f0d3f6db
2017-10-30 22:36:46 +01:00
Translation updater bot 969084a68e Localisation updates from https://translatewiki.net.
Change-Id: I6e4e411931ae9f078ff4b83636452982ed30689f
2017-10-29 22:46:14 +01:00
libraryupgrader 959036c019 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I4e123cbd12020921358a7bca9210ce51f604435a
2017-10-21 04:24:19 +00:00
Karsten Hoffmeyer 2ba1d20fcd Use LIBXML_NOEMPTYTAG to avoid creating self-closing <a> tag
Browsers just treat the self-closed <a> tag as only the open
tag, so anything after the map would become linked.

tidy normally cleans this up, but other wikis without it, or
those using RemexHtml would see this issue.

Fix suggested by Phabricator user Porplemontage

Bug: T136855
Change-Id: I3b00e1a9cbb096afebe37614a79548f64d561e3b
2017-10-16 19:29:28 -07:00
Translation updater bot 85568e99a9 Localisation updates from https://translatewiki.net.
Change-Id: I7217201b3438108175351c17c60821ad387759d0
2017-10-09 22:52:08 +02:00
Umherirrender bca169c836 Improve some parameter docs
Change-Id: I622365d0850d6bd73547c262c61241aa583a120e
2017-10-07 00:39:06 +02:00
Translation updater bot 5260d7cdb8 Localisation updates from https://translatewiki.net.
Change-Id: Ic3d82b889ef318102940ac9a560851a0bdced758
2017-10-05 22:40:21 +02:00
Translation updater bot 40a4715103 Localisation updates from https://translatewiki.net.
Change-Id: Ib13ff41192e5e372dd80e4f754e547a8fb833881
2017-10-04 22:40:26 +02:00
Translation updater bot 1f4e276a4e Localisation updates from https://translatewiki.net.
Change-Id: Ib4c192b1f179d8746dace7d5fe65591d24e125d6
2017-10-02 22:52:09 +02:00
Translation updater bot bfad386968 Localisation updates from https://translatewiki.net.
Change-Id: Iadc2c12da3682dae2c51268353d867767910dfa2
2017-09-25 22:36:04 +02:00
Translation updater bot 32d6b82aaf Localisation updates from https://translatewiki.net.
Change-Id: I5d63af680c35cc2016499cb23c65dbb69e0c129f
2017-09-24 22:42:53 +02:00
libraryupgrader a1096833c1 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I756ab003121de17050937dd2132d653caed693bb
2017-09-24 05:27:24 +00:00
Translation updater bot c5e94b19d0 Localisation updates from https://translatewiki.net.
Change-Id: Ibf712317cd69e74958e3f2d637beafe3e5838211
2017-09-10 22:29:58 +02:00
libraryupgrader c64432ab63 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: Ifa454fa0d596b0c8948d551ef2548a0bd5278a77
2017-09-01 04:51:44 +00:00
Kunal Mehta 122587d584 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment

Change-Id: I9f58d44f225ee06e13ca1d0d2cf9818962050487
2017-08-10 23:48:15 -04:00
Antoine Musso 721c3a50cf build: bump grunt and drop grunt-cli
grunt 1.x now includes a CLI command, hence grunt-cli is no more needed.

Change-Id: I94f0c66236b5f0f12220741276c7fe24a89c65e0
2017-08-01 10:45:33 +02:00
Umherirrender 3fc6f2afb4 Do not die on phpcs run
Loading the php shim with composer autoload on phpcs run breaks phpcs

Bug: T168738
Change-Id: I6577a34fcb3d20f905e7120d39506bffc50b2fa2
2017-07-27 22:04:23 +02:00