Commit graph

972 commits

Author SHA1 Message Date
Translation updater bot f8e43bff8d Localisation updates from https://translatewiki.net.
Change-Id: I4c2541c60fa8cbc653de06ec05efe0da7667d689
2018-08-27 22:17:41 +02:00
Umherirrender 760df43e2d Add @covers to unit test
Bug: T195163
Change-Id: If480e39821580195846b47c0126761be92fa1376
2018-08-25 06:03:08 +00:00
libraryupgrader 69701225c3 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: If72e4e96039e8375da7f7918e03a4965b5b2f49f
2018-08-19 16:37:33 +00:00
Translation updater bot 94e1b460fa Localisation updates from https://translatewiki.net.
Change-Id: Ib5b5cc60e067c7ab1042714658eca1b84dd52e6d
2018-08-08 22:14:14 +02:00
Translation updater bot 6d893406f3 Localisation updates from https://translatewiki.net.
Change-Id: I289668f4462c83de99b3601b93e41a584d5bda26
2018-08-06 22:22:37 +02:00
libraryupgrader 54ac4af184 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: Ic30d624822b5228f201e6b4183075bd591e3e675
2018-07-27 19:06:44 +00:00
Translation updater bot 80acc82575 Localisation updates from https://translatewiki.net.
Change-Id: I2404a0fef8579d7dad761275160ea94843492d17
2018-07-16 22:20:21 +02:00
Brad Jorsch 1bdc9aa6bb Replace deprecated ContentHandler::makeParserOptions()
Having a different ParserOptions for each content model isn't feasible
in an MCR world. And the only thing using this was Wikibase, which has
been fixed to do what it needs in a different way.

Bug: T194263
Change-Id: Ib8ed827012c7bd73fcdaa6c0c6edd44869c79f14
Depends-On: I01373b29ee25fa9346c6b0317155be4ccdc8c515
2018-07-11 12:34:25 -04:00
Aaron Schulz f8b957167e Hash the title in "blacklist" cache keys
This avoids "Key contains invalid characters" in some cases.

Change-Id: I720c5e89e38b7da69c87134d1ff51787b4fa5c0c
2018-07-10 12:38:53 +01:00
Jack Phoenix 09ca11cd7c wfMemcKey no more!
Change-Id: I7adcbbc1f198230b3c5b6cf6e8cffb34db6d8c9d
2018-06-28 16:45:40 +03:00
Translation updater bot 10b13e56ac Localisation updates from https://translatewiki.net.
Change-Id: I59f052f9902b4533b540b8899c91826bfe8d89e8
2018-06-27 22:20:23 +02:00
Translation updater bot 6a923f9064 Localisation updates from https://translatewiki.net.
Change-Id: I79063a8719535031f1d5ecd8c87633e6eb166dba
2018-06-11 22:34:22 +02:00
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