mediawiki-extensions-Replac.../extension.json
Fomafix 73c753c290 SpecialReplaceText: Inject services
Change-Id: Id60e241fb79234c86eab595a9978508e96c3282d
2022-09-08 10:36:02 +00:00

86 lines
1.7 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.35.0"
},
"type": "specialpage",
"GroupPermissions": {
"sysop": {
"replacetext": true
}
},
"AvailableRights": [
"replacetext"
],
"SpecialPages": {
"ReplaceText": {
"class": "MediaWiki\\Extension\\ReplaceText\\SpecialReplaceText",
"services": [
"ContentLanguage",
"LinkRenderer",
"MovePageFactory",
"NamespaceInfo",
"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": [
"MediaWiki\\Extension\\ReplaceText\\Hooks::replaceTextReminder"
],
"UserGetReservedNames": [
"MediaWiki\\Extension\\ReplaceText\\Hooks::getReservedNames"
]
},
"config": {
"ReplaceTextResultsLimit": 250,
"ReplaceTextUser": null
},
"manifest_version": 1
}