Update extension.json to version 2 with "updateExtensionJsonSchema.php". master
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 22 Jun 2021 20:52:27 +0000 (22:52 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 22 Jun 2021 20:52:27 +0000 (22:52 +0200)
extension.json

index 14ce80f470ff38307766b437e41820cd8606e947..d6e1d4de3c1867aebc37bbf7ab74993a27f614f9 100644 (file)
@@ -5,7 +5,14 @@
        "description": "Adds structured (semantic) data to the header of sledruns: JSON-LD, Facebook Open Graph META Tags, Twitter Summary Cards.",
        "version": "0.1.2",
        "license-name": "GPL-2.0+",
-       "manifest_version": 1,
-       "AutoloadClasses": {"WrSemantic": "wrsemantic_body.php"},
-       "Hooks": {"OutputPageParserOutput": "WrSemantic::onOutputPageParserOutput"}
+       "manifest_version": 2,
+       "AutoloadClasses": {
+               "WrSemantic": "wrsemantic_body.php"
+       },
+       "Hooks": {
+               "OutputPageParserOutput": "WrSemantic::onOutputPageParserOutput"
+       },
+       "requires": {
+               "MediaWiki": ">= 1.29.0"
+       }
 }