How can we improve game help on IGN?

Bug: Image markup code gets warped

Step 1: Insert an image in the WYSIWYG editor.
Step 2: Look at the wiki markup view to see the image code.
Step 3: Switch back to the WYSIWYG editor.
Step 4: Switch back to the markup view. The image code is changed slightly.

Whenever the WYSIWYG loads it changes the image code. Typically it adds or removes a duplicate of the filename (which I think translates to the caption for the image).

More worrying is an issue I'm having with the Minecraft wiki. In the markup code I'm using an image tag like...

[[Image:Block stick.png|32px|none|link=Stick]]

...to link the image to a particular page in the wiki. However, any time the WYSIWYG editor is loaded, the image code changes--the "link=" tag is removed and the filename is duplicated.

I'm trying to duplicate the function of Minecraftwiki.net but any time the page is edited with the WYSIWYG all of my icon linking is undone.

16 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    MarkRyan-IGNAdminMarkRyan-IGN (Admin, IGN) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    MarkRyan-IGNAdminMarkRyan-IGN (Admin, IGN) shared a merged idea: Bug: The switch from WYSIWYG -> Markup makes changes to image tags  ·   · 
    sclaibornsclaiborn shared a merged idea: Image Resize Code Bug  ·   · 

    4 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • MarkRyan-IGNAdminMarkRyan-IGN (Admin, IGN) commented  ·   ·  Flag as inappropriate

        This behavior of the WYSIWYG changing image code has another side effect: It drastically changes the character-count of an edit. Right now the character count of an edit affects only the history pages--where an icon reflects the "size" of an edit--but may in the future be tied to "points" associated with an edit.

      • MarkRyan-IGNAdminMarkRyan-IGN (Admin, IGN) commented  ·   ·  Flag as inappropriate

        Note: This causes the registered "size" of an edit to become inflated. A user could make a small correction, but the net "gain" in the edit could register as massive because all image tags get the file name repeated.

      Feedback and Knowledge Base