mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-12-11 22:36:02 +00:00
772a4f5642
Also reuse local variable $services for MediaWikiServices::getInstance() in Job.php. Change-Id: I0364c64aaf52e229f3e2a2c73c7d4716ec566fae
94 lines
1.8 KiB
JSON
94 lines
1.8 KiB
JSON
{
|
|
"name": "Replace Text",
|
|
"version": "1.7",
|
|
"author": [
|
|
"Yaron Koren",
|
|
"Niklas Laxström",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Replace_Text",
|
|
"descriptionmsg": "replacetext-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.40.0"
|
|
},
|
|
"type": "specialpage",
|
|
"GroupPermissions": {
|
|
"sysop": {
|
|
"replacetext": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"replacetext"
|
|
],
|
|
"SpecialPages": {
|
|
"ReplaceText": {
|
|
"class": "MediaWiki\\Extension\\ReplaceText\\SpecialReplaceText",
|
|
"services": [
|
|
"HookContainer",
|
|
"ContentLanguage",
|
|
"JobQueueGroup",
|
|
"LinkRenderer",
|
|
"MovePageFactory",
|
|
"NamespaceInfo",
|
|
"ReadOnlyMode",
|
|
"SearchEngineConfig",
|
|
"SlotRoleStore",
|
|
"UserFactory",
|
|
"UserOptionsLookup"
|
|
]
|
|
}
|
|
},
|
|
"JobClasses": {
|
|
"replaceText": "MediaWiki\\Extension\\ReplaceText\\Job"
|
|
},
|
|
"MessagesDirs": {
|
|
"ReplaceText": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"ext.ReplaceText": {
|
|
"scripts": [
|
|
"ext.ReplaceText.js"
|
|
]
|
|
},
|
|
"ext.ReplaceTextStyles": {
|
|
"styles": [
|
|
"ext.ReplaceTextStyles.less"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "ReplaceText/resources"
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"ReplaceTextAlias": "ReplaceText.i18n.alias.php"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\ReplaceText\\": "src/"
|
|
},
|
|
"Hooks": {
|
|
"AdminLinks": [
|
|
"MediaWiki\\Extension\\ReplaceText\\Hooks::addToAdminLinks"
|
|
],
|
|
"SpecialMovepageAfterMove": "main",
|
|
"UserGetReservedNames": "main"
|
|
},
|
|
"HookHandlers": {
|
|
"main": {
|
|
"class": "MediaWiki\\Extension\\ReplaceText\\Hooks",
|
|
"services": [
|
|
"MainConfig",
|
|
"SpecialPageFactory"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"ReplaceTextResultsLimit": 250,
|
|
"ReplaceTextUser": null
|
|
},
|
|
"manifest_version": 1
|
|
}
|