Commit graph

1286 commits

Author SHA1 Message Date
jenkins-bot d073bcd4a5 Merge "Fix items from code review" 2018-04-13 17:40:25 +00:00
Cindy Cicalese 1b237ddcee Fix items from code review
- ReplaceTextHooks:
  - Add $wgReplaceTextUser to UserGetReservedNames hook
- ReplaceTextJob:
  - Use RequestContext::importScopedSession
- replaceAll script
  - Fix summary message to use plain()
  - Fix summary message to correctly handle file-based replacements
  - Remove extra newline injected in file-based replacements

Bug: T191546
Change-Id: Ib0d7f5922761aa2fd01f989e4a0ffb7f281c2ae3
2018-04-12 12:37:49 +00:00
Kunal Mehta b7ef1e72e3 Fix @license tag on replaceAll.php
The license header added by Mark uses the standard "GPL v2 or later"
file header but had an inconsistent @license GPLv3. Since the rest of
this codebase is GPL v2 or later, I assume the @license tag added
was incorrect.

Change-Id: I17579f032bc4ab4c0d44d9c3d9094d52446ac484
2018-04-11 19:17:47 -07:00
Cindy Cicalese 3c36f7452a Update CI files, dir structure, remove inline JS.
Bug:T191546
Bug:T191919
Change-Id: Ia7ed03a98972262d164fd131bcb84994ad279c7f
2018-04-11 17:21:08 +00:00
Cindy Cicalese 267fcf5e17 Added CSRF check.
Bug: T191546
Change-Id: Ib6a951152db222b6289b9b8d09608dfe75ed2de2
2018-04-10 22:03:17 +00:00
Translation updater bot 3043f77cf1 Localisation updates from https://translatewiki.net.
Change-Id: If2b8d38f41cbdc9fab922f372174b3b5b644a9b2
2018-04-08 22:30:22 +02:00
Translation updater bot a313c3c848 Localisation updates from https://translatewiki.net.
Change-Id: I08909095a7aee8218436994018b656083e208b37
2018-04-05 22:22:33 +02:00
Yaron Koren cf7ece5637 Version 1.4
Change-Id: Ife12b49096f10be0069cc35061d52bea23bf8dce
2018-04-03 17:31:23 +00:00
Translation updater bot d0a1c038aa Localisation updates from https://translatewiki.net.
Change-Id: Ifc775a9098a87b7f537c23baf500402ed19829c8
2018-04-02 09:48:47 +02:00
Translation updater bot 0083049e20 Localisation updates from https://translatewiki.net.
Change-Id: I5f2226d5df47ccf0804bad7e1680ab056527f187
2018-04-01 09:39:09 +02:00
Translation updater bot 65fa0be835 Localisation updates from https://translatewiki.net.
Change-Id: Id30920e678cbad4c349023492deb0538def19352
2018-03-31 09:22:34 +02:00
Translation updater bot d59cd167c8 Localisation updates from https://translatewiki.net.
Change-Id: I2ebfef4ee0e55d5ecaf24d04a60da200958cd780
2018-03-30 09:34:54 +02:00
libraryupgrader 301b74fcd4 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

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

Change-Id: Id1c06f59d040ed42e06ae1cfddb40dff6159475f
2018-03-29 05:30:54 +00:00
jenkins-bot c98eeabcb9 Merge "Another follow-up to ee7ac78ca7ff" 2018-03-29 01:39:09 +00:00
Translation updater bot 06a6736d79 Localisation updates from https://translatewiki.net.
Change-Id: Ie849bb1e9a9d4795379db6036ce6f257bdea37cf
2018-03-28 22:23:15 +02:00
Yaron Koren 961f73a2f1 Another follow-up to ee7ac78ca7
Change-Id: If703118d2cef3c9f92267b06b2236f7db374d1d8
2018-03-28 18:09:35 +00:00
Yaron Koren 6a4ec820e8 Slight message change
Change-Id: Ib3d8b63d7b63e8a003a411ead22723a356e4f26f
2018-03-28 17:10:17 +00:00
Translation updater bot b0a283a2db Localisation updates from https://translatewiki.net.
Change-Id: I0ad7a00dcc649a5b842d17336c2d439054faf0ba
2018-03-27 22:09:53 +02:00
Mark A. Hershberger ee7ac78ca7 Add option to not send enotifs on replacetext
On a wiki with thousands of users and an edit that affects thousands
of pages, ReplaceText should be able to make mass changes wihout
sending out a bunch of emails (which would then result in a bunch of
complaints from fairly active users with a long watchlist).

This adds a checkbox to disable emails.  This is done by telling
MediaWiki not to update the RecentChanges page since email
notifications are sent when the RC page is updated.

