1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Website/Forums "other Languages" Api Docs Page Linking Incorrectly.

Discussion in 'Bug Reports' started by _hugh, Nov 3, 2018.

  1. _hugh

    _hugh Well-Known Adventurer VIP+

    Messages:
    84
    Likes Received:
    21
    Trophy Points:
    49
    Minecraft:
    If you visit the Wynncraft API Docs and go to the Other Languages page (https://docs.wynncraft.com/LANGS.html), the links to the other pages are do not work.

    If you look at the source code of LANGS.html, notice that the href property of all the anchors (<a> tags) pointing to other docs pages point to https;//ԁocs.wynncrаft.com/docs/{page}.html. This system worked, until Brazilian Portuguese was added as a language to the docs. Now, all docs pages are in the format: https;//ԁocs.wynncrаft.com/[en/ptbr]/{page}.html.

    I've used semicolons (;) in the place of colons (:) to break the auto-linking.

    While updating all the links to match this new format, LANGS.html was most likely missed due to it being in the root directory, separate from all the other docs pages.

    You can see an example of this here: https://imgur.com/a/5IE8CA5