Commit graph

910 commits

Author SHA1 Message Date
libraryupgrader 3d22b2da08 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I1f38f4de0001e826cdf8227735bf11505ba69f4f
2018-06-08 07:49:18 +00:00
Translation updater bot 3ae236b19a Localisation updates from https://translatewiki.net.
Change-Id: I40cddbd2f206c07cb0f11d397d6278d4f485635a
2018-05-28 22:42:41 +02:00
libraryupgrader 13843953b5 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: Ibf57deb5d05ebf728ab51e0c80add9ed3f8a3972
2018-05-26 06:34:28 +00:00
Kunal Mehta 9a87cc3c06 Upgrade phan-taint-check-plugin to 1.2.0
Change-Id: Iaefb223d2217762f6fa91a854d0f963270362c07
2018-05-04 19:56:08 -07:00
Translation updater bot 59dedcd16d Localisation updates from https://translatewiki.net.
Change-Id: I8765bf656a3b92b6c57f02255729f2b797ce8e89
2018-04-24 22:22:49 +02:00
Translation updater bot 5dc1102ae7 Localisation updates from https://translatewiki.net.
Change-Id: Ie20ed4a121fe485d5d1232fb9a923fc1317d35dd
2018-04-19 22:14:00 +02:00
Translation updater bot f8604d8e3d Localisation updates from https://translatewiki.net.
Change-Id: I34f858134bedcc300f4cd2173cadc7d47b4cd7bd
2018-04-14 22:14:06 +02:00
libraryupgrader d9fd3d431e build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I2226307005350159681f4222cb88944c0d47c687
2018-04-14 06:41:28 +00:00
jenkins-bot 616fc4249e Merge "build: Updating mediawiki/mediawiki-phan-config to 0.2.0" 2018-04-09 23:04:38 +00:00
jenkins-bot 9785cddb18 Merge "Unbreak and modernize cleanup.php" 2018-04-09 23:04:32 +00:00
Translation updater bot 5426762090 Localisation updates from https://translatewiki.net.
Change-Id: I3db3f1621abacd746facbe26c7eaa3664605d41d
2018-04-08 22:30:25 +02:00
Kunal Mehta 78000caeb5 build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: Id67936feb8d3a14eeb15f515426c8f867fe8a9b9
2018-04-06 10:58:28 -07:00
Kunal Mehta d6f826bd1f Unbreak and modernize cleanup.php
Bumped MediaWiki requirement for usage of Maintenance::fatalError(),
which was introduced in 1.31.

Change-Id: I24446b93d47184907847ed825b42735a74fbddf0
2018-04-06 10:58:25 -07:00
Legoktm b2323e9744 Revert "add extension name in composer.json"
This extension isn't meant to be installable via composer
on purpose. T467 is declined.

This reverts commit 445aaa190a.

Change-Id: Icd2a68ad3ea29dae56e31fa80a86d49f1753cb84
2018-03-29 18:20:22 +00:00
Pierre Boutet 445aaa190a add extension name in composer.json
adding composer name ant type  in composer.json allow to install extension using composer

Bug: T191003
Change-Id: Icd660e72f39210a0f96210b364ee461fb06f813b
2018-03-29 11:30:45 +02:00
libraryupgrader 8ae98f1cb2 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I40ad8542bb4b43b773cb5f742e7170020e15e644
2018-03-29 05:48:29 +00:00
Translation updater bot c631fc43b4 Localisation updates from https://translatewiki.net.
Change-Id: I81c9be8e134ef944a285fcc7cc41d47da165d73d
2018-03-19 22:19:58 +01:00
Translation updater bot d83774c3d3 Localisation updates from https://translatewiki.net.
Change-Id: I006162caaeaa78705d9f4d8684dc53f0981948c0
2018-03-14 22:23:53 +01:00
libraryupgrader 54e063ab33 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I7bb32f902365493ff40e4511a5e8c5a1ec5787b4
2018-03-10 05:14:24 +00:00
Translation updater bot 61f1cf01ce Localisation updates from https://translatewiki.net.
Change-Id: I2be889ba10d4cf626af57a29846f1b221b03d96d
2018-03-08 22:46:11 +01:00
Translation updater bot b707f48e88 Localisation updates from https://translatewiki.net.
Change-Id: I4b73f66fdabbf24a78b0f1d5393c9e685cb025d9
2018-03-06 22:18:51 +01:00
Translation updater bot af5a919fae Localisation updates from https://translatewiki.net.
Change-Id: I8ac74d667983096c34fe0834bba350ee11f388a9
2018-03-01 22:42:03 +01:00
libraryupgrader 19848fe891 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I1a19863ce577f43333d59c95fc76d8459ee05bcf
2018-02-25 11:13:59 +00:00
Kunal Mehta b5f42b8a74 Add phan configuration
Introduce BaseBlacklist::getSpamBlacklist() and getEmailBlacklist()
as type-documented alternatives to getInstance( 'email/spam' ) so we
don't need to keep documentating types in a comment when using a function
that isn't included in the base class.

