Commit graph

843 commits

Author SHA1 Message Date
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
Translation updater bot 46aa09f798 Localisation updates from https://translatewiki.net.
Change-Id: Iee142f94339898d163bf743bf3a23832069a2d6c
2017-10-20 22:52:55 +02:00
jenkins-bot c402dbb3ea Merge "Remove deprecated PHP entry point" 2017-10-18 20:40:29 +00:00
jenkins-bot de987b4286 Merge "Uncomment wfWarn in deprecated PHP entry point" 2017-10-18 20:39:22 +00:00
Translation updater bot 8b2a703664 Localisation updates from https://translatewiki.net.
Change-Id: Iff93a1e189e200abdc78c73a942f183f84b6e548
2017-10-15 23:01:50 +02:00
James D. Forrester ffade0ad22 Remove deprecated PHP entry point
Change-Id: Id4c6b5897b47406082d7398111bdb03bd0b9db1a
2017-10-13 14:12:59 -07:00
James D. Forrester 16af56b057 Uncomment wfWarn in deprecated PHP entry point
Change-Id: Id4c6b5897b47406082d7398111bdb03bd0b9dba1
2017-10-13 14:12:51 -07:00
Brad Jorsch 569b209ce8 Update for deprecation of selectFields() methods
Various selectFields() methods were deprecated in MediaWiki core change
Idcfd1556. This change adapts the extension to use the replacement
getQueryInfo() methods when available.

Change-Id: Ia81bf6a655af800ce8ac19940d851e65746e1f77
2017-10-13 14:57:30 -04:00
Reedy 4ef71c3d88 Remove pre-authmanager code
Bug: T178032
Change-Id: I25e46fb95c2132bc90f417de735d0fd145f3d05b
2017-10-12 01:41:06 +00:00
Translation updater bot 2cb15f551c Localisation updates from https://translatewiki.net.
Change-Id: I868348366ed4e1919a1da69bd706f4562487b145
2017-10-09 23:06:23 +02:00
Umherirrender 77e4b9db61 Improve some parameter docs
Change-Id: I2f2027eb1abec05238f36f111dfc35013aa016e2
2017-10-07 11:15:06 +02:00
Translation updater bot 09f08e8c16 Localisation updates from https://translatewiki.net.
Change-Id: Icee23f4012a812920f4f9e5462039551459b1c6e
2017-10-05 22:54:07 +02:00
Translation updater bot 591261a1e6 Localisation updates from https://translatewiki.net.
Change-Id: I34000a7d78dc284081d4ba3f60bc57b41db0f1b9
2017-10-04 22:54:58 +02:00
libraryupgrader 819e31d416 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I7562a27108030044bdac1cf880ed22e4558f0c83
2017-09-24 05:33:27 +00:00
Translation updater bot 58e875d16d Localisation updates from https://translatewiki.net.
Change-Id: I78038b94ce2443a139cc68d973be7653af6157f8
2017-09-19 23:12:45 +02:00
Translation updater bot 52efab5c53 Localisation updates from https://translatewiki.net.
Change-Id: Idc846ea1e6afd618c9c97e8f94d237adfea22f6b
2017-09-16 23:00:39 +02:00
Translation updater bot 2e8cc1f07b Localisation updates from https://translatewiki.net.
Change-Id: Ib79536d60ead88771b2843a1d2dc249abf93cc49
2017-09-13 22:52:49 +02:00
jenkins-bot f0eb3a83c1 Merge "Avoid directly using EditPage::$mTitle" 2017-09-01 21:44:07 +00:00