mediawiki-extensions-Replac.../extension.json
Fomafix 82cc22a9f2 Inject Config and replace global variables
Change-Id: I824ed32728ab4ce8e532734890ac51a4a4527d8a
2023-01-18 19:39:23 +00:00

91 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.40.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": "main",
"UserGetReservedNames": "main"
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\ReplaceText\\Hooks",
"services": [
"MainConfig",
"SpecialPageFactory"
]
}
},
"config": {
"ReplaceTextResultsLimit": 250,
"ReplaceTextUser": null
},
"manifest_version": 1
}