This commit adds support for replacing text in multiple content slots.
The names of all the slots that contain the target string are shown on
the special page, and the user can select or deselect which slots they
want to edit. Edits to different slots for the same page are bundled
into a multi-content revision.
If a replace is performed through the 'replaceAll.php' maintenance
script, all slots are taken into account.
Change-Id: Ic4f36fa76e1eaeac8200c60f196c53c2ed78fa45
The patch for "version 1.5" didn't actually update extension.json to 1.5, by mistake, but it's still considered 1.5, so this is 1.6.
Change-Id: I722278c95a54a3d7f9c7e96bf8edd9d787d28cb3
The MWNamespace class has been deprecated in favor of the NamespaceInfo
service. All methods in the MWNamespace should be replaced with the
equivalent methods of the NamespaceInfo service.
Bug: T291389
Change-Id: I9e3a0aff012d1524205cebe61c10e016f989cecb
Here we add $wgReplaceTextResultsLimit variable (default: 250) to allow
administrator to change this limit.
Change-Id: Iee9d958db8ddd245a98ec6a3d5b5cf8ef1d80370
This increases the minimum supported version of MediaWiki to 1.32+ (and
makes it work at all on MediaWiki 1.34+).
Change-Id: Ibc22b6666d997d9edd95a54e36132c10c9e550aa
The core module 'mediawiki.special.search' contains more functions
which are not needed here and which causes an error message in the
JavaScript console. (T211384)
This change copies the used part of module 'mediawiki.special.search'
to the local module 'ext.ReplaceText'.
The CSS file for the style module 'ext.ReplaceTextStyles' is renamed
from ext.ReplaceText.css to ext.ReplaceTextStyles.css to make
ext.ReplaceText.css free for the CSS part of module 'ext.ReplaceText'.
Bug: T211384
Change-Id: I41225ccdf8a95a7c501fb6eea99abbd08353f4ea
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