Jump to content

Extension:Replace Text/Version history

From mediawiki.org

Here is the version history for the Replace Text extension:


  • 0.1 - April 29, 2008 - Initial version
  • 0.1.1 - May 7, 2008 - Language support added for Arabic, Dutch, French, Javanese, Malayalam, Norwegian Bokmål, Occitan, Portuguese, Serbian Cyrillic, Slovak, Swedish and Thai


  • 0.2 - May 12, 2008 - Replacement turned into two-step process, asking user to select among list of pages; actual replacement implemented as MediaWiki jobs; language support added for Traditional Chinese, Esperanto, Farsi, German, Khmer and Marathi
  • 0.2.1 - May 14, 2008 - Retrieval of matching pages done through SQL call, instead of manually; language support added for Bulgarian, Taiwanese Chinese and Luxembourgish
  • 0.2.2 - May 27, 2008 - Fixed handling of strings containing single quotation marks and target strings at the beginning of the page; set all replacements to be minor edits; pages are displayed in alphabetical order; language support added for Telugu
  • 0.2.3 - June 24, 2008 - Fixed handling of regular quotation marks; language support added for Czech, Galician, Polish and Vietnamese
  • 0.2.4 - August 6, 2008 - Updated initialization to use autoloading of classes and language values; bug fix so that replacement job does not override identity of logged-in user; title of page added as hidden field in forms; new 'replacetext' permission type added; "invert selections" link added to let user invert checkboxes in form; language support added for Brazilian Portuguese
  • 0.2.5 - September 2, 2008 - Fixed handling of strings containing backslashes; "invert selections" link only shown if there are more than five items
  • 0.2.6 - September 5, 2008 - Language aliases added
  • 0.2.7 - September 18, 2008 - Access control improved; language support added for Egyptian Arabic
  • 0.2.8 - October 1, 2008 - Handling of apostrophes re-fixed; language support added for Interlingua and Ripuarian


  • 0.3 - November 5, 2008 - Added handling for moving pages; language support added for Croatian and Russian
  • 0.3.1 - January 8, 2009 - Support for singulars and plurals in user messages; other code improvements; language support added for Basque, Finnish, Hebrew, Norwegian Nynorsk, Romanian, Spanish, Tagalog, Upper Sorbian and Volapük
  • 0.3.2 - January 18, 2009 - Fixed major bug introduced in 0.3.1; added "return to form" link at the end of the replacement process


  • 0.4 - January 22, 2009 - Added option to not keep the old title as a redirect for moved pages; language support added for Japanese and Lower Sorbian
  • 0.4.1 - April 7, 2009 - Fixed handling of HTML-escaped strings like "&"; language support added for Belarusian and Bosnian


  • 0.5 - April 27, 2009 - Replacement of text within pages (as opposed to in page titles) made optional; HTML-printing code changed to use MediaWiki functions; language support added for Greek, Swiss German, Italian and Turkish
  • 0.5.1 - April 30, 2009 - Inputs for strings changed to textareas, to allow multi-line values; various small bug fixes
  • 0.5.2 - May 5, 2009 - Appearance of results page fixed; handling of backslashes fixed; "watch these pages" unchecked by default
  • 0.5.3 - May 8, 2009 - Too-new Skin::link() function changed back to older function call; yet another fix for single-apostrophe handling; better formatting for strings that contain wiki text


  • 0.6 - May 19, 2009 - Namespace selector added for pages; sorting of page names re-added; call added for Admin Links extension; bug fixes
  • 0.6.1 - May 21, 2009 - Some fixes for namespace handling
  • 0.6.2 - May 26, 2009 - Outdated message about namespaces removed; deprecated MediaWiki function changed
  • 0.6.3 - May 27, 2009 - Fixed textareas to display across all versions of IE; language support added for Catalan
  • 0.6.4 - June 16, 2009 - Fixed incorrect capitalization of search term in page moves
  • 0.6.5 - June 25, 2009 - Fix for spaces in search term in page moves; language support added for Indonesian and Pennsylvania Dutch
  • 0.6.6 - July 16, 2009 - Fix for number of pages in post-replacement page getting overcounted by one; language support added for Ancient Greek and Aramaic
  • 0.6.7 - July 20, 2009 - Fix for newlines in search terms; "move pages" setting preserved when there's an intermediate "confirmation" screen


  • 0.7 - August 14, 2009 - Category and prefix filtering added; fix for bot users; language support added for Pontic Greek and Serbian Latin
  • 0.7.1 - September 8, 2009 - Bug fixes and improvements made for category filtering; language support added for Afrikaans


  • 0.8 - March 18, 2010 - "Confirmation" screen removed, replaced by just a warning message at the top of the page; namespace selector modified to look more like Special:Search in MW 1.16, including new "All" and "None" checkboxes if MW is 1.16+
  • 0.8.1 - October 5, 2010 - Added handling for improved database-querying functionality added in MW 1.16


  • 0.9 - February 16, 2011 - Regular-expression handling added
  • 0.9.1 - March 16, 2011 - Fix for search strings containing spaces when searching page titles; improved SQL; better handling for MW 1.18
  • 0.9.2 - December 5, 2011 - Fixed handling for MW 1.18
  • 0.9.3 - January 3, 2012 - Fixed "check all/none" checkboxes for MW 1.18; support removed for MW < 1.16
  • 0.9.4 - October 19, 2012 - Improved PostgreSQL support; better error handling for "prefix" field; improvements to display messages
  • 0.9.5 - November 14, 2012 - Support removed for MW < 1.18; various code updates
  • 0.9.6 - January 14, 2013 - Improved handling for MW >= 1.21
  • 0.9.7 - April 8, 2013 - Improved handling for MW >= 1.20


  • 1.0 - May 29, 2014 - i18n messages moved into JSON files; fix for searches with a very large number of results; text-entry boxes enlarged; "text replace" message changed to "text replacement"; fix for MW 1.18+; other fixes
  • 1.0.1 - March 26, 2015 - Added support for MW 1.26; bug fixes


  • 1.1 - April 30, 2015 - Added replaceAll.php script
  • 1.1.1 - July 30, 2015 - Fixes for replaceAll.php; fixes for optional by-category and by-prefix replacement options


  • 1.2 - June 6, 2016 - Added $wgReplaceTextUser; added support for wfLoadExtension(); added support for npm; new ReplaceText.hooks.php file; other small changes


  • 1.3 - February 8, 2018 - Improved Unicode parsing, removed support for MW 1.18 - 1.22, added "all namespaces" option for command-line script


  • 1.4 - April 3, 2018 - Added "announce edits" setting to Special:ReplaceText and replaceAll.php; removed "pages that already contain this text" check if the search text is a regex; added link to Special:ReplaceText after standard page moves; other small changes
  • 1.4.1 - April 16, 2018 - Improved support for MW 1.28+; better error checking; fixed bolding of search terms; some code rearrangement


  • 1.5 - July 1, 2021 - Removed support for MW 1.23 - 1.31; improved support for MW 1.32+; added $wgReplaceTextResultsLimit setting; added support for renaming pages from command-line script; removed MSSQL support; disabled regex option for SQLite (note: the version number included in the code was accidentally kept at 1.4.1).


  • 1.6 - October 27, 2021 - Removed support for MW 1.32 - 1.34; improved support for MW 1.35+; changed some interface elements to use OOUI; changed to use LESS instead of CSS


  • 1.7 - March 22, 2022 - Added support for MCR slots other than "main"; newlines displayed as "↵" in search results; edits marked as patrolled by default if user has permission; improved support for MW 1.37+; other code improvements


  • 1.8 - September 7, 2023 - Removed support for MW < 1.41, with compatibility policy switched to relative; added --category and --prefix flags to replaceAll.php; added handling for pages with a non-TextContent format (though they must still inherit from TextContent); changed string length calculation to be separate for each replaced string; Special:ReplaceText gets disabled if $wgReadOnly is set to true