mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-23 22:54:02 +00:00
b197b9ffe7
- Use IContextSource::getActionName directly and not MediaWiki::getAction - Use IContextSource::getConfig instead of MainConfig - Use getRawVal to check against constant value - Use local var to avoid repeatly calls Change-Id: I592e4451035c37c35fe181fa69b080f3f7a31ec8
54 lines
1 KiB
JSON
54 lines
1 KiB
JSON
{
|
|
"name": "InputBox",
|
|
"version": "0.3.0",
|
|
"author": [
|
|
"Erik Moeller",
|
|
"Leonardo Pimenta",
|
|
"Rob Church",
|
|
"Trevor Parscal",
|
|
"DaSch"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:InputBox",
|
|
"descriptionmsg": "inputbox-desc",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.38.0"
|
|
},
|
|
"license-name": "MIT",
|
|
"type": "parserhook",
|
|
"MessagesDirs": {
|
|
"InputBox": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\InputBox\\": "includes/"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.inputBox.styles": {
|
|
"styles": {
|
|
"ext.inputBox.styles.less": { "media": "screen" },
|
|
"ext.inputBox.print.less": { "media": "print" }
|
|
},
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "InputBox/resources"
|
|
},
|
|
"Hooks": {
|
|
"ParserFirstCallInit": "main",
|
|
"MediaWikiPerformAction": "main",
|
|
"SpecialPageBeforeExecute": "main"
|
|
},
|
|
"HookHandlers": {
|
|
"main": {
|
|
"class": "MediaWiki\\Extension\\InputBox\\InputBoxHooks"
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|