Create basic content function
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "AnatImageViewer",
|
||||
"name": "AnnotatedImages",
|
||||
"author": "Justin Georgi",
|
||||
"url": "https://gitea.azgeorgis.net/jgeorgi/AnatImageViewer",
|
||||
"description": "This extension allows the creation of .an pages in the Files namespace which will be annotated images.",
|
||||
"description": "This extension allows the creation of pages in the Annotation namespace which will create annotated images.",
|
||||
"version": "0.0.1",
|
||||
"license-name": "MIT",
|
||||
"type": "media",
|
||||
@@ -12,23 +12,27 @@
|
||||
"id": 2218,
|
||||
"constant": "NS_AV_ANNOT",
|
||||
"name": "Annotation",
|
||||
"protection": "annotations-edit"
|
||||
},
|
||||
"protection": "annotations-edit",
|
||||
"subpages": false,
|
||||
"content": true,
|
||||
"defaultcontentmodel": "annotation"
|
||||
},
|
||||
{
|
||||
"id": 2219,
|
||||
"constant": "NS_AV_ANNOT_TALK",
|
||||
"name": "Annotation_talk"
|
||||
}
|
||||
"name": "Annotation_talk",
|
||||
"subpages": true,
|
||||
"content": false,
|
||||
"defaultcontentmodel": "wikitext"
|
||||
}
|
||||
],
|
||||
"callback": "MediaWiki\\Extension\\AnatImageViewer\\AnnotationHooks::registrationCallback",
|
||||
"AutoloadNamespaces": {
|
||||
"MediaWiki\\Extension\\AnatImageViewer\\": "includes/"
|
||||
},
|
||||
"MediaHandlers": {
|
||||
"image/annotation": "MediaWiki\\Extension\\AnatImageViewer\\AnatImageHandler"
|
||||
"ContentHandlers": {
|
||||
"annotation": "MediaWiki\\Extension\\AnatImageViewer\\AnnotationHandler"
|
||||
},
|
||||
"Hooks": {
|
||||
"MimeMagicInit": "MediaWiki\\Extension\\AnatImageViewer\\AnatImageHooks::onMimeMagicInit",
|
||||
"MimeMagicImproveFromExtension": "MediaWiki\\Extension\\AnatImageViewer\\AnatImageHooks::onMimeMagicImproveFromExtension",
|
||||
"ParserFirstCallInit": "MediaWiki\\Extension\\AnatImageViewer\\AnatImageHooks::onParserFirstCallInit"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user