summaryrefslogtreecommitdiff
path: root/extension.json
diff options
context:
space:
mode:
Diffstat (limited to 'extension.json')
-rw-r--r--extension.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/extension.json b/extension.json
new file mode 100644
index 0000000..972617b
--- /dev/null
+++ b/extension.json
@@ -0,0 +1,34 @@
+{
+ "name": "Ribbon",
+ "author": [
+ "Cyrille Bagard"
+ ],
+ "url": "https://www.mediawiki.org/wiki/Extension:Example",
+ "description": "This extension adds a ribbon on top of a pages.",
+ "version": "1.0",
+ "license-name": "GPL-2.0+",
+ "type": "other",
+ "AutoloadClasses": {
+ "Ribbon": "Ribbon_body.php"
+ },
+ "Hooks": {
+ "ParserFirstCallInit": [
+ "Ribbon::onParserInit"
+ ],
+ "BeforePageDisplay": [
+ "Ribbon::onBeforePageDisplay"
+ ]
+ },
+ "ResourceModules": {
+ "ext.ribbon": {
+ "styles": {
+ "ribbon.css": {
+ "media": "screen"
+ }
+ }
+ }
+ },
+ "ResourceFileModulePaths": {
+ "localBasePath": ""
+ }
+}