VisualEditor/Feedback

Jump to navigation Jump to search

About this board

Post your feedback about using the visual editor.

If you have never provided feedback before, you can learn how to do it effectively. If you are reporting a problem directly on this page, please include your web browser, computer operating system, and wiki skin (usually Vector, sometimes Monobook). The feedback tool within the visual editor will include your user agent details instead.

You can use this page to tell the Wikimedia developers your ideas and issues about using the visual editor: this is the only feedback page actively monitored by WMF staff. The Contributors team welcomes your feedback and ideas, especially on user interface decisions and the priorities for adding new features. All comments are read, in any language, but personal replies are not guaranteed: the team will try and go through reports here at least once a week. Need more attention? Report directly in Phabricator. Please note that the Wikimedia Foundation does not provide support for installing VisualEditor on third-party wikis. Please report bugs involving Parsoid at Talk:Parsoid instead.

You may also want to read a guide to optimize the visual editor's experience on your site, which details work necessary on the community side (such as translating or setting up citation systems).

View open developer tasks Report a new bug in Phabricator Join the IRC channel Test the visual editor! (no account required)

Input of Korean letters to a single-clicked table cell

1
Doyoon1995 (talkcontribs)

When typing Korean letters into a single-clicked table cell, the first one is always ignored. When I type "cat" into a single-clicked cell, all three letters are actually typed into the cell. For "고양이", the result is "ㅗ양이" with the first component "ㄱ" missed. Could somebody help?

Reply to "Input of Korean letters to a single-clicked table cell"

Suggestion: Reconsider using <nowiki> when wrapping bold or italics

10
197.218.91.29 (talkcontribs)

Issue:

There seem to be a considerable number of bad uses of markup when an apostrophe is used.

Steps to reproduce:

  1. Go to Sandbox
  2. Type a single apostrophe: '
  3. Select the apostrophe (highlight it)
  4. Set it as bold (Ctrl + B)
  5. Save page

Possible solutions

  1. Always use the html entities for those so it becomes '''&#39;''' ; or
  2. Wrap it around html tags, so instead of '''<nowiki/>'''' it becomes <b>'</b>

Notes:

I came upon these after seeing it in an article and searching for them. There are plenty of ridiculous examples:

https://en.wikipedia.org/w/index.php?title=Kilteel&diff=prev&oldid=616000454

The Archaeological Survey of Ireland notes a 16th or 17th century house in Blackchurch whose site has yet to be identified, presumably the <nowiki/><nowiki/>'<nowiki/>''stump of a castle''<nowiki/>'.<ref>KD015-011</ref> <nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/>

https://en.wikipedia.org/w/index.php?title=Belle_%28Beauty_and_the_Beast%29&diff=prev&oldid=837869142

