Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-13047

Wikidocs zoomable image option breaks for images without /thumb

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2023-05-22
    • None
    • Documentation
    • None

      When working on MBS-13044 I realized adding class zoomable to the images on Release/Packaging broke the links for the wiki-hosted images. yvanzo helped figure out that the problem is the regex ensuring the image links are kept as wiki links rather than mb.org ones was originally assuming the wiki image prefix would be followed by /thumb, but that seems to be optional (possibly only for SVG?). We should fix the regex so that it works for all images.

            reosarevok Nicolás Tamargo
            reosarevok Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2023-05-22