MediaWiki REL1_31
|
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(), AutoLoaderTest\checkAutoLoadConf(), 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.
Referenced by User\getAllRights(), and InterwikiHooks\onExtensionFunctions().
$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(), AbstractChangesListSpecialPageTestCase\setUp(), LocalIdLookupTest\setUp(), UserTest\setUpPermissionGlobals(), AbstractChangesListSpecialPageTestCase\tearDown(), MediaWiki\Auth\AuthManagerTest\testAutoAccountCreation(), ApiBlockTest\testBlockWithHide(), MediaWiki\Auth\AuthManagerTest\testCheckAccountCreatePermissions(), TitlePermissionTest\testQuickPermissions(), ApiQueryTitleBlacklistTest\testTboverride(), and ApiUserrightsTest\testWithoutTagPermission().
$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(), 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.
Referenced by MultimediaViewerHooks\onExtensionFunctions().
$wgSpecialPages[ 'ReplaceText'] = 'SpecialReplaceText' |
Definition at line 60 of file ReplaceText.php.
Referenced by SpecialPageFactory\getPageList().
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.