mediawiki-extensions-Interwiki/extension.json
C. Scott Ananian b21bafe385 Don't register InterwikiLoadPrefix hook unless it is needed
The InterwikiLoadPrefix hook has been deprecated, as it doesn't
support some functions needed in a round-trip wikitext parser
(T270444).  This extension doesn't require the hook in the way that it
is used in WMF production (with a static interwiki cache), so don't
register the hook in this configuration to avoid triggering the
deprecation warning.

Bug: T270444
Depends-On: If2507017c99c4ee42c104a0890bc45a84d7239d5
Change-Id: Id5c02a824c6d6a97200074430aa7d5c1db804396
2020-12-22 20:43:12 +00:00

71 lines
1.5 KiB
JSON

{
"name": "Interwiki",
"version": "3.2",
"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.36.0"
},
"ExtensionMessagesFiles": {
"InterwikiAlias": "Interwiki.alias.php"
},
"config": {
"InterwikiCentralDB": {
"value": null
},
"InterwikiCentralInterlanguageDB": {
"value": null
},
"InterwikiViewOnly": {
"value": 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": 2
}