From c3c56543c6febe8fd4c66dda5551abe965efff7f Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 1 Dec 2022 14:15:07 +0100 Subject: initial commit --- extension.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 extension.json (limited to 'extension.json') diff --git a/extension.json b/extension.json new file mode 100644 index 0000000..cfa2c2b --- /dev/null +++ b/extension.json @@ -0,0 +1,43 @@ +{ + "name": "Code", + "manifest_version": 2, + "type": "other", + "license-name": "MIT", + "author": "[https://push-f.com/ Martin Fischer]", + "url": "https://www.mediawiki.org/wiki/Extension:Code", + "version": "0.1.0", + "description": "Provides code pages, code actions and code linkification.", + "config_prefix": "wgCode_", + "config": { + "namespacesWithCodePages": { + "value": {}, + "merge_strategy": "array_plus" + }, + "languages": { + "value": {} + } + }, + "MessagesDirs": { + "VoteExtension": [ + "i18n" + ] + }, + "AutoloadClasses": { + "MediaWiki\\Extension\\Code\\CodeHooks": "Code.php", + "MediaWiki\\Extension\\Code\\SpecialCodeAction": "Code.php", + "MediaWiki\\Extension\\Code\\ContentHandler": "Code.php" + }, + "ContentHandlers": { + "code": "MediaWiki\\Extension\\Code\\ContentHandler" + }, + "SpecialPages": { + "CodeAction": "MediaWiki\\Extension\\Code\\SpecialCodeAction" + }, + "Hooks": { + "ParserFirstCallInit": "MediaWiki\\Extension\\Code\\CodeHooks::onParserFirstCallInit", + "ContentHandlerDefaultModelFor": "MediaWiki\\Extension\\Code\\CodeHooks::onContentHandlerDefaultModelFor" + }, + "TrackingCategories": [ + "codepage-error-category" + ] +} -- cgit v1.2.3