MediaWiki REL1_32
|
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(), AutoLoaderStructureTest\checkAutoLoadConf(), CompareParsers\checkParserLocally(), Installer\getExistingLocalSettings(), Installer\includeExtensions(), DatabaseUpdater\loadExtensions(), and AutoLoaderStructureTest\testPSR4Completeness().
$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.
Referenced by User\getAllRights().
$wgExtensionCredits[ 'specialpage'][] |
Definition at line 40 of file ReplaceText.php.
Referenced by SpecialVersion\execute(), HHVMMakeRepo\execute(), SpecialVersion\getExtensionCategory(), SpecialVersion\getExtensionCredits(), and SpecialVersion\getSkinCredits().
$wgExtensionMessagesFiles[ 'ReplaceTextAlias'] = __DIR__ . '/ReplaceText.i18n.alias.php' |
Definition at line 51 of file ReplaceText.php.
Definition at line 56 of file ReplaceText.php.
Referenced by User\getAllGroups(), AvailableRightsTest\getAllVisibleRights(), User\getGroupPermissions(), User\getGroupsWithPermission(), User\groupHasPermission(), User\isEveryoneAllowed(), TitlePermissionTest\runGroupPermissions(), MediaWikiTestCase\setGroupPermissions(), GadgetTest\setUp(), AbstractChangesListSpecialPageTestCase\setUp(), UserTest\setUpPermissionGlobals(), AbstractChangesListSpecialPageTestCase\tearDown(), ApiBlockTest\testBlockWithHide(), TitlePermissionTest\testQuickPermissions(), and ApiQuerySiteinfoTest\testUserGroups().
$wgHooks[ 'AdminLinks'][] = 'ReplaceTextHooks::addToAdminLinks' |
Definition at line 58 of file ReplaceText.php.
$wgJobClasses[ 'replaceText'] = 'ReplaceTextJob' |
Definition at line 52 of file ReplaceText.php.
Referenced by Job\factory(), JobQueue\pop(), MediaWikiTestCase\resetNonServiceCaches(), and MediaWikiTestCase\teardownTestDB().
$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.