mediawiki-extensions-Interwiki/extension.json
Kunal Mehta bb1c7bf309 Get rid of most of the need for an extension function
* Conditionally register the userright with UserGetAllRights hook.
* Always register the LogActionsHandlers, it'll be a noop if not
  enabled.
* The $wgLogTypes modification is left alone for now, it can be moved
  to a hook once T200385 is implemented.

Bug: T180192
Change-Id: Ic5392fe93b6271d31ef1e6d589415ec77c0b14eb
2018-07-26 08:24:52 -07:00

64 lines
1.4 KiB
JSON

{
"name": "Interwiki",
"version": "3.1 20160307",
"author": [
"Stephanie Amanda Stevens",
"Alexandre Emsenhuber",
"Robin Pepermans",
"Siebrand Mazeland",
"Platonides",
"Raimond Spekking",
"Sam Reed",
"Jack Phoenix",
"Calimonius the Estrange",
"..."
],
"url": "https://www.mediawiki.org/wiki/Extension:Interwiki",
"descriptionmsg": "interwiki-desc",
"license-name": "GPL-2.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.28.0"
},
"ExtensionMessagesFiles": {
"InterwikiAlias": "Interwiki.alias.php"
},
"config": {
"InterwikiCentralDB": null,
"InterwikiViewOnly": false
},
"MessagesDirs": {
"Interwiki": [
"i18n"
]
},
"Hooks": {
"InterwikiLoadPrefix": "InterwikiHooks::onInterwikiLoadPrefix",
"UserGetAllRights": "InterwikiHooks::onUserGetAllRights"
},
"ResourceModules": {
"ext.interwiki.specialpage": {
"styles": "Interwiki.css"
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Interwiki"
},
"SpecialPages": {
"Interwiki": "SpecialInterwiki"
},
"ExtensionFunctions": [
"InterwikiHooks::onExtensionFunctions"
],
"AutoloadClasses": {
"InterwikiHooks": "includes/InterwikiHooks.php",
"SpecialInterwiki": "includes/SpecialInterwiki.php",
"InterwikiLogFormatter": "includes/InterwikiLogFormatter.php"
},
"LogActionsHandlers": {
"interwiki/*": "InterwikiLogFormatter"
},
"manifest_version": 1
}