Jump to content


About this board

Post your feedback about using the visual editor. Learn how to report problems clearly.

Need more attention? Report directly in Phabricator. The Wikimedia Foundation does not provide support for installing VisualEditor on third-party wikis.

You can read the guide to optimize the visual editor on your site. The guide explains how to set up citation templates.

View open developer tasks Report a new bug in Phabricator

Previous page history was archived for backup purposes at VisualEditor/Feedback/LQT Archive 1 on 2015-07-30.
2001:B400:E784:D030:FDAB:299C:EF7E:7805 (talkcontribs)
Reply to "No"

Using Visual Editor on just a single section?

RoySmith (talkcontribs)

One of the things that annoys me about VE is that you can't edit just a single section. Even if you click on the "edit" link next to an individual section heading, you still end up editing the entire page. I remember reading somewhere that due to the way VE parsed the page (or something like that), this was unavoidable.

But, I just noticed that on wikitech, it does work! Clicking the "edit" link next to a section head does indeed get you into VE looking at just that section. For example: https://wikitech.wikimedia.org/w/index.php?title=Help:Toolforge/My_first_Flask_OAuth_tool&veaction=edit&section=1. Wonderful! So, how does this work? Is there some option I need to enable? Or is wikitech running a newer version of VE and I just have to wait for it to get rolled out to enwiki?

Reply to "Using Visual Editor on just a single section?"

Removal of new line at the end of comments in templates

1 (talkcontribs)

Visual editor is removing new line characters at the end of comments inside infobox templates. This is very disruptive. For examples see:

https://en.wikipedia.org/w/index.php?title=Santa_Maria,_California&curid=108140&diff=1233223778&oldid=1233174582 https://en.wikipedia.org/w/index.php?title=Sunnyvale,_California&diff=next&oldid=1232524470

Comments such as "" serve as subheadings in templates helping editors by providing structure. The is modelled in the template here:


Visual editor is also reducing the number of spaces used to align the equal signs so that this ergonomically valuable alignment is disrupted.

@Gaius Cornelius

Reply to "Removal of new line at the end of comments in templates"

The problem of 'pointer-events: none'.

TGasAEGO (talkcontribs)
Bolideleoi (talkcontribs)

Yeah I've also had this problem for two days (can't click on reference links anymore). There is an open issue on Phabricator.

Reply to "The problem of 'pointer-events: none'."

Compatibility with draft category container

Sdkb (talkcontribs)
Jdforrester (WMF) (talkcontribs)

Ultimately it looks unfeasible for that wikitext hack to be made to work, as you're trying to push page-level meta-data through a template (which is incompatible with the future of templates, of course). Just substitute the template and all will be well?

Reply to "Compatibility with draft category container"

How do you set the background color of a table cell?

2601:545:8201:6290:6C29:CD8C:7CC:9884 (talkcontribs)

The old method doesn't work anymore. How is it done now?

Whatamidoing (WMF) (talkcontribs)

This can't be done in the visual editor. You must do this in wikitext ("source") mode.

2601:545:8201:6290:6C29:CD8C:7CC:9884 (talkcontribs)

I was actually using the "source" mode. The existing coding to set background color no longer had an effect (background colors that used to show in the "old software" no longer do). I tried a few variations, but had no success. I then thought perhaps the visual editor would have a feature for it, probably being the "preferred mode", but there seemed to be none (as you've confirmed). I then thought I'd read the "User's Guide", and found nothing there, so I decided to "leave feedback" to ask about it (this here thread). Anyway, the old code, referencing a "standard color name", looked like this:

|width = "22px" bgcolor = "aquamarine" |

I thought perhaps "color names" were no longer recognized, so I tried substituting the equivalent hex: |width = "22px" bgcolor = "#7fffd4" |

still with no luck. I also tried it without the "#", still no luck. Then some other unsuccessful variation. Finally I figured i'd just come here and ''ASK'' how's it's done now. So then...how is it done now?

2601:545:8201:6290:6C29:CD8C:7CC:9884 (talkcontribs)

That is, how is it done now in "source mode", as the old code no longer works?

Whatamidoing (WMF) (talkcontribs)

Thanks for clarifying the question. If you search for the word background in https://en.wikipedia.org/wiki/Help:Table then you will find several examples. The old bgcolor approach isn't mentioned there, so it must have disappeared at some point.

2601:545:8201:6290:C59A:461:311B:8855 (talkcontribs)

THANK YOU! :) In summary, the old syntax bgcolor = "yellow" has been replaced with style = "background: yellow" such that with old source code containing the old form, a global-search-and-replace can be performed, replacing bgcolor = " with style = "background: (you may wish to include a SPACE at the end of the new text, but it is not required).

1957Harry (talkcontribs)

The old method does work, try this:

{| class="wikitable"



! Functie

! Kleur


| | D3

| | Warming(OCXO)

| bgcolor = "blue" |


| | D4

| | LOCK

| bgcolor = "green" |


Reply to "How do you set the background color of a table cell?"

Identificação de vandalismo indevida.

Júllia Santana (talkcontribs)
Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

URL: https://pt.wikipedia.org/w/index.php?title=Stardew_Valley&veaction=edit Saudações! Estou tentando adicionar informações relevantes a respeito do jogo e a arqueologia presente dentro dele, para que os jovens e outros jogadores possam expandir seus conhecimentos de forma dinâmica e simples com a ajuda da Wikipédia. Infelizmente, sempre sou barrada com acusações de vandalismos que nunca são identificadas ou intruidada para melhorar. Por favor, permita que minha edição seja publicada.

Reply to "Identificação de vandalismo indevida."

How to change my Wikipedia page title

Teckant (talkcontribs)
Reply to "How to change my Wikipedia page title"

Wikitext is incorrectly copied into template parameters

Jarble (talkcontribs)

When I attempt to copy wikitext from VisualEditor into a template's parameters in VisualEditor, the wikitext is incorrectly converted into plain text. This is probably a bug; it should copy wikitext instead of plain text.

Reply to "Wikitext is incorrectly copied into template parameters"

Warning: Array to string conversion in D:\phpstudy_pro\mediawiki-1.41.1\extensions\VisualEditor\includes\Hooks.php on line 889

2408:8418:F20:8C59:24CD:C3C5:7E7E:E8E9 (talkcontribs)

see: https://github.com/StarCitizenTools/mediawiki-skins-Citizen/issues/829

Steps to reproduce the behavior:

  1. Install the theme according to https://www.mediawiki.org/wiki/Skin:Citizen/zh#Configuration.
  2. In LocalSettings.php, set wfLoadSkin( 'Citizen' ); $wgDefaultSkin = "Citizen";
  3. A warning appears at the top of the page.
  4. See error

Expected Behavior

When I installed the Citizen theme and enabled it, a warning appeared at the very top of the page:

Warning: Array to string conversion in D:\phpstudy_pro\mediawiki-1.41.1\extensions\VisualEditor\includes\Hooks.php on line 889


Please complete the following information:

  • MediaWiki version v1.41.1
  • Server OS: Win10
  • Installed extensions and versions SemanticMediaWiki4.1
  • PHP version PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:37) ( NTS Visual C++ 2019 x64 )
2603:C022:800E:6C00:505:FBEE:55E6:3764 (talkcontribs)

I also encountered this problem, have you solved it?

Alistair3149 (talkcontribs)

You need to load the Citizen skin after all extensions.

Reply to "Warning: Array to string conversion in D:\phpstudy_pro\mediawiki-1.41.1\extensions\VisualEditor\includes\Hooks.php on line 889"