pve-docs/debian/tree/pve-docs-mediawiki/PVEDocs/extension.json
Thomas Lamprecht fe97856a2a mediawiki: transform into new-style add-on
The core 'LanguageGetMagic' hook we used originally was was removed
completely in version 1.33.0 (after being deprecated in 1.16.0).

So transform into the new style, again adapted from:
https://www.mediawiki.org/wiki/Manual:Parser_functions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-28 16:24:28 +02:00

26 lines
713 B
JSON

{
"name": "PVEDocs",
"author": "Thomas Lamprecht, Dietmar Maurer",
"version": "2021.05.1",
"url": "https://git.proxmox.com/?p=pve-docs.git;a=summary",
"descriptionmsg": "Display PVE Documentation Pages",
"license-name": "GPL-3.0-or-later",
"type": "parserhook",
"AutoloadClasses": {
"PVEDocs": "include/PVEDocs.php"
},
"MessagesDirs": {
"PVEDocs": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"PVEDocsMagic": "PVEDocs.i18n.magic.php"
},
"Hooks": {
"ParserFirstCallInit": "PVEDocs::onParserFirstCallInit",
"ParserAfterTidy": "PVEDocs::efPvedocsPostProcessFunction"
},
"manifest_version": 1
}