Commit graph

8 commits

Author SHA1 Message Date
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
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
Kunal Mehta 8a599d3f07 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.FunctionComment.Missing.Protected
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: Ic25b2569656fb1b30b759c920644c2d6f777a492
2017-06-25 13:33:00 +00:00
cicalese 11c6c2b9d8 Added nsall option. Fixed namespace and dry run handling.
Change-Id: I9d3b9a87191eea7096dc022671e271781fc7febf
2016-12-14 17:21:13 -05:00
Paladox 49b2852df6 Add composer entry point with phplint and phpcs
Bug: T136589
Change-Id: Id48228a7e90ed474ba11f3e6eea4a677c5488c03
2016-08-28 00:55:27 +01:00
yaron ecd19ebd2c Fixed inclusion of Maintenance.php
Change-Id: I712a4be0972313da7ddc862a73d8df9f01ede8fa
2015-04-30 18:53:45 +04:00
Mark A. Hershberger 133982dc59 Create CLI utility for ReplaceText jobs
This creates a new class (ReplaceTextSearch) to move the logic from
the special page so that it is available for CLI access.  Also creates
replace.php which can be used for search-replace tasks that need to be
automated.

Change-Id: I8ccec61f570f33043d8a8d00c52b40acd9d6894a
2015-04-20 14:02:28 -04:00