Jump to content

Help talk:VisualEditor/User guide/Flow export

From mediawiki.org

Ready for translation yet?

I look at current version. PS. No wonder this page is poorly translated into other languages now since there are such changes pending now as <nowiki><tvar|reference> → <tvar|ref></nowiki>. Ата (talk) 18:35, 30 August 2016 (UTC)

I broke something in it while updating some labels a couple of weeks ago. I've corrected more than half of it by now, but it still needs about 20 sets of old translation tags/numbers restored. Everything above ==Editing lists== should be correct at this point. Whatamidoing (WMF) (talk) 09:17, 5 September 2016 (UTC)
I've fixed some wikicode errors for you. Wikicode tables are always hard, and when mixed with translation markers it is a freaking nightmare. ;) —TheDJ (Not WMF) (talkcontribs) 14:18, 5 September 2016 (UTC)
I thought that there was one more thing to fix here, but I can't find it now. So perhaps it's been ready for translation weeks. Or perhaps there's an obvious error (or five), in which case, please let me know. Whatamidoing (WMF) (talk) 02:43, 26 October 2016 (UTC)

How to replicate the colon indentation in VE?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


In the source editing mode a colon (:) would indent a paragraph a small amount. Is there any way to do this in VE? T0lk (talk) 18:25, 4 September 2016 (UTC)
Not yet. You can indent pointed and numbered lists, but you can't indent single paragraphs. You have to edit the wikitext. Mannivu · 18:26, 4 September 2016 (UTC)
Mannivu ·  18:26, 4 September 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Is it possible to do a numbered list with an indented section that uses letters

Hi

Is it possible to do a numbered list with an indented section that uses letters? E.g

1.

2.

3.

4.

a.

b.

c.

5.

6.

Thanks