<nowiki/><nowiki/><nowiki/><nowiki/>{{rquote|left|As Disney heroines go, Belle was an iconoclast. 

https://en.wikipedia.org/w/index.php?title=Andrzej_Grzegorczyk&diff=prev&oldid=830828900

<nowiki/>''<nowiki/>''<nowiki/>''<nowiki/>'''<nowiki/><nowiki/><nowiki/>'''''

https://it.wikipedia.org/w/index.php?title=HMS_Britannia_%281904%29&diff=prev&oldid=98332054

<nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/><nowiki/>''<nowiki/><nowiki/>''

See more: https://en.wikipedia.org/w/index.php?title=Special:Search&limit=500&offset=0&profile=default&search=insource%3A%2F%5C%3Cnowiki%5C%2F%5C%3E%5C%3Cnowiki%5C%2F%5C%3E%2F

197.218.91.29 (talkcontribs)

Alternatively, the parser should be smart enough to normalize these nowikis and simply remove all markup(apostrophes) that will result in no content being rendered at all.

Whatamidoing (WMF) (talkcontribs)

@SSastry (WMF), is any of this covered by your existing collection of nowiki bugs?

Arlolra (talkcontribs)

The current set of normalizations performed before nowikis are added for correctness can be found at Parsoid/Normalizations

Empty styling tags should now be stripped, https://www.mediawiki.org/wiki/Parsoid/Normalizations#Strip_empty_headings_and_style_tags

Edits that result in runs of consecutive nowikis is still open and filed as, https://phabricator.wikimedia.org/T108009

Cleaning up old messes (at the first example above was from 2014, long before Parsoid added these normalizations) is filed as, https://phabricator.wikimedia.org/T107675

The workboard for Parsoid's nowikis is at, https://phabricator.wikimedia.org/tag/parsoid-nowiki/ but there doesn't seem to be anything specific about lone apostrophes, though the egregious examples don't really seem to be about that and should be covered by the above.

197.235.60.107 (talkcontribs)

>Empty styling tags should now be stripped,https://www.mediawiki.org/wiki/Parsoid/Normalizations#Strip_empty_headings_and_style_tags

Not true, or not working properly in all cases. I was just fiddling around with visualeditor, and discovered another (https://www.mediawiki.org/w/index.php?title=Project:Sandbox&diff=prev&oldid=2975510).

The steps to reproduce are similar to the ones above:

  1. Go to Sandbox
  2. Type a single apostrophe: '
  3. Select the apostrophe (highlight it)
  4. Set it as bold (Ctrl + B)
  5. Press backspace (delete the apostrophe)
  6. Save page

For whatever reason Visualeditor seems to keep the bold style tags, probably waiting for the user to type more stuff. While Visualeditor could certainly fully erase the <b> tags it doesn't make sense for parsoid to show it at all. My guess is that's the greatest source of these nowiki tags because the user can't even see it at all.

While it may be annoying, in the end VisualEditor could aggressively ask the user if they want to remove strange constructs from the rendering. Sometimes a user may just forget they left something like that behind.

Arlolra (talkcontribs)

Hmm, I'm having a hard time reproducing that, given the steps you've provided. Can you tell me about your OS / browser?

Also, if you're familiar with your browser's console, when you're saving your edit (with the "Review your changes" pane open), if you could copy the result of invoking ve.init.target.docToSave.body.outerHTML that would help me determine what Parsoid is receiving to be serialized.

Thanks.

197.235.60.107 (talkcontribs)

OS, Browser: Windows 7 , Chrome 68

It is strange, it was harder to reproduce it now. It seems to be related to editing an older revision:

  1. Click https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=edit&oldid=2975510
  2. Remove the apostrophe
  3. Save page

Markup(ve.init.target.docToSave.body.outerHTML) :

<p id="mwBA">Test</p>

<p id="mwBQ"></p><b id="mwBg"><span typeof="mw:Nowiki" id="mwBw"></span></b>

<p id="mwCA"><b id="mwCQ"><span typeof="mw:Nowiki" id="mwCg"></span></b></p></body>
197.235.60.107 (talkcontribs)

If you want the full thing it is :

<body id="mwAA" lang="en" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><div class="borderc8 backgroundc1" style="padding:0.3em 0.5em 0.3em 0.5em; border-style:solid; border-width:medium" about="#mwt1" typeof="mw:Transclusion" data-mw="{"parts":[{"template":{"target":{"wt":"Please leave this line alone and write below (this is the coloured heading)","href":"./Template:Please_leave_this_line_alone_and_write_below_(this_is_the_coloured_heading)"},"params":{},"i":0}}]}" id="mwAg">
<p><span style="color:#cf7606; font-size:140%;"><b>Edit this page</b></span>
<meta property="mw:PageProp/notoc">
This "sandbox" page is to allow you to carry out experiments. Please feel free to try your skills at formatting here. If you want to learn more about how to edit a wiki, please read <a rel="mw:WikiLink" href="./Help:Editing_pages" title="Help:Editing pages">this introduction</a> or the <a rel="mw:WikiLink/Interwiki" href="https://en.wikipedia.org/wiki/Wikipedia:Tutorial" title="en:Wikipedia:Tutorial">tutorial at Wikipedia</a>. This Sandbox is for the classic editing interface. There's also a <a rel="mw:WikiLink" href="./VisualEditor:Test" title="VisualEditor:Test">Sandbox</a> for the <a rel="mw:WikiLink" href="./VisualEditor" title="VisualEditor">VisualEditor</a>.
<meta property="mw:PageProp/noeditsection">
To edit, <b><a rel="mw:ExtLink" class="external text" href="//www.mediawiki.org/w/index.php?title=Project:Sandbox&action=edit">click here</a></b> or <i>"edit"</i> at the top of the page, make your changes in the dialog box, and click the <i>"Save page"</i> button when you are finished.  Please do not add material that is any way offensive, that is copyrighted, or that is at all libelous.</p>

<p><b>If you are looking for information about testing MediaWiki, see <a rel="mw:WikiLink" href="./QA" title="QA" class="mw-redirect">QA</a>.</b></p>
<hr>
<p><i>Content added here will not stay permanently; this page is cleared regularly. <span class="plainlinks"> <a rel="mw:ExtLink" class="external text" href="//www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=456598&action=edit&summary=reset">Click here to reset the sandbox.</a></span></i></p>
</div><span about="#mwt1"> 

</span><h1 about="#mwt1" id="Testing_Area">Testing Area</h1>

<p id="mwBA">Test</p>

<p id="mwBQ"></p><b id="mwBg"><span typeof="mw:Nowiki" id="mwBw"></span></b>

<p id="mwCA"><b id="mwCQ"><span typeof="mw:Nowiki" id="mwCg"></span></b></p></body>"
Arlolra (talkcontribs)

The contract Parsoid has with VE is that, in an edited context, VE will drop the nowiki spans, which still seem to be present here, so it makes sense why the serialized wikitext would still contain the nowikis.

That's from https://phabricator.wikimedia.org/T58381

Pre-edit,

<p><b><span typeof="mw:Nowiki"></span>'</b></p>

Post-edit,

<p></p><b><span typeof="mw:Nowiki"></span></b>

That looks like a VE bug, but maybe it's something Parsoid should be helping with, as discussed in, https://phabricator.wikimedia.org/T58381#1055479

197.235.60.107 (talkcontribs)

Funny thing. I tried deleting all content within the page, and that nowiki tag and its apostrophes friends don't want to be removed. According the the show changes button it remains in the article. Not sure if that's a bug or a feature to prevent removal of "unknown elements".

It is still unexpected.

Reply to "Suggestion: Reconsider using <nowiki> when wrapping bold or italics"
Tihus (talkcontribs)
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36

Yritin poistaa tekemäni mallinteen (yritys) artikkelista Palvelualojen Työnantajat Palta, koska en saanut sitä mieleisekseni ja koska Palta on yhdistys. Järjestelmä ilmoitti parametritarkistuksesta eikä antanut julkaista muutosta. Voisitteko poistaa mallinteen?

Kyykaarme (talkcontribs)

The user's good faith edits were prevented by a local abuse filter. The issue seems to be solved now.

Reply to "Muutoksen julkaisu estyi"

Signature option at talkpages at gl.wiki

3
Elisardojm (talkcontribs)
TheDJ (talkcontribs)

That's not a talk page though, it's a user page....

Elisardojm (talkcontribs)

Ah, true, but, users can edit it with Visual Editor, and it works as a talk page... Perhaps the sign option should/could be enabled at users namespace... Bye.

Reply to "Signature option at talkpages at gl.wiki"

Ошибки в редакторе. Bugs.

3
Concrete Stocking (talkcontribs)
Браузер: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

URL: https://ru.wikipedia.org/w/index.php?title=%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Concrete_Stocking/%D0%A7%D0%B5%D1%80%D0%BD%D0%BE%D0%B2%D0%B8%D0%BA&veaction=edit&oldid=96445967

1. Если поставить ударение любым из имеющихся шаблонов в текстовом редакторе, а затем переключиться в визуальный, то шаблон будет показан как текст, ударение не отобразится.

2. Если из текстового редактора перейти в визуальный, после чего нажать "Записать страницу", то кнопки для быстрого описания изменений (викиф, оформл, стил и остальные) не отобразятся.

  1. If you put a stress with a template in the common editor and then switch to the visual one, the stress won't appear, you'll just see the template as a text instead.
  2. If you switch from the common editor to the visual one, the buttons for a short description of your changes won't appear. (I don't know if there are any in the English Wikipedia, but there are some in the Russian one)
TheDJ (talkcontribs)
Concrete Stocking (talkcontribs)
  1. sure! stress (in this case) = ''the emphasis you put on one part of a word. In the word 'blanket', the stress is on the first syllable.''
  2. got it
Reply to "Ошибки в редакторе. Bugs."

Miten lisätyn virheellisen kuvan voi poistaa?

2
Hovitin1 (talkcontribs)
User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

URL: https://fi.wikipedia.org/w/index.php?title=Tiedosto:Finnkinon_logo.svg&stable=0&veaction=edit

Olen yrittänyt poistaa logoa, joka ei ole ollut Finnkinon käytössä enäää vuosikausiin. Sivun muokkaustilassa on vain maininta etten voi korvata kuvatiedostoa uudella?! Ihmiset löytävät tämän logon googlen kautta ja käyttävät sitä koska he luottavat wikipediaan. Voisitteko ystävällisesti poistaa tämän vanhentuneen logon välittömästi.

Kyykaarme (talkcontribs)

Hei, vastaan Wikipedian puolella esimerkiksi keskustelusivullasi. Yritit muokata tiedoston sivua, mutta itse tiedostoja voivat poistaa vain ylläpitäjät. Jos tiedoston haluaa pois artikkelista niin silloin pitää muokata artikkelia eikä tiedostoa. I will reply on the talk page of the user on Finnish Wikipedia. User tried to remove an image by editing the image page.

Reply to "Miten lisätyn virheellisen kuvan voi poistaa?"

VisualEditor on namespace #4: Wikipedia

1
Benoit Rochon (talkcontribs)

Hello,

On fr:wp we start a survey to enable VE within pages of namespace #4, Wikipedia. In 2015, we did it for namespaces Portal and Wikiproject and we are very happy about it. Now, in 2018, VE is a very powerful tool, which is used by a majority of contributors, so I'm wondering if there is a limitation to enable it in that namespace.

In a nutshell, on fr.wp, all our GLAM pages are in that namespace, and I receive a lot of requests from institutions staff that their GLAM pages are not easy to edit.

Thank you in advance, Benoit Rochon (talk) 20:44, 21 November 2018 (UTC)

How to prevent VE from making certain automatic transformations?

6
Bdijkstra (talkcontribs)

In this edit the user fixed a typo, but also there were three unwanted automatic transformations. Is there a way to prevent this?

Alsee (talkcontribs)
197.235.232.83 (talkcontribs)

The media issue is resolved. The second issue is caused by the non-standard "link" with transclusions. Visualeditor / parsoid doesn't deal with it correctly. That transformation is certainly an issue because any change to the document triggers it.

Bdijkstra (talkcontribs)

Great, the media issue is now indeed acceptable. I see however that it still replaces spaces by underscores in some cases.

197.235.232.83 (talkcontribs)

Indeed. To answer the main question, the simplest way to prevent unintended transformations is to avoid using exotic wikitext markup. Transcluding part of a link is not only unusual but it is potentially confusing to new editors. In fact, I was under the impression that such transclusions should only work if prefixed by ":" , e.g.:

{{:Mediawiki:Example}}

Maybe the real issue is that perhaps second transformation should not work even with the current mediawiki parser. It may be an unintended side-effect because there could certainly be a template named "Template:Mediawiki:Example".

Although it doesn't discount the accuracy of your report. Visualeditor should certainly not be transforming things that the user didn't deliberately edit.

Bdijkstra (talkcontribs)

You are right, the link with Mediawiki:-transclusion should be substed; if and when the tracking category is renamed, its links are easy enough to find.

Reply to "How to prevent VE from making certain automatic transformations?"

Suggestion: Make the VisualEditor diff feedback tool add the diff to page

4
197.235.56.25 (talkcontribs)

Issue:

It seems that currently the Diff tool just links people to the diff page, and many users may not know anything about diffs.

Proposed solution:

Use feedback tool add the diff to page

Alternative:

Use Help:Structured Discussions/Preloading .

A Feedback form with placeholder fields or simply text (e.g. "Problem: , Where: Using what feature", would also be a good idea. The current one is just adds a link, and is probably the source of a lot of empty feedback for people who just experiment with clicking buttons.

197.235.56.25 (talkcontribs)

Example of a confused user who clearly doesn't know how to find a diff:https://www.mediawiki.org/w/index.php?title=Topic:Uiu1bcfx0jvbe3jg&action=history

Funny thing is that Mediawiki.org itself doesn't even have reasonable documentation about how to link to a diff. Despite a lot of help pages / feedback and even the how to report bug page asking for "diffs".

It seems like a classic case caused by the Burden of experience.

Whatamidoing (WMF) (talkcontribs)

From inside the editor (i.e., you're looking at the diff, but you haven't published your changes yet), it's impossible to create the diff URL. The revision id that's needed for the URL isn't assigned until the change is saved.

197.235.232.83 (talkcontribs)

This is true, but visualeditor (and all sensible editing tools) always knows what the previous / current revision was, from a user's perspective. Linking to that is better than simply linking to the page itself.

In fact, in many cases it will be more productive to link to that. Sometimes the user is having trouble saving the page, so the revision they are editing is a more useful reference than the current page simply because in many cases the page be edited several times.

Reply to "Suggestion: Make the VisualEditor diff feedback tool add the diff to page"

Is it possible to turn off the notices on visual editor?

4
Thedonquixotic (talkcontribs)

EVERY SINGLE TIME I open a new topic that hasn't been made before I get that little pop up telling me that I'm making a new page. I know ! It's like Navi from Zelda. Yeesh!

Can I turn it off?

TheDJ (talkcontribs)

These are likely editnotices, which are specifically added by the community of editors to show up every single time when editing a page or a namespace. Talk to your local community if there are notices that you think should not be shown.

Thedonquixotic (talkcontribs)

@TheDJ I'm learning development and decided to start my own personal self hosted mediawiki wiki so I am the guy in charge of that, but I don't know how to do that, and I'm having trouble finding documentation on how to turn them off. Any pointers?

197.235.232.83 (talkcontribs)
Reply to "Is it possible to turn off the notices on visual editor?"