Reference:Replace Text: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 10: Line 10:
|docu=https://www.mediawiki.org/wiki/Extension:Replace_Text
|docu=https://www.mediawiki.org/wiki/Extension:Replace_Text
|features=
|features=
The '''ReplaceText''' extension from MediaWiki allows to change text passages in pages or page titles throughout the entire wiki. The existing text and the replacement text can be entered in a form. The extension searches for these words or text passages and replaces them after a confirmation screen. Filters and configurations are available. In addition to this, complex text changes can be achieved by using placeholders and regular expressions.  
'''ReplaceText''' is a  MediaWiki extension that provides both a special page and a command line script that allows administrators to search and replace any text in wiki pages and titles across the wiki.


Changes on the page title result in moving the original page - according to the wiki principle. There are some configurations for the moved page.


[[Category:BlueSpice free]]
Replacing the text is done in 3 steps on the ''Special:ReplaceText'' page:
[[Category:MediaWiki]]
 
[[Category:Extension]]
# Entering the existing and the new text as well as selecting the namespaces and other options
# Checking the pages on which the text appears. Possible adjustment of the page selection
# Performing the replacement.
{{Messagebox|boxtype=note|icon=|Note text=The replace text operation is a deferred operation and is placed in the job queue.
''runJobs.php'' can be run from the ''maintenance'' folder to do the replacement immediately and to process the job queue.|bgcolor=}}
}}
}}
{{wcagCheck
{{wcagCheck

Revision as of 12:18, 8 March 2023

Extension: Replace Text

all extensions

Overview
Description: Provides a form to let administrators do string replacements on the entire wiki, for both page contents and page titles.
State: stable Dependency: MediaWiki
Developer: Yaron Koren, Niklas Laxström License: GPL v2+
Type: MediaWiki Category: Administration
Edition: BlueSpice pro, BlueSpice free, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. Version: 4.1+
For more info, visit Mediawiki.

Features

ReplaceText is a MediaWiki extension that provides both a special page and a command line script that allows administrators to search and replace any text in wiki pages and titles across the wiki.


Replacing the text is done in 3 steps on the Special:ReplaceText page:

  1. Entering the existing and the new text as well as selecting the namespaces and other options
  2. Checking the pages on which the text appears. Possible adjustment of the page selection
  3. Performing the replacement.
Note:The replace text operation is a deferred operation and is placed in the job queue. runJobs.php can be run from the maintenance folder to do the replacement immediately and to process the job queue.

Accessibility

Test status: 2-testing complete
Checked for: Authoring tool
Last test date: 2022-08-08
WCAG level: AA
WCAG support: partially supports (workaround: no)
Comments:

keyboard accessible.

Screenreader issues: no form field labels, warning box has no aria-label; initial focus for replacement founds is not set, so it is difficult to select pages.

Extension type: extended
Extension focus: admin