(I can't get the formatting to work on here but the letters should be indented) John Cummings (talk) 16:23, 18 November 2016 (UTC)

It's not possible, because it's not possible in wikitext list formatting. But if it's important, then you could use HTML to format the lists. There's an example here (under "Combining them together") that gives sample code for numbers and lowercase letters: https://www.electrictoolbox.com/letters-roman-numerals-html-ordered-list/ Whatamidoing (WMF) (talk) 16:32, 18 November 2016 (UTC)

References system not working in Basque Wikipedia

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Which files do we have to localize in order to use the automatical citing feature? Theklan (talk) 23:21, 6 December 2016 (UTC)

Hello, Theklan, and thanks for your interest in this. Elitre and I have documented instructions here: Citoid/Enabling Citoid on your wiki. I hope that it will be helpful for you, and I also hope that you'll let me know if you have ideas about how to improve it. It looks like User:Xabier Cañas recently grabbed a copy of Module:Citation/CS1 for the Basque Wikipedia, so you probably have current version of the citation templates, which is a good starting point. Whatamidoing (WMF) (talk) 20:31, 7 December 2016 (UTC)
Thanks! I'll try to localize this! Theklan (talk) 21:20, 7 December 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Musical notation - translates

Hi, there is not translation strings to musical notation. Frettie (talk) 13:13, 28 December 2016 (UTC)

Feel free to add them. AKlapper (WMF) (talk) 21:17, 28 December 2016 (UTC)
Ok, i will do it! Frettie (talk) 23:11, 28 December 2016 (UTC)
user:John Broughton, is there anything that should be edited/changed/adjusted in that section before translators begin? Whatamidoing (WMF) (talk) 21:09, 29 December 2016 (UTC)
I added this strings to translate tags, so iam not translation admin, so this is unmarked to translate. Frettie (talk) 13:26, 2 January 2017 (UTC)

Edit a Template Wikimedia page using Visual Editor

For example Template:Editorial. Is there is a way to do it? How?
I know this sounds weird but it would be useful on my site.
Thanks. 81.200.189.7 (talk) 11:25, 23 January 2017 (UTC)
Did you see Help:VisualEditor/User guide#Editing templates  ? AKlapper (WMF) (talk) 15:00, 23 January 2017 (UTC)
https://phabricator.wikimedia.org/maniphest/query/JBC4zZa592Iq/#R lists a lot of tasks related to VisualEditor and MediaWiki-Templates so I'd guess there is a way. :) AKlapper (WMF) (talk) 15:00, 23 January 2017 (UTC)
Thank you I know about that, but I want to give the ability to beginners users to edit template pages using the VisualEditor text editor. I know that we can add some attribute and some content using the Template menu but that is not very user friendly. 81.200.189.7 (talk) 17:29, 23 January 2017 (UTC)
Could you explain which functionality you are exactly missing? AKlapper (WMF) (talk) 00:01, 24 January 2017 (UTC)
Template pages can't be "editable" using Visual Editor as we can see on this screenshot: http://hpics.li/fbea3f2 where normal pages can: http://hpics.li/713b641
No way to change that? 81.200.189.7 (talk) 08:39, 24 January 2017 (UTC)
OK I have found a way: I create a normal page and then move it as a template page. Sorry for being unclear all along! 81.200.189.7 (talk) 09:28, 24 January 2017 (UTC)
You can define which namespaces have access to VisualEditor, and I believe that you can even make this work for the Template: namespace. However, I encourage you to think carefully about this. If your typical templates look anything like the English Wikipedia's, then it's likely that you would regret attempting visual editing there.
The new Beta Feature (VisualEditor's built-in wikitext mode) works in all namespaces. If you create an account here, you can opt into the Beta Feature in your preferences and see what that looks like. Whatamidoing (WMF) (talk) 07:17, 25 January 2017 (UTC)
Thanks Whatamidoing for your answer. I agree with you about using Visual Editor carefully, I think that we will create our own template and have our own wiki behavior. I will take a look to that Beta you are talking. :) 81.200.189.7 (talk) 11:29, 25 January 2017 (UTC)
Is there is a way to get this feature in a private wiki? 81.200.189.7 (talk) 08:59, 26 January 2017 (UTC)
As I said above, if you control the wiki, then you can define which namespaces have access to visual editing. Whatamidoing (WMF) (talk) 03:11, 27 January 2017 (UTC)

change editing to adding for section titles

Hi

Can I suggest that the section titles that start with Editing are changed to Adding? E.g 'Editing images' would be changed to 'Adding images'. It would make a lot more sense grammatically and would be a much more common search term for people to Google.

Thanks John Cummings (talk) 11:31, 23 February 2017 (UTC)

The sections also cover information about how to change existing images, so I can accept either approach (or other alternatives). @John Broughton, what's your preference? Whatamidoing (WMF) (talk) 17:31, 2 March 2017 (UTC)
Maybe "adding and changing"? My problem with editing is that its a bit jargony for new contributors, making it hard to Google.
Thanks John Cummings (talk) 16:30, 12 March 2017 (UTC)

Support for chem needs to be included

Lest we forget. Elitre (WMF) (talk) 16:58, 6 March 2017 (UTC)

Automatic citation

After a conversation on de.wiki, a need has emerged to have up-to-date documentation about all the identifiers that are supported by citoid and the supported ways to specify all of them (for example, you can write 10.1016/j.neunet.2004.05.005 or DOI 10.1016/j.neunet.2004.05.005 or DOI:10.1016/j.neunet.2004.05.005, but apparently this isn't true for the other identifiers). Elitre (WMF) (talk) 15:42, 15 March 2017 (UTC)

Part of this may be already available at https://en.wikipedia.org/wiki/User:PerfektesChaos/js/citoidWikitext#Possible_searches, but that page doesn't exactly list all the valid stuff that citoid will accept. Ping @User:Mvolz (WMF). Elitre (WMF) (talk) 15:53, 15 March 2017 (UTC)
Ok - where should this list go? In the User Guide?
There will be a lot of things that will be *possible* just to be more user-friendly, but the best results will be with:
  • Include the protocol with the link (i.e. http:// or https://) - we'll guess http if you don't use the protocol and if it doesn't match any searches. If the link contains a DOI and no prefix is given, for instance, it will actually select DOI as the identifier. And if it's only available over https we can follow a redirect if there is one, although a few, although not many, sites don't redirect http -> https.
  • Include the PMC prefix. i.e. PMC12345. We had to institute this because of collisions with PMIDs - previously with or without was allowed. Once we allow multiple results, then this will no longer be required and both will be returned and you can insert the correct citation.
  • PMIDs have to just be the integers. If there's other notation that commonly goes around PMIDs let me know and we can include it.
  • For DOIs, just the DOI is preferred with no prefix, but as you note, many things are acceptable with DOI- it can even be picked up from within a URL. This is because DOI has a reasonably distinct pattern to it so we can use regex to find it in the middle of a String.
  • For ISBNs, hopefully any correctly formatted ISBN will work.
  • If we are unable to identify the input, we stick an http:// on the front of it and assume it is a link and try to access it. If there's nothing there, we return a "couldn't make a citation for you" result.
Most of this stuff is an artefact of how easily the identifier can be identified. DOI has a reasonable unique pattern although there are definitely false positives and false negatives - PMIDs are terrible because it's just an integer of indefinite length and so we have to be as strict as we can with it. URLs are actually surprisingly difficult to identify - just google url regex and you'll find bunches of people doing it a bunch of different ways. So if you find anything unexpected with how the things are being identified, please report it on phabricator; there are a surprisingly large number of edges cases with these things. Mvolz (WMF) (talk) 09:42, 16 March 2017 (UTC)
Neither PMCs or ISBN are currently listed as options on the interface, and this is an initial source of confusion.
The other one is that inconsistency isn't much user-friendly :) Expectations are that the system will work in the same way with any prefix. So it will either accept some combinations of prefix and numbers, or it won't - but allowing it in some cases and not in others looks confusing even if we document it well.
When you say "multiple results", what will that look like? Here's a mockup a user provided - having a separate field for the identifier.
You can put the list wherever you want, and then we can take care of placing it in relevant places. Thank you! Elitre (WMF) (talk) 10:56, 16 March 2017 (UTC)
Elitre, do you see this as being Phab:108980 or a separate project? Whatamidoing (WMF) (talk) 03:14, 21 March 2017 (UTC)
Well, of course it could/should go there, but I was hoping that a mere list, even here, wouldn't take so long to produce. Elitre (WMF) (talk) 15:56, 21 March 2017 (UTC)
I think that Help:VisualEditor/User guide/Citations-Full is the page for citoid-enabled wikis. I've not touched it for a very long time. Whatamidoing (WMF) (talk) 18:10, 21 March 2017 (UTC)

Interface message not shown

For some reason "math-visualeditor-mwmathinspector-title" is not on MediaWiki. It exists on Translatewiki: https://translatewiki.net/wiki/MediaWiki:Math-visualeditor-mwmathinspector-title/en Stryn (talk) 16:21, 10 October 2017 (UTC)

I've finally found the new version, and added it. It's been a long while since this was updated. Whatamidoing (WMF) (talk) 23:53, 27 January 2018 (UTC)

wrong direction text

I haven't enabled another language than English, but the editor tends to move my cursor from right to left, if I'm editing the middle of a line. dchmelik (t|c) 07:12, 27 November 2017 (UTC)
Can you provide a more specific description of the issue you're seeing? How to report a bug can help you with that. Thanks. Elitre (WMF) (talk) 10:58, 27 November 2017 (UTC)
I meant right to left. dchmelik (t|c) 01:48, 28 November 2017 (UTC)
That sounds all good to me, as English is a Left-to-Right language. Malyacko (talk) 10:24, 27 November 2017 (UTC)
I meant right to left. dchmelik (t|c) 08:24, 12 February 2018 (UTC)
What's your web browser and operating system? Does this happen on all pages or just one? Whatamidoing (WMF) (talk) 04:31, 28 November 2017 (UTC)
Slackware GNU/Linux, various web browsers (not all Mozilla,) all pages. dchmelik (t|c) 04:37, 6 February 2018 (UTC)
Can you please at least confirm on which wiki this is happening? Thanks. Elitre (WMF) (talk) 11:14, 6 February 2018 (UTC)
at least Wikipedia dchmelik (t|c) 08:18, 12 February 2018 (UTC)
at least Wikipedia dchmelik (t|c) 11:53, 6 February 2018 (UTC)
Which of the 300 Wikipedias? :) Please also see How to report a bug for hints how to provide steps to reproduce - thanks! Malyacko (talk) 17:53, 6 February 2018 (UTC)
Just Wikipedia... didn't say I use one of the 299 new (subdomain) ones; stated my language at a top dchmelik (t|c) 08:20, 12 February 2018 (UTC)
Can you describe in a bit more detail exactly what is going wrong, as I'm not sure I follow? ESanders (WMF) (talk) 14:28, 6 February 2018 (UTC)
I read 'how to report a bug' and there's basically nothing more to say. This has been happening for months/years, so maybe across several versions of the Visual Editor, though I don't edit as much as in the 2000s, so unsure how many years this has been going on. There are no more details other than obviously, I was typing on a line (what else would I be doing?) and the text was moving from right to left. It just seems to happen randomly, but a lot, like if I edit a huge article with things to add to several sections, the text direction will shift maybe 50% of the time... and they're not articles with Hebrew or Japanese, etc. Sometimes I was able to retry writing in the text a different way, then eventually it worked. I went to that test2 site but just can't edit it, so this is apparently all I can say. dchmelik (t|c) 08:27, 12 February 2018 (UTC)
"I haven't enabled another language than English" definitely doesn't mean "I only edit the English Wikipedia". On en.wiki, click on the gear next to "Languages" in the left sidebar. Those are the Universal_Language_Selector settings. Both display and input ones should be pointing to English (actually the input one should be disabled, I think).
This said, on the English Wikipedia, this is your only edit with the visual editor ever. So, one idea is that you could mean that the problem is about the 2017 wikitext editor instead, as that's the one you seem to be using regularly (although this may or may not make a difference). To see whether this changes anything, you could go into your Beta preferences at en.wp, unselect both "Automatically enable all new beta features" and "New wikitext mode", save, and see if the shifting issue also occurs with the older wikitext editor you are using now.
There are several other things that we may suggest if this doesn't solve. However, it requires a bit of patience and collaboration. For example, you could have suggested a single article where the issue always happens, state at which point specifically you started editing, etc. You could also have tried in a sandbox and saved the final result. The amount of details may look irrelevant to you, but it's what helps others figure out what is happening. (Just looking at your previous contributions there doesn't help much, sadly.) Elitre (WMF) (talk) 11:40, 12 February 2018 (UTC)

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


[My translation does not make sense showing [1] in the output. Why can't we use Example Domain or "External links without labels look like this: [http://example.com Sample/Example Domain]." for translation source so that other lang could translate accordingly. Omotecho (talk) 09:52, 30 January 2018 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Please don's split parentheses pair among source

My update true to your change causes problem and labeled as "need update"; error message as follows has persisted before saving the translation; "There is an uneven amount of parenthesis: (): 1". I am afraid while the translation is true to your change, the translation system does not accept such update/change. Omotecho (talk) 10:23, 30 January 2018 (UTC)

I believe that this has been resolved. Whatamidoing (WMF) (talk) 00:21, 14 February 2018 (UTC)

Translation: Thesauri broken? Help:VisualEditor/User guide/198

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


The translated page shows error to me: Could you have a look please? "$formula-title" shows correct on translation module ja, however it;

  • displays on the Help page in ja as; ページに数式を新たに追加するには、挿入したい場所にカーソルを置き、ツールバーの「挿入」メニュー上の「⧼math-visualeditor-mwmathinspector-title⧽」アイコン(「Σ」)をクリックします。
  • I expect to see 数式 instead of ⧼math-visualeditor-mwmathinspector-title⧽. Omotecho (talk) 17:27, 21 February 2018 (UTC)
Thanks for reporting this. Indeed. The problem also happens in other languages. See for example https://www.mediawiki.org/w/index.php?title=Help:VisualEditor/User_guide/cs#Editace_matematických_vzorců or https://www.mediawiki.org/w/index.php?title=Help:VisualEditor/User_guide/de#Mathematische_Formeln_bearbeiten.
I wonder which code base provides "math-visualeditor-mwmathinspector-title". And whether that code base can be "reached", to replace that string correctly... AKlapper (WMF) (talk) 18:33, 21 February 2018 (UTC)
If the code was broken, it'd appear broken in English as well, AFAIK? So: either the translations are featuring an old one that has in the meantime been replaced, or there's been some mistake in the tagging process that, if resolved and page was remarked for translation, would probably fix the issue? Elitre (WMF) (talk) 12:28, 22 February 2018 (UTC)
I see. So it means;
  1. nothing to do with double-byte languages like ja, ko, and zh? They show the same error.
  2. how a translator know what is causing such display error?
  3. can I leave as is and maybe it will be mended someday with a bot or auto-updated?
On translation.net, as a translator, it is not accessible if there had been any update in the source which is not sorted out nor flagged with system message noting “there is outdated string for update” or such; in this case, the particular source in Translation.../ja does not show it has been updated to date. Omotecho (talk) 12:45, 22 February 2018 (UTC)
The message is now math-visualeditor-mwmathdialog-title not math-visualeditor-mwmathinspector-title (and has been for a while). I think the translation is out of date. I null edited the page, purged it, remarked it for translation, and re-confirmed the Japanese translation of unit 198, and now it appears correctly. Sorry for this! Jdforrester (WMF) (talk) 17:30, 22 February 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Click or press?

I changed it because now there are both words, and would be better to use one of them anywhere to make it consistent. Stryn (talk) 20:47, 8 April 2018 (UTC)

Good point. Fixed in this edit. Jdforrester (WMF) (talk) 21:12, 8 April 2018 (UTC)

Is there some way to use visual editor to replace an image with another whilst maintaining the formatting?

Hi

I'm trying to think of ways to create easy to use templates for photo essays for the Wiki Loves competitions. If I created a template with placeholder images with special formatting (e.g larger than normal and in galleries with no borders) and placeholder text, is there an easy way to replace the placeholder images in VE?

I mean something like this https://commons.wikimedia.org/wiki/User:John_Cummings/WLE_photo_essay_template

Thanks John Cummings (talk) 15:29, 12 April 2018 (UTC)

If you use exactly that (not a {{template}}, but that gallery code itself), then the users could remove the old images and insert new ones. Switch to the visual mode and try it out on your page to see what I mean.
How soon do you need this? The team isn't really working on galleries right now, but it might be possible to convince them to add a "Change image" button (assuming that it's not much extra work). Whatamidoing (WMF) (talk) 02:25, 13 April 2018 (UTC)

Hi, Is there a way I can remove multiple wikilinks from a table ?, At present I can only seem to do one link at a time, Thanks, ~ Davey2010 (talk) 14:08, 16 November 2018 (UTC)

Resolved - Used the clear formatting tool, Thanks ~ Davey2010 (talk) 17:20, 16 November 2018 (UTC)
I thought that "clear formatting" wasn't supposed to remove links. Whatamidoing (WMF) (talk) 18:47, 21 November 2018 (UTC)

apierror-visualeditor-docserver-http-error: (curl error: 28)

What could be the problem?

Are there some common problems I have to take a look at it?

Im running a xampp Webserver (Windows Server 2016). 83.150.41.60 (talk) 09:43, 17 December 2018 (UTC)

I have the same error.......I tried all but still have this problem 37.117.153.247 (talk) 23:57, 29 December 2018 (UTC)
I don't know. People usually ask questions like this at Extension talk:VisualEditor or at the general Project:Support desk. Whatamidoing (WMF) (talk) 18:01, 24 January 2019 (UTC)

Help needed, Bosnian Wiki

Hello,

When we click to this link from Bosnian Wiki (https://bs.wikipedia.org/wiki/Mw:Special:MyLanguage/Help:VisualEditor/User_guide), we don't go to the bosnian version of help (which exists) but it reverts to English one. Can anybody assist what needs to be done? Mhare (talk) 11:41, 17 June 2019 (UTC)

Cannot reproduce in Firefox. After setting Bosnian as my language, your link goes to the Bosnian version of help.
What are your Language settings in Special:Preferences ? Are they set to Bosnian? AKlapper (WMF) (talk) 12:19, 17 June 2019 (UTC)
I tested as unregistered user, to simulate new user clicking the help link. It leads me to again to English site. It is correct that if you set explicitly your language in setting that it will go to correct page. That is not ideal, and it might discourage new users. All computer that I have tried from have Bosnian input settings and other related language settings. Mhare (talk) 13:16, 17 June 2019 (UTC)
What are your exact language settings in the settings of your web browser? AKlapper (WMF) (talk) 15:28, 17 June 2019 (UTC)
Are you using the "Special:MyLanguage" link at bs.wikipedia.org? Maybe it would be better to send people straight to the translated subpage (Help:VisualEditor/User guide/bs). Whatamidoing (WMF) (talk) 20:04, 20 June 2019 (UTC)
Andre, I don't think that web browser language settings matter. Unless users have intentionally changed their GlobalPrefs, then the second they arrive at mw.org, their language is re-set to English. The default UI language for this wiki is English, even if you are arriving at this wiki by clicking on a link at a wiki in another language. Whatamidoing (WMF) (talk) 20:06, 20 June 2019 (UTC)
Hi,
Sorry for late reply.
Whatamidoing, yes, we use "Special:MyLanguage" link. I agree, I will recommend our administrators that they set link in that way. I found out that web browser language made no difference. Another thing is, that most bosnians here, just use software in english language, because they can't find their way if it's translated :)
Thanks for help! Mhare (talk) 08:51, 25 June 2019 (UTC)
Our sysop asks where exactly he can change this link. Link is located in editing mode, where question mark icon is, and text is "Read the user guide" Mhare (talk) 09:30, 25 June 2019 (UTC)
The link is defined in "visualeditor-help-link". The translation which is used for all and any MediaWiki users (also outside of Wikimedia sites) who use Bosnian as their language setting is defined and translated in https://translatewiki.net/w/i.php?title=MediaWiki:visualeditor-help-link/bs&action=edit and you likely do not want to change that.
MediaWiki allows custom overrides of user interface text on a per-website basis. For the "Bosnian Wikipedia" website, such a custom override would have to be defined in https://bs.wikipedia.org/wiki/MediaWiki:Visualeditor-help-link AKlapper (WMF) (talk) 10:17, 25 June 2019 (UTC)

Please remove "margin:auto;" in

Margin:auto is causing user guide information to be centered, I assume this is not the intended look & feel. Removing the margin will align the content to the left. 64.251.40.245 (talk) 18:30, 8 July 2019 (UTC)

Can you tell me more about what you're seeing? For example, do you happen to be using a wide screen? Whatamidoing (WMF) (talk) 22:23, 9 July 2019 (UTC)

Pic not showing on users guide/citation template

Could you fix the translation tag or anything? Something is not working on the image lm|VisualEditor Toolbar without Citoid|png. Only “1200px” in red shows on /ja page. https://www.mediawiki.org/w/index.php?title=Help:VisualEditor/User_guide/Citation_templates/ja&oldid=2982007 Omotecho (talk) 14:15, 13 July 2019 (UTC)

Screenshot auto-updating

Hi,

In 2015 or so, @Vikassy implemented auto-updated and auto-translated screenshots for this user guide as a GSoC project. @ZFilipin (WMF) and I mentored him. It worked well and was very useful because it kept the guide up to date with VE's current look and strings. However, the Ruby code was difficult to maintain, so if I recall correctly, @ZFilipin (WMF) and @ESanders (WMF) rewrote it in JavaScript in 2016. The screenshot auto-updating software kept working at least for some time after that.

Is this still maintained?

I see, for example, that File:VisualEditor Media Insert Menu-en.png still says "Media", even though the button label was changed to "Images and media" a few months ago.

Pinging also @PPelberg (WMF) and @Whatamidoing (WMF). Amir E. Aharoni {{🌎🌍🌏}} 11:14, 23 June 2020 (UTC)

It looks like its last run was in June 2018.[1] Whatamidoing (WMF) (talk) 15:21, 23 June 2020 (UTC)
OK, thanks. Maybe @ESanders (WMF) or @ZFilipin (WMF) know more about it? I remember @ESanders (WMF) investing quite a lot of effort in it in 2016. Amir E. Aharoni {{🌎🌍🌏}} 16:09, 23 June 2020 (UTC)
We still have the code maintained in the VE repo, and it is ready to be run again, but I don't think I have the access to trigger it. ESanders (WMF) (talk) 16:25, 23 June 2020 (UTC)
The job is here and I've triggered it to run again, let's see what happens. The last run took about ~9 hours... ESanders (WMF) (talk) 16:32, 23 June 2020 (UTC)
Thanks! Amir E. Aharoni {{🌎🌍🌏}} 17:10, 23 June 2020 (UTC)
The screenshots have been updated with about a 3% failure rate. I would also note that fewer than half of the screenshots in the user guide are using auto-screenshots, could be a good project for someone to improve that. ESanders (WMF) (talk) 13:53, 28 June 2020 (UTC)
Thanks! The one I referred to in my opening question, File:VisualEditor Media Insert Menu-en.png, is updated.
I wonder why do they look a bit fuzzy, but I guess that's a separate issue. Amir E. Aharoni {{🌎🌍🌏}} 17:46, 28 June 2020 (UTC)
They look fairly sharp to me.. ESanders (WMF) (talk) 11:14, 20 July 2020 (UTC)
Hello! :) I have found that File:VisualEditor_edit_tab-ru.png is outdated and File:VisualEditor - Section edit links-ru.png not exist. Is it possible to recreate this two screenshots or recreate all screens on that page? Iniquity (talk) 20:22, 19 July 2020 (UTC)
Those images are no longer generated by the bot, probably because it requires the per-wiki configuration to know if we should show one edit tab or two, and all the screenshots currently run on a test page on en.wiki. I would recommend you just generate them by hand. ESanders (WMF) (talk) 11:13, 20 July 2020 (UTC)
Are there any other screenshots that need to be manually corrected? To me, in any case, the scheme seems to be quite inconvenient. Better to take all screenshots, and then replace if necessary. Otherwise, it appears completely outdated. Iniquity (talk) 11:18, 20 July 2020 (UTC)
The design team is working on updating so much of the interface right now, that I wonder whether it'd be better to do that in a few months. I understand that OOUI is going to be replaced, (so the 'blue button' will look a little different), and there's the Desktop improvements project, which will make several changes to the appearance. Wtih all that coming up, any screenshots we make now will be outdated by New Year's. Whatamidoing (WMF) (talk) 19:50, 20 July 2020 (UTC)
The "replacement" of OOUI will likely not affect the design of the major components, it's more a technology change. ESanders (WMF) (talk) 13:41, 21 July 2020 (UTC)
In my opinion, this should be done with every design update. The bot does not ask for food :) And while we wait, many users will receive outdated documentation. Iniquity (talk) 21:30, 20 July 2020 (UTC)
I was thinking of the human effort needed to make manual ones. The bot used to run automagically, on a set schedule (just checking to see whether any update needed to be made), and that's fine with me. Whatamidoing (WMF) (talk) 18:58, 21 July 2020 (UTC)
Creating new screenshot tasks is unlikely to be on any team's priority list any time soon, but volunteer patches are always welcome. ESanders (WMF) (talk) 13:40, 21 July 2020 (UTC)

[[]] button

In the template editor dialog, there is a [[]] button on every field. Its tooltip is "Fall back to plain wikitext". I always saw it, but never really understood what it is. I didn't even realize it's a button until I read what User:Robin Strohmeyer (WMDE) wrote about it on the page :meta:WMDE Technical Wishes/Templates. And even after reading that, I don't understand what does it do. I see that it changes the text fields to a monospaced font, but I don't see any other effects. If I understand correctly, the values in these input box are plain wikitext in any case, although I might be wrong.

So, if it doesn't do anything, perhaps it should really be removed, as the proposal on that page says.

If it does something, I don't understand what it is, and it should be documented here. I can't see that it's mentioned in the User guide, but maybe I am missing it.

Thanks! Amir E. Aharoni {{🌎🌍🌏}} 09:35, 8 July 2020 (UTC)

If I understand correctly, the values in these input box are plain wikitext in any case, although I might be wrong.

You are indeed wrong in theory, though in practice most templatedata types aren't enforced yet, as there were too many disagreements between community members as to how their templates should be written. Jdforrester (WMF) (talk) 10:57, 8 July 2020 (UTC)
Curious.
Can you give me any links to discussions about this?
Are there any types for which this is implemented? Maybe this button could be shown only for those. If I'm not wrong again, I think that it is shown everywhere now. Amir E. Aharoni {{🌎🌍🌏}} 11:58, 8 July 2020 (UTC)

License for screenshots

Hello! Are you sure we should use a complex license commons:Template:Wikimedia-screenshot, not a regular one commons:Template:MediaWiki-screenshot for screenshots from this page. The screenshots do not seem to have a lot of protected AP text. Iniquity (talk) 23:57, 10 August 2020 (UTC)

@Quiddity (WMF) could probably give you better advice, but I think you could use the complex page if it contains any "content", and the regular MediaWiki one for "empty" screenshots (just showing the user interface, with no article content).
Also, if you are using article content from Help:Sample page to make the screenshots, then it's CC-0/public domain, so no attribution is required. Whatamidoing (WMF) (talk) 01:58, 2 September 2020 (UTC)

mp3 preview

How can i get an mp3 preview instead of the broken image in media window? 2A02:908:1C41:6900:D867:85CD:2DCB:E396 (talk) 14:13, 7 January 2022 (UTC)

Where and why do you get a "broken image" on which site after which steps running which MediaWiki version? Please provide way more information. Thanks. AKlapper (WMF) (talk) 16:53, 7 January 2022 (UTC)

How do I disable the "Edit source" tab but have the source editor as default?

Is it possible to have the "Edit source" tab disabled but have the source editor as default just like on Wikipedia? 81.154.143.60 (talk) 14:39, 27 September 2022 (UTC)

If you mean "here on this wiki", you need to login first. Then, you will be able to choose your favorite Editing mode from a dropdown in https://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-editing . Elitre (WMF) (talk) 16:02, 27 September 2022 (UTC)
I meant for logged out users on my wiki. 81.154.143.60 (talk) 20:10, 27 September 2022 (UTC)
I have now added $wgVisualEditorUseSingleEditTab = true; to my LocalSettings.php file which has made it now show a single tab that defaults to edit source which is more or less what I want. 81.154.143.60 (talk) 20:32, 27 September 2022 (UTC)
In Special:Preferences#mw-prefsection-editing there's an "Editing mode" preference. This is part of the VisualEditor/Single edit tab. I believe that you can configure your wiki to default to any of the items in that dropdown menu. Whatamidoing (WMF) (talk) 21:46, 30 September 2022 (UTC)

If I have a file link like [[Media:filename.pdf|filename]] on a page that I'm editing with the visual editor, it changes it to [[index.php?title=Media:filename.pdf|filename]] and every other similar file link in the page. These newly renamed filelinks don't work. Is there a way to stop Visual Editor from doing that?

Stephen 216.48.86.87 (talk) 22:24, 1 December 2022 (UTC)

Thanks for your question. I'll see if User:Whatamidoing (WMF) can address it. Elitre (WMF) (talk) 12:18, 2 December 2022 (UTC)
Are you running your own wiki? Whatamidoing (WMF) (talk) 22:12, 5 December 2022 (UTC)
Yes.
1.35.7

216.48.86.87 (talk) 20:28, 15 December 2022 (UTC)

I have a similar issue with the categories.
When editing a page in visual editor the categories are red and displayed as "index.php?title=Kategorie:XXX". When saved and viewed it is a normal link.
Same also for some of the links 213.61.173.172 (talk) 08:11, 21 December 2022 (UTC)
When I add $wgUsePathInfo=true; in my Localsettings this issue is solved, BUT then I can no longer change the Namespaces in "Special:AllPages". 213.61.173.172 (talk) 08:16, 21 December 2022 (UTC)
Thanks! This worked for me. I was hoping to stay with 1.35 because it is an LTS. I checked "Special:AllPages" and it seemed to work for me but I really only have standard Namespaces and may not be using Namespaces as fully as you. 216.48.86.87 (talk) 19:59, 3 January 2023 (UTC)
It seems to be fixed in v1.39: phabricator.wikimedia.org/T270219
I'm using v1.38 and will test to upgrade 213.61.173.172 (talk) 10:47, 21 December 2022 (UTC)
Adding $wgUsePathInfo=true; to LocalSettings resolved my issue. 2605:A601:AFE8:4C00:EC52:178A:F7A6:444B (talk) 13:07, 22 November 2023 (UTC)
I'm using v1.41 and I set $wgUsePathInfo=true; in my Localsettings, but still I get the links changed.
Thank you
Luigi Gigisoave (talk) 16:57, 12 February 2024 (UTC)
I added a Support Desk topic on this issue here: Visual editor breaks category:fubar on pages on Project:Support desk (mediawiki.org)
Just found this page, so I will update here if anyone can help me on that request. School4schools (talk) 22:33, 18 February 2024 (UTC)

How to use VE on forms?

I remember seeing forms textarea using the Visual Editor. How is it done ? I didn't see it in the documentation. 163.62.112.175 (talk) 12:36, 15 December 2022 (UTC)

Why do you want to do that? Whatamidoing (WMF) (talk) 19:29, 10 January 2023 (UTC)
For this you need Extension:VEForAll Krabina (talk) 12:08, 31 March 2023 (UTC)

How to create a new Template content?

In this how to first open Template Content? Dshrm (talk) 22:21, 13 March 2023 (UTC)

I'm not sure I understand the question. You might need to use a keyboard shortcut, namely Ctrl+⇧ Shift+Y. Thiemo Kreuz (WMDE) 08:51, 14 March 2023 (UTC)

Is there an user guide for mobile?

Mobile users don't have the insert menu, and would like to know the alternative ways. Kokage si (talk) 15:08, 7 April 2023 (UTC)

The mobile visual editor has limited capabilities. You can't insert new images, templates, tables, or other items from the visual editor, although you can (mostly) edit the things that are already on the page. Whatamidoing (WMF) (talk) 22:38, 11 April 2023 (UTC)
For example, I found that I can start the math formula editor by typing "<math". It is not a visual way, but can be helpful to start visual editing. Kokage si (talk) 10:41, 12 April 2023 (UTC)

Signature format

The default signature function in the visual editor currently uses the timestamp signature (~~~~). I would like it to use the signature without timestamp (~~~).

Is it possible to configure this function (as it is, for example, for the wikieditor via the Mediawiki:Sig-text page)? Nanash (talk) 02:18, 26 September 2023 (UTC)

Unfortunately, this appears to be hard-coded in the ~~&repos=Extension%3AVisualEditor code. Thiemo Kreuz (WMDE) 06:43, 26 September 2023 (UTC)
I think you might be able to fake it with a subst:d template. Whatamidoing (WMF) (talk) 17:38, 26 September 2023 (UTC)
Yes, I could create a template. But using it would be even more of a hassle than shifting between VE and the wikieditor. Nanash (talk) 21:22, 26 September 2023 (UTC)

Edit wikitext between templates

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I made 3 templates(1col, 2col, End) that generate 2 columns layout. Can I edit wikitext between templates in Visual Editor?

Visaul Editor 2 columns Dimka665 (talk) 22:55, 29 September 2023 (UTC)

Yes. There should be a little [[]] button at the bottom that says "Add wikitext". Thiemo Kreuz (WMDE) 09:08, 30 September 2023 (UTC)
This let edit source code. I want to use Visual editor for that. Dimka665 (talk) 11:27, 30 September 2023 (UTC)
Maybe you can explain your example in more detail? What wikitext do you want to place between the three templates you mentioned? Usually the issue is that a piece of wikitext in such a context is "unbalanced", which means it doesn't make sense on its own but only in the context of the templates. But what the templates mean is hidden in their code and cannot be understood by tools like VisualEditor. Thiemo Kreuz (WMDE) 12:02, 30 September 2023 (UTC)
  <div class="container"> # 1col template
<div class="col1"> # 1col template
wikitext 1
</div> # 2col template
<div class="col2"> # 2col template
wikitext 2
</div> # end template
</div> # end template
Visual Editor joins it into one template context and forbid to edit in visual mode. Dimka665 (talk) 22:27, 30 September 2023 (UTC)
I'd like to prevent creation of Template content object Dimka665 (talk) 13:57, 2 October 2023 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

When did the bug with HTML comments being deleted by Visual editor get fixed?

I'm using a site running MediaWiki 1.35.13 and VisualEditor 0.1.2, and we've noticed that HTML comments which are inserted either by the Visual Editor or in wiki code with <!-- TEXT --> get deleted from the page if we use the visual editor. We plan to upgrade, but am not sure if the but is fixed in the latest version of VisualEditor compatible with the latest LTS version of MediaWiki, or if we would need to upgrade to an even older version.


Can anyone help inform us when this comment bug was fixed so that we know what minimum software versions we need to upgrade to? Thank you! OncMD (talk) 14:56, 29 October 2023 (UTC)

As far as I'm aware of VisualEditor was never supposed to delete comments. I tried to search for related bug reports but couldn't find much, maybe except for this one. Impossible to tell if this related without knowing more about the circumstances. I think it's easier of you update to the next LTS first and see if you can still reproduce the issue. Thiemo Kreuz (WMDE) 07:52, 30 October 2023 (UTC)

Using the Visual Editor changes the category text

Hello there,

I have the issue that the visual editor changes the category

from: [[Kategorie:Ressourcen]]

to: [[index.php?title=Kategorie:Ressourcen]]

It happens when I open the page and make a change with the visual editor. It doesn't happen when I open it in the normal source editor. Changing the category with the visual editor to the right category changes it to what it should be.


Is there a way to change that behaivour?

I'm using MediaWiki 1.40.0 Taumelski (talk) 13:33, 12 November 2023 (UTC)

Visual editor mode only opens in a new Google Chrome tab

Something changed a while ago, and now when I click the "Edit" button/link, nothing happens. To be precise, the page address changes: &veaction=edit&section=1 is added, but the editing mode does not start. The only thing that helps is opening “Edit” in a new browser tab, which is very inconvenient.

I use Google Crome 119.0.6045.124. OS Windows 11, macOS Sonoma — the same problem.

I mainly work on the Russian-language Wikipedia, the page addresses contain Cyrillic Afanasovich (talk) 10:07, 13 November 2023 (UTC)

Sources problems

Hello. In the Bulgarian Wikipedia in "Edit" mode with the visual editor, when copying a given source and then editing the copied one, both were changed. This is really a problem, it was not so few days ago. Some solution? Станислав Николаев (talk) 06:48, 29 November 2023 (UTC)

Replacing an image from the person´s information card

I need help for replacing the picture on the person´s information card template. Lil Herrera (talk) 17:54, 10 February 2024 (UTC)

Searching TemplateData's SuggestedValues

I have a template that is set up with TemplateData and a long list of suggested values. When using the VisualEditor to insert this template, our editors can't search through the suggested values easily through the combobox.

Is it possible to configure the search for the combobox of suggestedvalues? It seems to use a "start with" search function instead of "contains"


Example:

I want to use the suggested value "Chapter 1.00" when inserting the template. I type in "1.00" and cannot find that value. I end up having to type in "Chapter" Torenity (talk) 02:59, 17 February 2024 (UTC)

"Edit source" button doesn't work while in Visual Editor

Hello. For some time now I have been having the problem where all the sudden when I try to click on "edit source" or "Source Editor" while in Visual Editor, it does nothing, in fact nothing loads. Sometimes it will give you the prompt: Invalid response from server.

Also I have the problem where now whenever I try to save long written articles the article will start saving and then prompt with: "server didn't respond in time"

I have updated the response time to being longer than was before and it sometimes works but usually does not and just gives that prompt.

This is on Mediawiki 1.40 btw. Guillaume Taillefer (talk) 21:00, 2 April 2024 (UTC)

Was there a cause or solution found for this? I am seeing the same behavior. Although I do not see any prompts. It just does nothing when trying to switch from "Visual editing" to "Source editing" Medicinestorm (talk) 21:36, 24 June 2024 (UTC)
No I have not been able to figure this one out. Maybe it is because of something like having the Nimbus skin or some extension I have installed. Idk its really weird and annoying. Ill have to look into my extensions list and trouble shoot to see which one is maybe the culprit. Also I tried updating MediaWiki and VisualEditor and neither thing fixed it. Guillaume Taillefer (talk) 00:55, 25 June 2024 (UTC)

Edit on visual editor works only on MainPage

Hi,

Suddednly, edit with visual editor stop working on all pages on my wiki except for the MainPage where it works perfectly.

I have 3 wiki on different databases. In every wiki I have the same behavior: in main page visual editor works, in the internal pages it doesn't.

Source editor works on every pages.

Thank you

Luigi Gigisoave (talk) 10:09, 3 April 2024 (UTC)

I have seen this same behavior. In addition, there is no toolbar for "Edit Source" and I cannot click on the tabs under profile preferences. Mine is a private wiki and I have a copy locally that has no issues. The only difference is how they handle HTTPS. Have you found a fix for this? I've even tried upgrading to a more recent version of MW. My next troubleshooting will be to change my "online" upgraded version to local and see if the issue remains.
SG GobleStL (talk) 21:53, 14 May 2024 (UTC)

VisualEditor doesn't load when I click "Edit"!

Product Version
MediaWiki 1.42.3
PHP 8.2.24 (fpm-fcgi)
ICU 69.1
MariaDB 10.6.19-MariaDB-log
Lua 5.1.5
Pygments 2.17.2

Hello there! I'm hoping someone can help me with this issue. I noticed when I click edit on both a page itself and the sections, VIsualEditor doesn't seem to load? I see the "?title=Main_Page&veaction=edit" appear at the end of the URL, though it also turns the URL into "https://wiki.wikiname.com/w/index.php?title=Main_Page&veaction=edit."

I've tried adding $wgUsePathInfo = true; to my LocalSettings.php file to no avail and making sure I'm running a version of VE that's compatible with MediaWiki (had to manually check and update since Softaculous doesn't seem to be thorough)--I'm not sure what

``(59ba842) 00:22, 24 October 2024``

means? I--I probably broke something. Could someone help me troubleshoot and figure out what's going on? Orribu (talk) 03:31, 26 October 2024 (UTC)

Found the solution per Project:Support desk/Flow/2024/09#h-Can't_click_Preference_tabs_(other_than_User_profile)_+_'Edit'_no_longer_works;-20240906232600; it appears some issues with extra out of date skins I wasn't using anyway was causing issues; uninstalling them did the trick! Orribu (talk) 01:55, 27 October 2024 (UTC)