mwoffliner icon indicating copy to clipboard operation
mwoffliner copied to clipboard

Interactive maps? of fandom are not working

Open benoit74 opened this issue 11 months ago • 0 comments

See https://farm.openzim.org/pipeline/9fa1afb0-37b9-4f37-a0b4-0fb3b8004190/debug and

Problematic URLs are https://pokemon.fandom.com//rest.php/v1/page/Map%3AKanto/html and https://fallout.fandom.com//rest.php/v1/page/Map%3AFO76_Silo_Replacement_Mainframe_Cores/html

When browsing the wiki, these pages look special, the URL is automatically transformed with an ? trailing character, e.g. from https://pokemon.fandom.com/wiki/Map:Kanto to https://pokemon.fandom.com/wiki/Map:Kanto?. This is not a redirect but something happening in the browser.

Interestingly, https://pokemon.fandom.com//rest.php/v1/page/Map%3AKanto?/html (with the trailing ? in page title) does return an answer ... but kinda unusual one:

https://pokemon.fandom.com/w/api.php?action=visualeditor&mobileformat=html&format=json&paction=parse&formatversion=2&page=Map%3AKanto

{
  "id": 265616,
  "key": "Map:Kanto",
  "title": "Map:Kanto",
  "latest": { "id": 1783332, "timestamp": "2024-01-18T16:22:41Z" },
  "content_model": "interactivemap",
  "license": { "url": "https://www.fandom.com/licensing", "title": "CC-BY-SA" },
  "source": "{\n    \"mapImage\": \"KantoFRLG.jpg\",\n    \"pageCategories\": [\n        \"Interactive_Map\"\n    ],\n    \"defaultSort\": \"\",\n    \"description\": \"The Kanto Map, WIP (work in progress)\",\n    \"coordinateOrder\": \"xy\",\n    \"mapBounds\": [\n        [\n            0,\n            0\n        ],\n        [\n            474,\n            266\n        ]\n    ],\n    \"origin\": \"bottom-left\",\n    \"useMarkerClustering\": true,\n    \"categories\": [\n        {\n            \"id\": \"1\",\n            \"listId\": 1,\n            \"name\": \"General\",\n            \"color\": \"#fa005a\",\n            \"symbol\": \"G\",\n            \"symbolColor\": \"#fff\"\n        },\n        {\n            \"id\": \"2\",\n            \"listId\": 2,\n            \"name\": \"Important\",\n            \"color\": \"#fad500\",\n            \"symbol\": \"I\",\n            \"symbolColor\": \"#000\"\n        }\n    ],\n    \"markers\": [\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                83.594014291492,\n                66.083333335817\n            ],\n            \"popup\": {\n                \"title\": \"Pallet Town\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Pallet Town\",\n                    \"label\": \"Pallet Town\"\n                }\n            },\n            \"id\": \"1\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                82,\n                109\n            ],\n            \"popup\": {\n                \"title\": \"Viridian City\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Viridian City\",\n                    \"label\": \"Viridian City\"\n                }\n            },\n            \"id\": \"2\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                82,\n                168\n            ],\n            \"popup\": {\n                \"title\": \"Pewter City\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Pewter City\",\n                    \"label\": \"Pewter City\"\n                }\n            },\n            \"id\": \"3\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                52.5,\n                182\n            ],\n            \"popup\": {\n                \"title\": \"Indigo Plateau\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Indigo Plateau\",\n                    \"label\": \"Indigo Plateau\"\n                }\n            },\n            \"id\": \"4\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                229.5,\n                185\n            ],\n            \"popup\": {\n                \"title\": \"Cerulean City\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Cerulean City\",\n                    \"label\": \"Cerulean City\"\n                }\n            },\n            \"id\": \"5\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                229.5,\n                93\n            ],\n            \"popup\": {\n                \"title\": \"Vermilion City\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Vermilion City\",\n                    \"label\": \"Vermilion City\"\n                }\n            },\n            \"id\": \"6\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                289.5,\n                138\n            ],\n            \"popup\": {\n                \"title\": \"Lavender Town\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Lavender Town\",\n                    \"label\": \"Lavender Town\"\n                }\n            },\n            \"id\": \"7\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                186,\n                138.5\n            ],\n            \"popup\": {\n                \"title\": \"Celadon City\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Celadon City\",\n                    \"label\": \"Celadon City\"\n                }\n            },\n            \"id\": \"8\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                200.5,\n                50\n            ],\n            \"popup\": {\n                \"title\": \"Fuchsia City\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Fuchsia City\",\n                    \"label\": \"Fuchsia City\"\n                }\n            },\n            \"id\": \"9\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                230,\n                137\n            ],\n            \"popup\": {\n                \"title\": \"Saffron City\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Saffron City\",\n                    \"label\": \"Saffron City\"\n                }\n            },\n            \"id\": \"10\"\n        },\n        {\n            \"categoryId\": \"2\",\n            \"position\": [\n                81.5,\n                20.5\n            ],\n            \"popup\": {\n                \"title\": \"Cinnabar Island\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Cinnabar Island\",\n                    \"label\": \"Cinnabar Island\"\n                }\n            },\n            \"id\": \"11\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                82.02438661764,\n                139.30003589375\n            ],\n            \"popup\": {\n                \"title\": \"Viridian Forest\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Viridian Forest\",\n                    \"label\": \"Viridian Forest\"\n                }\n            },\n            \"id\": \"12\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                155.875,\n                184.125\n            ],\n            \"popup\": {\n                \"title\": \"Mt. Moon\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Mt. Moon\",\n                    \"label\": \"Mt. Moon\"\n                }\n            },\n            \"id\": \"13\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                233.75,\n                179.75\n            ],\n            \"popup\": {\n                \"title\": \"Cerulean Cave\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Cerulean Cave\",\n                    \"label\": \"Cerulean Cave\"\n                }\n            },\n            \"id\": \"14\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                290,\n                183.5\n            ],\n            \"popup\": {\n                \"title\": \"Rock Tunnel\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Rock Tunnel\",\n                    \"label\": \"Rock Tunnel\"\n                }\n            },\n            \"id\": \"15\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                83.085046789419,\n                153.44217151748\n            ],\n            \"popup\": {\n                \"title\": \"Diglett's Cave\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Diglett's Cave\",\n                    \"label\": \"Diglett's Cave\"\n                }\n            },\n            \"id\": \"16\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                205.0609665441,\n                46.315494167719\n            ],\n            \"popup\": {\n                \"title\": \"Safari Zone\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Safari Zone\",\n                    \"label\": \"Safari Zone\"\n                }\n            },\n            \"id\": \"17\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                142.1284630185,\n                20.50609665441\n            ],\n            \"popup\": {\n                \"title\": \"Seafoam Islands\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Seafoam Islands\",\n                    \"label\": \"Seafoam Islands\"\n                }\n            },\n            \"id\": \"18\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                289.91378028648,\n                166.87720036003\n            ],\n            \"popup\": {\n                \"title\": \"Power Plant\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Power Plant\",\n                    \"label\": \"Power Plant\"\n                }\n            },\n            \"id\": \"19\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                52,\n                167\n            ],\n            \"popup\": {\n                \"title\": \"Victory Road\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Victory Road\",\n                    \"label\": \"Victory Road\"\n                }\n            },\n            \"id\": \"20\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                85.5,\n                17\n            ],\n            \"popup\": {\n                \"title\": \"Cinnabar Lab\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Cinnabar Lab\",\n                    \"label\": \"Cinnabar Lab\"\n                }\n            },\n            \"id\": \"21\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                294,\n                132.5\n            ],\n            \"popup\": {\n                \"title\": \"Pok\\u00e9mon Tower\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Pok\\u00e9mon Tower\",\n                    \"label\": \"Pok\\u00e9mon Tower\"\n                }\n            },\n            \"id\": \"22\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                245.71960646233,\n                94.398755288404\n            ],\n            \"popup\": {\n                \"title\": \"Diglett's Cave\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Diglett's Cave\",\n                    \"label\": \"Diglett's Cave\"\n                }\n            },\n            \"id\": \"23\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                82.377940008233,\n                84.145706961199\n            ],\n            \"popup\": {\n                \"title\": \"Route 1\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Kanto Route 1\",\n                    \"label\": \"Route 1\"\n                }\n            },\n            \"id\": \"24\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                81.49405653175,\n                126.92566722299\n            ],\n            \"popup\": {\n                \"title\": \"Route 2\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Kanto Route 2\",\n                    \"label\": \"Route 2\"\n                }\n            },\n            \"id\": \"25\"\n        },\n        {\n            \"categoryId\": \"1\",\n            \"position\": [\n                126.25,\n                168.875\n            ],\n            \"popup\": {\n                \"title\": \"Route 3\",\n                \"description\": \"\",\n                \"link\": {\n                    \"url\": \"Kanto Route 3\",\n                    \"label\": \"Route 3\"\n                }\n            },\n            \"id\": \"26\"\n        }\n    ]\n}"
}

