Commit graph

63 commits

Author SHA1 Message Date
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
yaron 7c009b1e7a Version 1.0.1
Change-Id: Ie6bf1652ca43a2920c1874cf872ef7521a346481
2015-03-26 19:13:12 +03:00
yaron a48085a3f1 Version 1.0
Change-Id: I3ff5dcf5981c89e829022636d57b0933c45fdb50
2014-05-29 21:54:46 +04:00
Siebrand Mazeland bc302ec277 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I040f2542944ca978ab5f603e6a96fdf2eb89fe20
2014-03-27 11:59:35 +01:00
yaron f2c344efec New version: 0.9.7
Change-Id: Iff0a22b5e02d7576457f52802d7623184416f899
2013-04-08 19:12:47 +04:00
yaron b695adb2d1 New version: 0.9.6
Change-Id: I012ca7d8f9d969881544f7d10d990aa135287a0b
2013-01-14 19:13:32 +03:00
Reedy 5ec5351d1a Add some braces, some profiling calls
Add hook documentation block

Change-Id: I8e8e22b3193f1cdad590dd9bcdccfc785c140321
2012-12-08 13:10:33 +00:00
yaron 065a88c7bc New version: 0.9.5
Change-Id: I2ce50371a20a907796126baaf3957f39c2e24336
2012-11-14 22:31:24 +03:00
Siebrand Mazeland 4eec59a457 Maintenance for ReplaceText extension.
* Now requires MediaWiki 1.18 or later.
* Use strict in JavaScript and update with JSHint/JSLint suggestions.
* Deglobalisation.
* Replace deprecated methods, remove pre 1.18 BC code.
* Update docs.
* Break long lines.
* Add FIXME where needed.

Change-Id: If9fe1e314937438227458cb07cda7f734043801f
2012-11-07 07:37:05 +00:00
yaron 7d488f54f1 New version: 0.9.4
Change-Id: Idff837d11251438626632631bff6f6b1aee24ad8
2012-10-19 16:18:57 +04:00
Siebrand Mazeland f461e72162 * Remove last remaining traces of wfLoadExtensionMessages().
* Add missing action message and remove unused global in UploadLocal.
* Some whitespace updates in Maps.
2012-02-11 12:17:58 +00:00
Yaron Koren a424de851f New version: 0.9.3 2012-01-03 17:17:45 +00:00
Siebrand Mazeland 46ce67272d Bye, bye $wgExtensionAliasesFiles (deprecated in 1.16). 2011-12-25 23:09:26 +00:00
Brion Vibber e48c47da68 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Yaron Koren 77cb9dca89 New version: 0.9.2 2011-12-05 17:54:06 +00:00
Yaron Koren eb96084ffe New version: 0.9.1 2011-03-16 16:18:20 +00:00
Yaron Koren 05a5ad50fb Changed default user group from 'bureaucrat' to 'sysop' - makes more sense 2011-02-16 03:24:35 +00:00
Yaron Koren 4e8584cf79 New version: 0.9 2011-02-16 03:12:06 +00:00
Yaron Koren 0c926a8d25 New version: 0.8.1 2010-10-05 12:17:41 +00:00
Raimond Spekking ef274d74b8 Grant ths 'replacetext' user right to the bureaucrats per default.
It's very annoying if you install this extension and get a "Permission error" for User:WikiSysop
2010-06-25 19:51:26 +00:00
Yaron Koren 96ae4b254d New version: 0.8 2010-03-18 20:39:27 +00:00
Jeroen De Dauw e6d87002d2 Stylized with Stylize.php to conform with MW's spacing conventions 2010-03-14 18:10:47 +00:00
Siebrand Mazeland fe0cfb1811 * Remove $wgExtensionCredits['description'] where $wgExtensionCredits['descriptionmsg'] present. This feature was introduced in MediaWiki 1.12, and 'description' is not used if 'descriptionmsg' is present.
* Random indentation updates and trailing whitespace removed
2010-02-22 23:41:51 +00:00
Yaron Koren 99125a3c85 New version: 0.7.1 2009-09-08 00:08:25 +00:00
Yaron Koren 25e56e514c New version: 0.7 2009-08-14 17:34:26 +00:00
Yaron Koren a193c1694f Fix for 'move pages' always set to true if there's an intermediate confirmation page; removed seemingly no-longer-necessary (?) escaping of slashes and single quotes in search string 2009-07-20 18:48:05 +00:00
Yaron Koren c8bdcf1098 New version: 0.6.6 2009-07-16 19:57:13 +00:00
Yaron Koren f3f9fee345 New version: 0.6.5 2009-06-26 02:59:11 +00:00
Yaron Koren cd0a87932b New version: 0.6.4 2009-06-16 15:14:09 +00:00
Yaron Koren 99d52aae38 New version: 0.6.3 2009-05-27 04:59:17 +00:00
Yaron Koren 8eaac4c3f3 Version 0.6.2: 'replacetext_note' message removed 2009-05-26 14:01:32 +00:00
Yaron Koren ebcd065f21 New version: 0.6.1 2009-05-21 19:23:07 +00:00
Yaron Koren d0363ac177 Added Admin Links hook 2009-05-19 15:23:48 +00:00
Yaron Koren b9b3079003 New version: 0.5.3 2009-05-08 20:02:34 +00:00
Yaron Koren 63b21fa353 New version: 0.5.2 2009-05-05 20:10:11 +00:00
Yaron Koren eba627aa9f New version, 0.5.1 2009-04-30 18:55:21 +00:00
Yaron Koren 297af2214b Improved numbering 2009-04-27 18:36:34 +00:00
Yaron Koren 5ce3eaf5ba Removed 'author' credit 2009-04-27 18:33:10 +00:00
Siebrand Mazeland 889a5cb12e stylize.php and trailing whitespace removed 2009-04-27 09:02:48 +00:00
Niklas Laxström 241d79f472 * Cleanup, may still contain some bugs due to it 2009-04-27 08:52:10 +00:00
Shinjiman e3948ccc50 Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 03:15:19 +00:00
Yaron Koren c40daea2f2 Replaced global "$dir" variable with "$rtgIP" 2009-04-07 19:03:31 +00:00
Yaron Koren d400a80948 New version, 0.4 2009-01-22 23:41:23 +00:00
Yaron Koren fd91f2118a New version, 0.3.2 2009-01-18 16:23:14 +00:00
Alexandre Emsenhuber 88ceebebc8 Added replactetext right to $wgAvailableRights and add corresponding message 2009-01-08 10:13:33 +00:00
Yaron Koren b34f3fe503 New version, 0.3.1 2009-01-08 05:48:38 +00:00
Siebrand Mazeland 7349f93023 * i18n updates: support plurals where needed
* avoid notice on special page
* $wgSpecialPageGroups for special page
* update wording for 'replacetext_blankwarning' and 'replacetext_cancel'
* note a FIXME in mediawiki.org code review
* bump version
2008-12-29 18:29:23 +00:00
Yaron Koren 20d7732b5f New version, 0.3 2008-11-05 20:39:07 +00:00
Yaron Koren 319df8950f New version: 0.2.8 2008-10-01 20:01:03 +00:00
Yaron Koren abcf2098b2 New version: 0.2.7 2008-09-18 16:29:33 +00:00