Commit graph

82 commits

Author SHA1 Message Date
Niklas Laxström 19da42d081 Support renaming pages from CLI
Change-Id: I3e14d127cdf63ad4bbff9fcc0a165cc1a0552831
2018-09-07 14:29:58 +02:00
Yaron Koren fe7c4cf38e Version 1.4.1
Change-Id: I1010f6ebfc524d41bf2a16d17b9fb2220ae58bf8
2018-04-16 20:31:08 +00: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
Yaron Koren cf7ece5637 Version 1.4
Change-Id: Ife12b49096f10be0069cc35061d52bea23bf8dce
2018-04-03 17:31:23 +00: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
Yaron Koren 90694e1fda Version 1.3
Change-Id: Idd21258a58413b829197a634233911892377f127
2018-02-08 17:45:36 +00:00
Umherirrender 61081f3691 Remove i18n shim
It is not used by the new extension registration

Change-Id: I25c630b81833b3ab3728d464aafb449404d4153c
2017-07-15 23:08:37 +02: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
Paladox 49b2852df6 Add composer entry point with phplint and phpcs
Bug: T136589
Change-Id: Id48228a7e90ed474ba11f3e6eea4a677c5488c03
2016-08-28 00:55:27 +01:00
yaron af5d23feda Version 1.2
Change-Id: Iee50b9638ce876e2136528a2ec50eea3f04cd905
2016-06-06 23:09:52 +04:00
yaron 22b0f57274 Added $wgReplaceTextUser global variable
Change-Id: I9c09b085ffa51c570323e96f208c0b18bdc6e37d
2016-05-31 23:22:31 +04:00
Kghbln 58fc0ba9bc Provide tiny tweaks
* Add COPYIING
* Add license name to be shown on "Special:Version"
* Consistently use __DIR__

Change-Id: I2b69267426a29d1d993d5ded56ec65e8240f0169
2016-03-10 14:27:51 +01:00
Reedy 70e45385bf Fix mistakes from Ia90e96b68e4bfe4
Change-Id: I40f21369a1e9e1f44417fc50e0c8bc23da117a3e
2015-08-14 22:39:46 +01:00
yaron 45e7d3a7cc Added support for new wfLoadExtension() in MW 1.25
Change-Id: Ia90e96b68e4bfe4ac28cf2ae04ab2069240a7770
2015-08-13 00:55:33 +04:00
yaron 569d95ccf4 New file, ReplaceText.hooks.php
Change-Id: I65bbe8bfed07cc406bba02ca5d34a335d937a956
2015-08-13 00:52:08 +04:00
yaron d1805b8abb Version 1.1.1
Change-Id: Ie9fac530d1b771fc1bd0dfa9f4c20fc0ae9c5e35
2015-07-30 21:17:15 +04:00
umherirrender d62390d37f Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead

Change-Id: I1556ad879498a9a91077b67442d29e60529433ac
2015-06-23 20:57:50 +02:00
yaron 88b895ae8f Version 1.1
Change-Id: I3b1363d36e1140e0dc7455d37ac632b770f983b2
2015-04-30 17:27:02 +04:00
Mark A. Hershberger b781114f36 Changes I had to make to get ReplaceText to work
I'm not sure why it wouldn't work, but these changes were necessary to
get this working without giving blank pages on a client's wiki.

(Also, bump version number)

Change-Id: Ie8f8e4db2eb7f45e54e7f32fb4d27868db167f76
2015-04-22 10:00:56 -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
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