-
Improvement
-
Resolution: Fixed
-
Normal
-
None
Currently, the transclusion process - that transforms WikiDocs into HTML code for MB documentation pages - drops wiki links on images. It makes sense for small images. But for larger images, or files, it would be more useful to allow the reader to click on images to be able to zoom in. There used to be only one large image for the database schema, which was additionally linked manually. Now there are more large images for it.
- Example of straightforward syntax to include an image in a WikiDoc page, as it automatically links to the corresponding special Image: page by default in MediaWiki (but the link is intentionally dropped by MusicBrainz Server):
The image Image:WikiDocs_System_v1.png that appears in the page /WikiDocs (wiki page|transcluded doc). - Example of complicated syntax to include an image in a WikiDoc page, which has the benefit to support SVG and to show the image in full page on first click in MediaWiki but requires manual updating when the image changes and doesn't allow to easily access the special page for the image either (the link is not even handled by MusicBrainz Server):
The image File:entity_network_details.svg that appears in the section "Schema" of the page /MusicBrainz_Database/Schema (wiki page|transcluded doc).
Edit: Complicated syntax was in revision #75903 and has now been dropped in revision #76251.
To support the best of both:
- straightforward syntax
link to show the zoomable original image in a popover with a legend linking to the special page and maybe mentioning the date of the latest revision.
Edit: This would be reimplementing MediaWiki’s MultiMedia Viewer extension- link to show the original image that can be zoomed in
It seems possible to query Media files through MediaWiki Rest API to gather all the needed information.