Talk:2017 wikitext editor

About this board

Hi, thanks for your interest in the 2017 wikitext editor. Please post all feedback at 2017 wikitext editor/Feedback, in any language. Thank you!

Bad edit by the editor

2
Jarekt (talkcontribs)
TheDJ (talkcontribs)

The user probably copy pasted it, and then the editor asks the user to convert the html to wikitext or not. If you don't know wikicode as a user, it isn't easy to know what the right answer is, and what the result of that answer is, and how to adapt that. If you convert the html to wikicode, you will get something like this bad edit. The right choice is NOT to convert (keep the literal text, ignore the html markup).

Reply to "Bad edit by the editor"

Text highlighting requests

2
Ifly6 (talkcontribs)

I have two questions:

  • Is it possible to get text highlighting for text that is inside a reference tag?
  • Is it possible to fix the bug with images where the text highlighting ends with the first set of ]] instead of where it actually ends?
Whatamidoing (WMF) (talkcontribs)
Reply to "Text highlighting requests"

Annoying movement within text box

17
Summary by Whatamidoing (WMF)
Ifly6 (talkcontribs)

At certain screen resolutions, the text box view itself seems to move left and right internally. To reset it, you need to go all the way to the left. It is especially annoying because this incorrect behaviour is default on the standard text width in new Vector. If this could be fixed, it would go a great way toward usability.

Whatamidoing (WMF) (talkcontribs)

Are you still having this problem? (I know that one bug was fixed already.)

Ifly6 (talkcontribs)

I am still having this issue. The issue only occurs when making the width of the window something that isn't a full integer multiple of the monospaced text. In such a case, the internal screen moves to show the remainder by moving to the right.

Ifly6 (talkcontribs)

I'm still getting this issue; for some reason it seems that the internal screen moves when the cursor is near the end of the line rather than when it actually gets beyond the end of the line. I don't know why that is the case.

Regardless, it is annoying because it screws up the carat display and makes text selection inaccurate.

Whatamidoing (WMF) (talkcontribs)

I've not been able to reproduce this. Is there any chance that you could make a short screencast and e-mail it to me? I'll send you a quick e-mail message now that you could reply to.


I've started a bug report at phab:T334994 (you're welcome to edit it; just log in to your regular wiki account), but I don't know if Phabricator accepts videos.

Ifly6 (talkcontribs)

I'm currently at work but I can reproduce the error on my iPad browser too. Uploaded as an unlisted video at https://youtu.be/kUvwP7RsxFs.

Ifly6 (talkcontribs)

I can also reproduce after commenting out everything in my commons.js file.

Whatamidoing (WMF) (talkcontribs)

That looks terrible. I'll ping the devs.

Ifly6 (talkcontribs)

I can't log in to Phabricator and don't receive any emails that it alleges to send. I saw that someone can't reproduce. I have no ability not to reproduce on English Wikipedia; I've disabled every gadget but default, disabled everything in common.js, changed themes (back to Vector 2010 and it still has this issue). I've switched computers from iPad to macOS to Windows.

Ifly6 (talkcontribs)
Ifly6 (talkcontribs)

Okay, I disabled the beta feature for discussions after comparing my main account's settings with a puppet account's settings; it seems there is some kind of incompatibility with the Discussion tools beta feature?

Ifly6 (talkcontribs)

Actually I can still reproduce even with Discussion tools disabled. It seems, however, to trigger with much lower sensitivity?

Transilvanium (talkcontribs)

Okay, Ifly6 here on a clean account for testing; I am unable to reproduce in the editor if syntax highlighting is off but it does reproduce if syntax highlighting is enabled.

Whatamidoing (WMF) (talkcontribs)

@DLynch (WMF) is one of the devs on the Editing team.

Does turning off syntax highlighting solve the problem in your regular account? Safemode might be an easier way to test some of this, but you sound like a technically capable person, so do you know how to check for errors in your browser's web console? (No problem if you don't – I ask the devs every time they want me to do this. ;-) )

Ifly6 (talkcontribs)

Turning off syntax highlighting does solve the issue in my normal account; though given how useful syntax highlighting is, this is not really a solution. I tested with safe mode and am able to reproduce the movement when syntax highlighting is turned on. I opened the developer console and saw no errors.

Ifly6 (talkcontribs)

Also, as I checked the ticket in Phabricator, thanks for moving it up the chain and identifying (possibly) the relevant library.

Whatamidoing (WMF) (talkcontribs)

@Ifly6, @MusikAnimal (WMF) wondered whether this problem appeared for you in the 2010 wikitext editor (the most common one in Wikipedias). If it doesn't, he's got an idea about a temporary fix. The (possible) real fix might happen later this year.

Reply to "Annoying movement within text box"

Regular expression replace doesn't work

6
Ifly6 (talkcontribs)

It seems that find and replace for a regular expression match doesn't work on English Wikipedia. I've tested this largely on Windows 10 Edge.

Matěj Suchánek (talkcontribs)

Would you please share more information about what exactly you were trying to do? It might be a general problem, but also just a browser-specific problem or a JavaScript limitation.

Ifly6 (talkcontribs)

I ran a regex, I think (?<=\d{3}) (?=BCE?) with replacement value &nbsp;; replacement simply didn't work. I exported the text to Sublime Text where it ran fine.

Matěj Suchánek (talkcontribs)

