MediaWiki REL1_34
|
Go to the source code of this file.
Variables | |
$wgAutoloadClasses ['ReplaceTextHooks'] = __DIR__ . '/src/ReplaceTextHooks.php' | |
$wgAutoloadClasses ['ReplaceTextJob'] = __DIR__ . '/src/ReplaceTextJob.php' | |
$wgAutoloadClasses ['ReplaceTextSearch'] = __DIR__ . '/src/ReplaceTextSearch.php' | |
$wgAutoloadClasses ['SpecialReplaceText'] = __DIR__ . '/src/SpecialReplaceText.php' | |
$wgAvailableRights [] = 'replacetext' | |
$wgExtensionCredits ['specialpage'][] | |
$wgExtensionMessagesFiles ['ReplaceTextAlias'] = __DIR__ . '/ReplaceText.i18n.alias.php' | |
$wgGroupPermissions ['sysop']['replacetext'] = true | |
$wgHooks ['AdminLinks'][] = 'ReplaceTextHooks::addToAdminLinks' | |
$wgJobClasses ['replaceText'] = 'ReplaceTextJob' | |
$wgMessagesDirs ['ReplaceText'] = __DIR__ . '/i18n' | |
$wgReplaceTextUser = null | |
$wgResourceModules ['ext.ReplaceText'] | |
$wgSpecialPages ['ReplaceText'] = 'SpecialReplaceText' | |
const | REPLACE_TEXT_VERSION (!defined( 'MEDIAWIKI')) '1.4.1' |
Replace Text - a MediaWiki extension that provides a special page to allow administrators to do a global string find-and-replace on all the content pages of a wiki. | |
$wgAutoloadClasses[ 'ReplaceTextHooks'] = __DIR__ . '/src/ReplaceTextHooks.php' |
Definition at line 61 of file ReplaceText.php.
Referenced by AutoLoader\autoload(), CompareParsers\checkParserLocally(), Installer\getExistingLocalSettings(), Installer\includeExtensions(), and DatabaseUpdater\loadExtensions().
$wgAutoloadClasses[ 'ReplaceTextJob'] = __DIR__ . '/src/ReplaceTextJob.php' |
Definition at line 63 of file ReplaceText.php.
$wgAutoloadClasses[ 'ReplaceTextSearch'] = __DIR__ . '/src/ReplaceTextSearch.php' |
Definition at line 64 of file ReplaceText.php.
$wgAutoloadClasses[ 'SpecialReplaceText'] = __DIR__ . '/src/SpecialReplaceText.php' |
Definition at line 62 of file ReplaceText.php.
$wgAvailableRights[] = 'replacetext' |
Definition at line 55 of file ReplaceText.php.
$wgExtensionCredits[ 'specialpage'][] |
Definition at line 40 of file ReplaceText.php.
Referenced by HHVMMakeRepo\execute(), and SpecialVersion\getSkinCredits().
$wgExtensionMessagesFiles[ 'ReplaceTextAlias'] = __DIR__ . '/ReplaceText.i18n.alias.php' |
Definition at line 51 of file ReplaceText.php.
$wgGroupPermissions[ 'sysop'][ 'replacetext'] = true |
Definition at line 56 of file ReplaceText.php.
Referenced by User\getAllGroups(), and GadgetHooksTest\setUp().
$wgHooks[ 'AdminLinks'][] = 'ReplaceTextHooks::addToAdminLinks' |
Definition at line 58 of file ReplaceText.php.
Referenced by BenchmarkHooks\execute(), DumpIterator\finalSetup(), Hooks\getHandlers(), SpecialVersion\getWgHooks(), Installer\includeExtensions(), Hooks\isRegistered(), DatabaseUpdater\loadExtensions(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\registerClearHook(), Cite\setHooks(), Scribunto_LuaTitleLibraryTest\setUp(), ParserOptions\setupFakeRevision(), and Scribunto_LuaTitleLibraryTest\tearDown().
$wgJobClasses[ 'replaceText'] = 'ReplaceTextJob' |
Definition at line 52 of file ReplaceText.php.
Referenced by Job\factory(), and JobQueueGroup\pop().
$wgMessagesDirs[ 'ReplaceText'] = __DIR__ . '/i18n' |
Definition at line 50 of file ReplaceText.php.
Referenced by UpdateMediaWiki\execute().
$wgReplaceTextUser = null |
Definition at line 73 of file ReplaceText.php.
Referenced by SpecialReplaceText\createJobsForTextReplacements(), and ReplaceTextHooks\getReservedNames().
$wgResourceModules[ 'ext.ReplaceText'] |
Definition at line 66 of file ReplaceText.php.
$wgSpecialPages[ 'ReplaceText'] = 'SpecialReplaceText' |
Definition at line 60 of file ReplaceText.php.
const REPLACE_TEXT_VERSION(!defined('MEDIAWIKI')) | ( | ! | defined'MEDIAWIKI' | ) | '1.4.1' |
Replace Text - a MediaWiki extension that provides a special page to allow administrators to do a global string find-and-replace on all the content pages of a wiki.
https://www.mediawiki.org/wiki/Extension:Replace_Text
The special page created is 'Special:ReplaceText', and it provides a form to do a global search-and-replace, with the changes to every page showing up as a wiki edit, with the administrator who performed the replacement as the user, and an edit summary that looks like "Text replace: 'search string' * to 'replacement string'".
If the replacement string is blank, or is already found in the wiki, the page provides a warning prompt to the user before doing the replacement, since it is not easily reversible.
Definition at line 37 of file ReplaceText.php.