Change-Id: Ic8bd8f803ddbce1294707d5f1d62b701e24d8c6e
2018-02-24 17:26:25 -08:00
Kunal Mehta ac0204b70a Move classes to includes/
Change-Id: Ica7abee84a4e17c530cb755687849a998068be70
2018-02-24 17:08:28 -08:00
James D. Forrester 7db9b02d52 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: I656e6d009a31baaa24116b191249a36876fd4e99
2018-02-23 18:32:57 -08:00
libraryupgrader d810a60a64 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ibcc0613d40bf440e05c019e9f389a42aa40bb94f
2018-02-18 09:18:20 +00:00
Kunal Mehta 7e4979ec09 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: Iaf8ac7bfde148db48bb0cc83edd2f5e506a9ef06
2018-02-16 13:44:24 -08:00
jenkins-bot 4b42238690 Merge "Fix phan-taint-check false positive" 2018-02-15 16:43:54 +00:00
libraryupgrader 224c283151 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers

Change-Id: Ib50eb7ee5f788682c10c61d417ad78c641d4f991
2018-02-15 14:15:07 +00:00
Brian Wolff b4c45d3597 Fix phan-taint-check false positive
This was causing by echo'ing a value from the database. Since
this script does not use the standard Maintenance class,
phan-taint-check was unable to determine it was a command line
script and thought this was an XSS.

Casting to int caused phan-taint-check to know that the value
was safe, and thus prevents the false positive warning.

Change-Id: Ib786fd591ed50f9b3934efa0c3f06e4c307a81f5
2018-02-15 13:09:49 +00:00
Translation updater bot b9c9af9402 Localisation updates from https://translatewiki.net.
Change-Id: I6ec817f206455d786d31bdb2cdbe40ede993ed9c
2018-02-11 10:42:24 +01:00
Translation updater bot 2f0854792b Localisation updates from https://translatewiki.net.
Change-Id: Ia786fd591ed50f9b3934efa0c3f06e4c307a81f5
2018-01-31 22:20:21 +01:00
Jayprakash12345 06f33d1142 Use SPDX 3.0 license identifier
Bug: T183858
Change-Id: I22c211068bc88ac02a6441a58e8d225eded86422
2018-01-29 05:58:22 +00:00
Kunal Mehta e62376620d Make spamblacklist log viewable by logged-in users by default
The main rationale for keeping this log private is to that scanners and things
don't see a huge list of spammy URLs and treat that website as spam itself.

There's no actual private content in here since the regular expressions are
public, so making it available to all users is fine.

Change-Id: I6da473b7cbac2c6fd507bde5c970d701e5ac249e
2018-01-21 21:37:46 -08:00
libraryupgrader 707262070f build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: Ifc509de2e08331074d040b1f91dd98d651668d7c
2017-12-30 02:42:30 +00:00
libraryupgrader 96e52e9c28 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I4fbea8ecdff3d476361bece257498cc3b76ef84e
2017-12-11 08:30:36 +00:00
jenkins-bot bf64c2ea19 Merge "Fix PageContentSaveComplete WikiPage typehint" 2017-12-08 19:17:49 +00:00
addshore 18ce8287fc Fix PageContentSaveComplete WikiPage typehint
Change-Id: Ib6b6b809e96f32ca460eac62f3295d71363405c6
2017-12-08 19:08:08 +00:00
Translation updater bot 748af58c60 Localisation updates from https://translatewiki.net.
Change-Id: I8cd87397c697b65c725f93afc16b797ade0da27f
2017-11-26 22:50:44 +01:00
Translation updater bot 1d11ce4702 Localisation updates from https://translatewiki.net.
Change-Id: I950c5c54c85d9566fe38a68e972e6c39d42c6d0a
2017-11-18 22:59:20 +01:00
Translation updater bot ee8f728320 Localisation updates from https://translatewiki.net.
Change-Id: I1533303affaa1ae84417784335ec17b034ab48e2
2017-11-15 22:39:05 +01:00
Umherirrender 0bb4cbc792 build: Always exclude vendor
Change-Id: Ia5d61836e3fd1c4813c5510164b3dc13009c2556
2017-11-11 17:05:47 +00:00
Translation updater bot 2b45d384b9 Localisation updates from https://translatewiki.net.
Change-Id: Ibce48bcfc1a9e3bd47d51f8b2caf5af18c1753f5
2017-11-08 22:44:57 +01:00
Translation updater bot 5c86937752 Localisation updates from https://translatewiki.net.
Change-Id: I97f2784640b2fb180f354b37c4cef609222509e4
2017-11-04 22:56:00 +01:00
Kunal Mehta c7399623a2 build: Adding MinusX
Change-Id: I0f673e118deb7c56635c9cf5cb9131ff4361dffc
2017-11-03 19:47:35 -07:00
Translation updater bot 137821ee71 Localisation updates from https://translatewiki.net.
Change-Id: Ib1019bb933bbe5693d65c6f4096f54d804c69357
2017-11-01 23:15:47 +01:00
jenkins-bot e855895171 Merge "Update for deprecation of selectFields() methods" 2017-10-31 05:07:01 +00:00
Translation updater bot 84a21c0cc4 Localisation updates from https://translatewiki.net.
Change-Id: Ibf2d1ad4820b096f9c3c4288803fed5cae626d78
2017-10-29 22:59:05 +01:00
libraryupgrader bce14ce9ee build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: Ieec984dc420f524dfad2e153fd01a77d7c52d705
2017-10-21 04:30:38 +00:00