Indeed, that doesn't work for me either. (\d{3}) (BCE?)$1&nbsp;$2 does, though.

Ifly6 (talkcontribs)

This issue still isn't fixed. Running a regular expression

<nowiki>\|url=.+?worldcat.+? (?=\|)</nowiki>

yields the same problem.

Matěj Suchánek (talkcontribs)
Reply to "Regular expression replace doesn't work"

Is there a way to invoke specific editor

3
Nux (talkcontribs)

If I have this editor enabled can I still use 2010 wikicode editor (textarea)? For example let's say I want to open editor for some specific action or gadget.

Or the other way around. Let's say I prefer 2010 wikicode editor for everyday use. But then I want to edit some article in 2017 editor. I actually often do wish that. E.g. to have tools for refs or just for testing.

Nux (talkcontribs)

OK, found a way to use plain textarea editor. Using action=submit works to always show so called 2010 editor.

Whatamidoing (WMF) (talkcontribs)

That's the way that I do it. :-)

Inaccurate plans and wording

2
Nux (talkcontribs)

The article is outdated and inaccurate, mostly about plans. It seems like the article was never really updated since 2017. Especially in paragraph "Please note that the current phase of deployment is...".

There are serious drawbacks to using VE surface (very specific API to use). Using contenteditable gives some potential to avoid problems with text selection, copy&pasting, undo&redo and such. But also adds a significant overhead as there is no single API that works for all editors for that. I imagine this was the reason this editor didn't ever stick.

Also new features seem to be developed for so called 2010 editor (e.g. syntax highlighting, realtime preview). So the 2017 editor seems to be abandoned. Never even made out of beta to be a standard preference. I think the best option would be to be able to switch to this VE wikicode editing mode. Much like when you switch just one option to get syntax highlighting. Another option would be to integrate features of 2017 editor to syntax highlighting mode of 2010 editor. It would provide best experience for editing sections and at least short articles.

The naming is also very miss leading. I would call this a VE Wikicode Editor or Visual Wikicode Editor. It is a wikicode editor, but it's based on VE components. So called 2010 editor has been updated in many ways and calling it 2010 edit is missleading. I would call the 2010 editor the Standard Wikicode Editor or the Textarea Wikicode Editor.

Alsee (talkcontribs)

@Nux, thanks for tagging the page {{outdated}}. The project has been undead for six years. In early 2017 the EnWiki community consensus rejected 2017Editor. One or more staff were unwilling to let go of their goal of somehow someday pushing all editors into the VE-platform, so 2017Editor became yet another zombie/vampire project slowly eating time and money.

I've been considering opening another RFC so the community can push the WMF to face reality. Either the WMF intends to forcibly impose 2017Editor against community consensus, or the project needs to be shut down and removed from beta-options. (Actually they also have the option of opening dialog with the community, hoping to change consensus - but I wouldn't expect success.) I see you're primarily from Polish Wikipedia? Feel free to ping me if you (or anyone else) wants to open this or any similar issues over there. In my experience it can take active rejection from EnWiki plus two other big wikis before top management receive the message that mid/lower management are wasting money because they're unwilling to shut down a known-dead pet project.

Reply to "Inaccurate plans and wording"
Esperfulmo (talkcontribs)

Hey guys, I really need a feature from the old editor to be available or at least optional for those who need it.

  • The feature was to show me all the used and transcluded pages/templates in any page whenever I view its source.

It's hideous to view the source page without logging in, then log back in to edit from my account.

Example photo.

  • Why do I need that?

I usually make style edits and sometimes a transcluded template is triggering an error whose page needs to be found and edited.

  • Curretly, I tried all I can to show this transclusion list to no avail.

Thanks. --Mahmudmasri (talk) 06:41, 24 December 2022 (UTC)

Jdforrester (WMF) (talkcontribs)

This is in the page settings dialog – click the menu icon (), then "Templates used".

Esperfulmo (talkcontribs)

Error when displaying italicized titles

4
Wretchskull (talkcontribs)

When using the 2017 wikitext editor and editing an article with an italicized title, it will no longer be italicized when going back to reading the article, both by clicking "read" and when submitting an edit. This isn't the case with the standard wikitext editor.

Whatamidoing (WMF) (talkcontribs)

Does re-loading the page fix this?

Wretchskull (talkcontribs)

It does, but it would be great IF this didn't have to happen. Sorry if the request sounds trivial.

Whatamidoing (WMF) (talkcontribs)

I think this is the same problem as phab:T258589. It manifests in all sorts of ways.

Reply to "Error when displaying italicized titles"

[resolved] syntax highlight support for other skins

3
Franklin Yu (talkcontribs)

I prefer Skin:Timeless over Vector (legacy or new); is there any plan to bring this editor to Timeless as well?

Edit: I realized that the editor works in Timeless, but the syntax highlight doesn’t. This is quite a deal breaker; I updated the title of this conversation.

TheDJ (talkcontribs)

It doesn't? It works for me... can you be more specific ?

Franklin Yu (talkcontribs)

I guess there was some caching issue on my browser. I restarted it and it works for me.

Liege (talkcontribs)

I like this one better but I miss the edit toolbar.

Whatamidoing (WMF) (talkcontribs)

The 2017 wikitext editor has an edit toolbar. It looks like this:


What do you miss?

Reply to "Edit toolbar"
Return to "2017 wikitext editor" page.