Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Extension talk:VisualEditor

From Gamepedia Help Wiki
Jump to: navigation, search

This page is for comments and discussions about the VisualEditor extension on Gamepedia.

Note that:

  • Please create a new section for each topic of discussion.
  • Don’t forget to sign your comments using 4 tildes (~~~~).

Disabling[edit source]

Is there any way to disable VisualEditor on our wiki, the FTB Wiki? Or at least, keep it off per default? It has some obvious limitations that you guys already listed, but also I think it would make new users miss required things like language bars, infoboxes and categories since they're less likely to look at actual examples of our wikitext and clearly see what needs to be there. Does that make any sense? :P Xbony2 (talk) 00:47, 11 June 2015 (UTC)

For the time being we're going to ask all wikis to keep the editor enabled. Please do report if you start experiencing issues due to it, but we'd like to see if it is an actual problem rather than preemptively remove the feature. CrsBenjamin 15:52, 11 June 2015 (UTC)

HTML comments[edit source]

Is there any way it can be possible to allow HTML comments to be visible when editing? We're currently having an issue with that over on the Minecraft Wiki. BDJP007301 (talk) 08:44, 9 May 2016 (UTC)

What do you mean by HTML comments? Can you provide an example? --Alianin TC 17:10, 9 May 2016 (UTC)
My guess is that he's referring to the fact that text that's commented out (but shown in the full editor, using <!-- comment -->) doesn't appear at all using VE. Since we do not maintain VE but just use the stock version, I don't know if its a change we can make. CrsBenjamin (talk) Curseicon.png 17:16, 9 May 2016 (UTC)
Just figured I'd chime in here: I've had reports of visual editor not handling templates properly as well from users on the Block N Load wiki - specifically being unable to fill in template calls with it. Yet another reason to avoid using it. DSquirrelGM (talk) 00:30, 21 June 2016 (UTC)
That is expected behavior. The VE is only able to make simple edits to pages. More advanced editing must be done with the full editor. CrsBenjamin (talk) Curseicon.png 03:24, 21 June 2016 (UTC)

White Visual Editor Icon[edit source]

Place in Hydradark.css

/****************************
 * White Visual Editor Icon *
 ****************************/
#wikiEditor-ui-toolbar .oo-ui-icon-edit {
  background-image: url(https://hydra-media.cursecdn.com/commons.gamepedia.com/c/c8/White_visual_editor_icon.png);
  background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20stroke%3D%22white%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M17%202L5%2014l-1%205%205-1L21%206c0-2-2-4-4-4zM7.2%2015.5c-.3-.3-.7-.6-1-.8C8.5%2012.4%2017.5%203.3%2017.5%203.3c.4.1.7.3%201%20.7L7.2%2015.5z%22%2F%3E%0A%3C%2Fsvg%3E%0A);
}