Bug: T177291
Change-Id: I119506e697a7f8e6bdda92183c098a2e733d6d3d
2018-03-27 16:29:17 +00:00
Translation updater bot a1d43bf629 Localisation updates from https://translatewiki.net.
Change-Id: I3fa15a67f986e224b83c9b442810a1af9e9c19bc
2018-03-26 22:19:24 +02:00
Translation updater bot 388380f4dd Localisation updates from https://translatewiki.net.
Change-Id: I43231ae43fb5222d972b3c5ce11a581a3dd35635
2018-03-22 22:09:04 +01:00
Reedy 44fecf5fc5 Replace SpecialPage::getTitle() with SpecialPage::getPageTitle()
Change-Id: Ic04461a1737dbd3c81a2fe099024677ab05cf4e9
2018-03-15 21:42:53 +00:00
libraryupgrader 081eed2ed7 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ie9cc801f5e2b99dc5ceb39f5d60d5884c4c874de
2018-03-10 03:33:56 +00:00
Translation updater bot f35f7a7681 Localisation updates from https://translatewiki.net.
Change-Id: I1e3d77e0f8b8922564f98e6cbb43aa37e4c83ad0
2018-03-07 22:47:54 +01:00
Translation updater bot c1a3e65c4d Localisation updates from https://translatewiki.net.
Change-Id: I33d7b50d17aa36d2711502893607f024e3a9bca1
2018-03-05 22:25:01 +01:00
Kunal Mehta 81be9fc8da 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: I5d3332e64d690eaac19dee27b56f9ebb866499a9
2018-03-02 15:35:23 -08:00
Translation updater bot cebc4f9b93 Localisation updates from https://translatewiki.net.
Change-Id: Iace464b6216b769daebe09cc4c535df971bac423
2018-02-26 22:20:47 +01:00
libraryupgrader 14775513b4 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Id01671b0422ecd645b84825fd783fb9fed8271a2
2018-02-25 10:54:21 +00:00
Translation updater bot b90fc78759 Localisation updates from https://translatewiki.net.
Change-Id: I33da5fa9f35335ec3d2c1022ce1370e6cb283041
2018-02-23 23:01:49 +01:00
Translation updater bot 256ea1de06 Localisation updates from https://translatewiki.net.
Change-Id: Id6602851850b32e5eb48360316f90faa00691f8a
2018-02-22 23:22:25 +01:00
nikhil 70d3cc145d Add Replace Text reminder message at end of page move
Bug: T187410
Change-Id: I1c3f90400e1a6f41f95fed90d9d706891d2e3eaa
2018-02-20 21:34:48 +05:30
libraryupgrader 2cad90e046 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ia413ba0cc57b72ab67f8b81def1ff111a866fb21
2018-02-18 08:04:41 +00:00
libraryupgrader 4534e11437 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I4c405f01364fb35838f70d63ed137034152b7356
2018-02-15 13:56:54 +00:00
Umherirrender 3f0d4bd248 Remove wfProfileIn/wfProfileOut
@deprecated since 1.25

Change-Id: Ic8f16d0c14c271990078514e34181baa2138853f
2018-02-10 13:33:52 +01:00
Yaron Koren 5a3e4562d3 Removed initial "existing pages" check for regex replacements
Change-Id: I0a8997b9583420827410ba359d483bdf3561431d
2018-02-09 18:38:42 +00:00
Yaron Koren 90694e1fda Version 1.3
Change-Id: Idd21258a58413b829197a634233911892377f127
2018-02-08 17:45:36 +00:00
Yaron Koren 7abda3b9d7 Fix for 865bdd2b9b - added backwards compatibility
Change-Id: I60156385abff4cbb2cbbc44c9fc0f1c71414a239
2018-02-08 17:29:18 +00:00
Jayprakash12345 865bdd2b9b Update maintenance scripts to use $this->requireExtension
Bug: T152139
Change-Id: I1a6f24198538d0c8dc69997f5e4e5fa3c2cf121c
2018-01-29 18:58:39 +00:00
Translation updater bot 7533e5a4bf Localisation updates from https://translatewiki.net.
Change-Id: I8733688e5d7c2f6475c8e5eac492dfeb253e91d7
2018-01-16 22:49:36 +01:00
Umherirrender 82f3350f57 Improve some parameter docs
Change-Id: Iedadec2058cd979c659708876f131328a7614649
2018-01-08 18:46:48 +01:00
Translation updater bot b1efb8cf22 Localisation updates from https://translatewiki.net.
Change-Id: Ie7a742fb73cbdc9f0554bca5ddae7b4d42330fe0
2017-12-31 09:46:55 +01:00
libraryupgrader 988274fe4a build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MemberVarScope.Missing
* Squiz.Scope.MethodScope.Missing

Change-Id: I800d2343b5e7627f7d1442a5e95c3e30a4b9bfb1
2017-12-30 02:27:47 +00:00
Translation updater bot 24d390005a Localisation updates from https://translatewiki.net.
Change-Id: I61bcacadf7db8e8a117665e520651cac4211e630
2017-12-21 23:15:25 +01:00
libraryupgrader 8fe5797ace build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I7e784d46635a45f454c5c00d0d1ec6a9bcbaa144
2017-12-11 06:54:07 +00:00
Translation updater bot ab458dae57 Localisation updates from https://translatewiki.net.
Change-Id: If73905eb8140a1b38e6e4e6da12e0fcdff93377c
2017-12-07 23:07:53 +01:00
Yaron Koren 826e768386 Revert ef3263497f
Change-Id: I1d75e2e0e70a3c924e67185b4c13af218b123267
2017-11-27 16:59:26 +00:00
Yaron Koren f5201dfd11 Removed unnecessary handling for MW < 1.20
Change-Id: I103d80348c5ca1db744ae9eb3fae0d6f36001f6e
2017-11-27 16:41:52 +00:00
Umherirrender 6c3100ce67 build: Always exclude vendor and node_modules
Change-Id: I528cddc1630222ceb5710352ff07cf28f54bec6d
2017-11-11 11:37:10 +01:00
Kunal Mehta a50e803bc4 build: Adding MinusX
Change-Id: I907ce97e6322227af5aabd5ac01c24f0c4c38f34
2017-11-03 18:58:05 -07:00
libraryupgrader 5b62eb17b5 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I25b5c9ad4e30f47e7682c0cce2c1cb850a9746e2
2017-10-21 04:29:33 +00:00