Commit graph

594 commits

Author SHA1 Message Date
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
Kunal Mehta 9479b86955 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I9d427a9115965011f56520b70b085b5e9fbf5ec8
2017-07-23 00:25:27 -07:00
Translation updater bot e91b5f359b Localisation updates from https://translatewiki.net.
Change-Id: If025ca383b6a261586360b52b27398f4f557db35
2017-07-17 22:48:49 +02:00
Kunal Mehta 706b758704 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I71efb7abb37a71a082653e94eb8c3e65d98a452f
2017-07-01 09:50:37 +00:00
Translation updater bot 104ba2309f Localisation updates from https://translatewiki.net.
Change-Id: Idecb9af749d7ad24e9ff16dc97e0416bb552c4a9
2017-06-25 23:02:37 +02:00
Umherirrender 75e17c0d86 Update php to 5.4
Extension is using short array syntax

Change-Id: I9baa88c8d5d8aecc6b392eed77d00da3bedd73b9
2017-06-21 18:39:22 +02:00
Kunal Mehta b9cf93fbcb build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: I5b967bb44ead65798548e739c09a34a6769e453f
2017-06-20 00:08:53 -07:00
Amir Sarabadani 4d1f4cf81d Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ic4c40ed4fd9418b4172a9464eaed38d0005347d8
2017-06-07 13:58:31 +04:30
Translation updater bot 57abb9894e Localisation updates from https://translatewiki.net.
Change-Id: Ieede820f7cadd9721065fee4b476f7a94fb14b66
2017-06-06 22:32:23 +02:00
Translation updater bot 3ffdc3d1f9 Localisation updates from https://translatewiki.net.
Change-Id: Ic47e25b90d4e0d143d5b62dce4a6701cf0e9db62
2017-06-05 23:01:54 +02:00
Translation updater bot 1965ad07fb Localisation updates from https://translatewiki.net.
Change-Id: I933df239ae45d06ef48132538c45291901b15f4f
2017-06-03 22:35:55 +02:00
Translation updater bot 54f584579f Localisation updates from https://translatewiki.net.
Change-Id: Ib1f29952702e726496af416f91f90abeb283c75c
2017-05-20 22:36:59 +02:00
Nemo bis d1912aeae3 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit 5bb3e995cd.

Change-Id: I27ca66bacdf7c02254a723d0f8e323d871dcbdda
2017-05-19 09:04:47 +00:00
Translation updater bot 5bb3e995cd Localisation updates from https://translatewiki.net.
Change-Id: I3c51eb6126b51baed8331eb8110929eb8f93a167
2017-05-18 22:42:02 +02:00
Umherirrender ac2641cddd Add phpcs and make pass
Change-Id: Ia62022c4a57719bdafb618047490a005e6c373ce
2017-05-17 19:20:32 +00:00
Antoine Musso 6485ec6491 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +02:00