Don't know if this is just a category to ignore for now, or something else.

Note that visualeditor API is impacted by this problem as well but differently: https://pokemon.fandom.com/api.php?action=visualeditor&mobileformat=html&format=json&paction=parse&formatversion=2&page=Map%3AKanto

{
  "visualeditor": {
    "result": "success",
    "notices": {
      "anoneditwarning": "<table align=\"center\" width=\"90%\" cellpadding=\"5\" style=\"background: #F9F9F9; border: 1px solid #aaa;\">\n\n<tbody><tr>\n<td rowspan=\"2\"><img src=\"https://images3.wikia.nocookie.net/messaging/images//6/68/Login.png\" alt=\"Login.png\" />\n</td>\n<td valign=\"top\" colspan=\"2\"><b>You are not currently <a href=\"/wiki/Special:UserLogin\" title=\"Special:UserLogin\">logged in</a>.</b> A user name helps you track your contributions and communicate with other users. While you are free to edit without logging in, <b>your IP address will be recorded publicly</b>, along with the time and date, in <span class=\"plainlinks\"><a target=\"_blank\" rel=\"noreferrer noopener\" class=\"text\" href=\"https://pokemon.fandom.com/wiki/Map:Kanto?action=history\">this page's edit history</a></span>. Messages sent to your IP can be viewed on <b><a href=\"/wiki/Special:MyTalk\" title=\"Special:MyTalk\">your talk page</a></b>.\n</td></tr>\n<tr>\n<td class=\"plainlinks\" align=\"center\"><a target=\"_blank\" rel=\"noreferrer noopener\" class=\"text\" href=\"https://pokemon.fandom.com/wiki/Special:Userlogin\"><img src=\"https://images3.wikia.nocookie.net/messaging/images//f/f1/Greenbutton.png\" alt=\"Greenbutton.png\" /></a> <b><a href=\"/wiki/Special:UserLogin\" title=\"Special:UserLogin\">Click here to log in</a></b>\n</td>\n<td class=\"plainlinks\" align=\"left\"><a target=\"_blank\" rel=\"noreferrer noopener\" class=\"text\" href=\"https://pokemon.fandom.com/index.php?title=Special:Userlogin&amp;type=signup\"><img src=\"https://images3.wikia.nocookie.net/messaging/images//f/f1/Greenbutton.png\" alt=\"Greenbutton.png\" /></a> <b><a target=\"_blank\" rel=\"noreferrer noopener\" class=\"text\" href=\"https://pokemon.fandom.com/index.php?title=Special:Userlogin&amp;type=signup\">Create a user name</a></b>\n</td></tr></tbody></table>\n<p><br />\n</p>",
      "permissions-error": "<p>You do not have permission to edit this page, for the following reasons:\n</p>\n<ul class=\"permissions-errors\">\n<li>The action you have requested is limited to users in one of the groups: Emailconfirmed Users, Fandom Helpers, Wiki Specialists.</li>\n<li>You do not have permission to edit pages in the <strong>Map</strong> namespace.</li>\n<li>You must confirm your email address before editing pages.\nPlease set and validate your email address through your <a href=\"/wiki/Special:Preferences\" title=\"Special:Preferences\">user preferences</a>.</li>\n</ul>"
    },
    "copyrightWarning": "<div id=\"editpage-copywarn\">Please note that all contributions to the Pokémon Wiki are considered to be released under the CC-BY-SA</div>",
    "checkboxesDef": [],
    "checkboxesMessages": [],
    "protectedClasses": "",
    "basetimestamp": "20240118162241",
    "starttimestamp": "20250220080230",
    "oldid": 1783332,
    "blockinfo": null,
    "canEdit": false,
    "etag": "W/\"1783332/082ffca5-ef61-11ef-b3d4-93d9358d6e82\"",
    "content": "<!DOCTYPE html>\n<html prefix=\"dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/\" about=\"https://pokemon.fandom.com/wiki/Special:Redirect/revision/1783332\"><head prefix=\"mwr: https://pokemon.fandom.com/wiki/Special:Redirect/\"><meta charset=\"utf-8\"/><meta property=\"mw:pageId\" content=\"265616\"/><meta property=\"mw:pageNamespace\" content=\"2900\"/><link rel=\"dc:replaces\" resource=\"mwr:revision/1599366\"/><meta property=\"mw:revisionSHA1\" content=\"6abc26760d2f95a559254378b612633b6dca5f4a\"/><meta property=\"dc:modified\" content=\"2024-01-18T16:22:41.000Z\"/><meta property=\"mw:htmlVersion\" content=\"2.6.0\"/><meta property=\"mw:html:version\" content=\"2.6.0\"/><link rel=\"dc:isVersionOf\" href=\"https://pokemon.fandom.com/wiki/Map%3AKanto\"/><base href=\"https://pokemon.fandom.com/wiki/\"/><title>Map:Kanto</title><link rel=\"stylesheet\" href=\"/load.php?lang=en&amp;modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles&amp;only=styles&amp;skin=vector\"/><meta http-equiv=\"content-language\" content=\"en\"/><meta http-equiv=\"vary\" content=\"Accept\"/></head><body data-parsoid='{\"dsr\":[0,11546,0,0]}' lang=\"en\" class=\"mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output\" dir=\"ltr\"><section data-mw-section-id=\"0\" data-parsoid=\"{}\"><p data-parsoid='{\"dsr\":[0,1,0,0]}'>{</p>\n<pre data-parsoid='{\"dsr\":[2,11544,1,0]}'>   \"mapImage\": \"KantoFRLG.jpg\",\n   \"pageCategories\": [\n       \"Interactive_Map\"\n   ],\n   \"defaultSort\": \"\",\n   \"description\": \"The Kanto Map, WIP (work in progress)\",\n   \"coordinateOrder\": \"xy\",\n   \"mapBounds\": [\n       [\n           0,\n           0\n       ],\n       [\n           474,\n           266\n       ]\n   ],\n   \"origin\": \"bottom-left\",\n   \"useMarkerClustering\": true,\n   \"categories\": [\n       {\n           \"id\": \"1\",\n           \"listId\": 1,\n           \"name\": \"General\",\n           \"color\": \"#fa005a\",\n           \"symbol\": \"G\",\n           \"symbolColor\": \"#fff\"\n       },\n       {\n           \"id\": \"2\",\n           \"listId\": 2,\n           \"name\": \"Important\",\n           \"color\": \"#fad500\",\n           \"symbol\": \"I\",\n           \"symbolColor\": \"#000\"\n       }\n   ],\n   \"markers\": [\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               83.594014291492,\n               66.083333335817\n           ],\n           \"popup\": {\n               \"title\": \"Pallet Town\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Pallet Town\",\n                   \"label\": \"Pallet Town\"\n               }\n           },\n           \"id\": \"1\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               82,\n               109\n           ],\n           \"popup\": {\n               \"title\": \"Viridian City\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Viridian City\",\n                   \"label\": \"Viridian City\"\n               }\n           },\n           \"id\": \"2\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               82,\n               168\n           ],\n           \"popup\": {\n               \"title\": \"Pewter City\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Pewter City\",\n                   \"label\": \"Pewter City\"\n               }\n           },\n           \"id\": \"3\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               52.5,\n               182\n           ],\n           \"popup\": {\n               \"title\": \"Indigo Plateau\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Indigo Plateau\",\n                   \"label\": \"Indigo Plateau\"\n               }\n           },\n           \"id\": \"4\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               229.5,\n               185\n           ],\n           \"popup\": {\n               \"title\": \"Cerulean City\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Cerulean City\",\n                   \"label\": \"Cerulean City\"\n               }\n           },\n           \"id\": \"5\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               229.5,\n               93\n           ],\n           \"popup\": {\n               \"title\": \"Vermilion City\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Vermilion City\",\n                   \"label\": \"Vermilion City\"\n               }\n           },\n           \"id\": \"6\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               289.5,\n               138\n           ],\n           \"popup\": {\n               \"title\": \"Lavender Town\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Lavender Town\",\n                   \"label\": \"Lavender Town\"\n               }\n           },\n           \"id\": \"7\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               186,\n               138.5\n           ],\n           \"popup\": {\n               \"title\": \"Celadon City\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Celadon City\",\n                   \"label\": \"Celadon City\"\n               }\n           },\n           \"id\": \"8\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               200.5,\n               50\n           ],\n           \"popup\": {\n               \"title\": \"Fuchsia City\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Fuchsia City\",\n                   \"label\": \"Fuchsia City\"\n               }\n           },\n           \"id\": \"9\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               230,\n               137\n           ],\n           \"popup\": {\n               \"title\": \"Saffron City\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Saffron City\",\n                   \"label\": \"Saffron City\"\n               }\n           },\n           \"id\": \"10\"\n       },\n       {\n           \"categoryId\": \"2\",\n           \"position\": [\n               81.5,\n               20.5\n           ],\n           \"popup\": {\n               \"title\": \"Cinnabar Island\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Cinnabar Island\",\n                   \"label\": \"Cinnabar Island\"\n               }\n           },\n           \"id\": \"11\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               82.02438661764,\n               139.30003589375\n           ],\n           \"popup\": {\n               \"title\": \"Viridian Forest\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Viridian Forest\",\n                   \"label\": \"Viridian Forest\"\n               }\n           },\n           \"id\": \"12\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               155.875,\n               184.125\n           ],\n           \"popup\": {\n               \"title\": \"Mt. Moon\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Mt. Moon\",\n                   \"label\": \"Mt. Moon\"\n               }\n           },\n           \"id\": \"13\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               233.75,\n               179.75\n           ],\n           \"popup\": {\n               \"title\": \"Cerulean Cave\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Cerulean Cave\",\n                   \"label\": \"Cerulean Cave\"\n               }\n           },\n           \"id\": \"14\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               290,\n               183.5\n           ],\n           \"popup\": {\n               \"title\": \"Rock Tunnel\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Rock Tunnel\",\n                   \"label\": \"Rock Tunnel\"\n               }\n           },\n           \"id\": \"15\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               83.085046789419,\n               153.44217151748\n           ],\n           \"popup\": {\n               \"title\": \"Diglett's Cave\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Diglett's Cave\",\n                   \"label\": \"Diglett's Cave\"\n               }\n           },\n           \"id\": \"16\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               205.0609665441,\n               46.315494167719\n           ],\n           \"popup\": {\n               \"title\": \"Safari Zone\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Safari Zone\",\n                   \"label\": \"Safari Zone\"\n               }\n           },\n           \"id\": \"17\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               142.1284630185,\n               20.50609665441\n           ],\n           \"popup\": {\n               \"title\": \"Seafoam Islands\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Seafoam Islands\",\n                   \"label\": \"Seafoam Islands\"\n               }\n           },\n           \"id\": \"18\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               289.91378028648,\n               166.87720036003\n           ],\n           \"popup\": {\n               \"title\": \"Power Plant\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Power Plant\",\n                   \"label\": \"Power Plant\"\n               }\n           },\n           \"id\": \"19\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               52,\n               167\n           ],\n           \"popup\": {\n               \"title\": \"Victory Road\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Victory Road\",\n                   \"label\": \"Victory Road\"\n               }\n           },\n           \"id\": \"20\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               85.5,\n               17\n           ],\n           \"popup\": {\n               \"title\": \"Cinnabar Lab\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Cinnabar Lab\",\n                   \"label\": \"Cinnabar Lab\"\n               }\n           },\n           \"id\": \"21\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               294,\n               132.5\n           ],\n           \"popup\": {\n               \"title\": \"Pok\\u00e9mon Tower\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Pok\\u00e9mon Tower\",\n                   \"label\": \"Pok\\u00e9mon Tower\"\n               }\n           },\n           \"id\": \"22\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               245.71960646233,\n               94.398755288404\n           ],\n           \"popup\": {\n               \"title\": \"Diglett's Cave\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Diglett's Cave\",\n                   \"label\": \"Diglett's Cave\"\n               }\n           },\n           \"id\": \"23\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               82.377940008233,\n               84.145706961199\n           ],\n           \"popup\": {\n               \"title\": \"Route 1\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Kanto Route 1\",\n                   \"label\": \"Route 1\"\n               }\n           },\n           \"id\": \"24\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               81.49405653175,\n               126.92566722299\n           ],\n           \"popup\": {\n               \"title\": \"Route 2\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Kanto Route 2\",\n                   \"label\": \"Route 2\"\n               }\n           },\n           \"id\": \"25\"\n       },\n       {\n           \"categoryId\": \"1\",\n           \"position\": [\n               126.25,\n               168.875\n           ],\n           \"popup\": {\n               \"title\": \"Route 3\",\n               \"description\": \"\",\n               \"link\": {\n                   \"url\": \"Kanto Route 3\",\n                   \"label\": \"Route 3\"\n               }\n           },\n           \"id\": \"26\"\n       }\n   ]</pre>\n<p data-parsoid='{\"dsr\":[11545,11546,0,0]}'>}</p></section></body></html>"
  }
}

HTML returned by VisualEditor is just garbage (which is kinda worse because it means it is a silent error producing bad ZIM pages)

benoit74 avatar Feb 20 '25 08:02 benoit74