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
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
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