Basic svg rendering

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2026-05-18 18:13:20 -07:00
parent c4e783dd9d
commit aad84ac0fc
3 changed files with 75 additions and 39 deletions

View File

@@ -7,29 +7,32 @@
"license-name": "MIT",
"type": "media",
"manifest_version": 1,
"requires": {
"MediaWiki": ">= 1.39.0"
},
"namespaces": [
{
"id": 2218,
"constant": "NS_AV_ANNOT",
"name": "Annotation",
"protection": "annotations-edit",
"subpages": false
"subpages": false,
"content": false,
"defaultcontentmodel": "annotation"
},
{
"id": 2219,
"constant": "NS_AV_ANNOT_TALK",
"name": "Annotation_talk",
"subpages": true
"subpages": true,
"content": false,
"defaultcontentmodel": "wikitext"
}
],
"callback": "MediaWiki\\Extension\\AnatImageViewer\\AnnotationHooks::registrationCallback",
"AutoloadNamespaces": {
"MediaWiki\\Extension\\AnatImageViewer\\": "includes/"
},
"ContentHandlers": {
"annotation": "MediaWiki\\Extension\\AnatImageViewer\\AnnotationHandler::class"
},
"Hooks": {
"ContentHandlerDefaultModelFor": "MediaWiki\\Extension\\AnatImageViewer\\AnnotationHooks::onContentHandlerDefaultModelFor"
"annotation": "MediaWiki\\Extension\\AnatImageViewer\\AnnotationHandler"
}
}