Misplaced Pages

talk:VisualEditor: Difference between revisions - Misplaced Pages

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 17:24, 3 September 2015 editWhatamidoing (WMF) (talk | contribs)Extended confirmed users8,117 edits Proposal at VPPR: new section← Previous edit Latest revision as of 19:33, 15 January 2025 edit undoLowercase sigmabot III (talk | contribs)Bots, Template editors2,310,540 editsm Archiving 2 discussion(s) to Misplaced Pages talk:VisualEditor/Archive 8) (bot 
(596 intermediate revisions by more than 100 users not shown)
Line 2: Line 2:
{{Special:Prefixindex/Wikipedia:VisualEditor/}} {{Special:Prefixindex/Wikipedia:VisualEditor/}}
{{collapse bottom}} {{collapse bottom}}
{{mbox|text=<center><big><big>Are you here to leave feedback about VisualEditor? {{mbox|text=<div style="text-align: center;"><big><big>Are you here to leave feedback about VisualEditor?</big></big>
:<big>Misplaced Pages has a place for that! :<big><big><big>Misplaced Pages has a place for that!</big></big></big>
:<big><big><big>Please ] or .</big></big></big>
:<big>Post your thoughts at ].</big></center>
:If you need help editing with Visual Editor, consider asking at ].</div>
:'''''Note.''' VisualEditor only shows up in some namespaces, most notably in ] (articles) and in ]. No talk pages. A good place to play around is in a sandbox in a ] in your user namespace (User:YourUserName/sandbox3) or if you're not logged in. For a sandbox of your own, .}}
:'''''Note.''' VisualEditor only shows up in some namespaces, most notably in ] (articles) and in ]. No talk pages. A good place to play around is in a sandbox in a ] in your user namespace (User:YourUserName/sandbox3) or if you're not logged in. For a sandbox of your own, .''}}
{{talkheader|search=yes}} {{talkheader|search=yes}}
{{User:MiszaBot/config {{User:MiszaBot/config
|archiveheader = {{aan}} |archiveheader = {{aan}}
|maxarchivesize = 100K |maxarchivesize = 100K
|counter = 6 |counter = 8
|minthreadsleft = 2 |minthreadsleft = 2
|algo = old(15d) |algo = old(100d)
|archive = Misplaced Pages talk:VisualEditor/Archive %(counter)d |archive = Misplaced Pages talk:VisualEditor/Archive %(counter)d
}} }}
{{Auto archiving notice |bot=MiszaBot I |age= |units= 15 days}}
__FORCETOC__


== Frequently dumps reference definition after {{tl|references}} tag ==
== VisualEditor Userboxes ==


Here's another. It seems like Visual Edtior can be tricked into dumping a footnote ''after'' the {{tl|reflist}} tag. It'll generate an undefined reference error, since the {{tl|reflist}} invocation clears the references name table.
Hello everyone! Great job on the VisualEditor so far! When I first tried it a year or so ago it was slow, buggy and just not ready for primetime. I recently tried it again after receiving a headache manually editing a particularly complex cite farm, and while it is not yet perfect, it is very much improved. I now use it whenever appropriate, though I still use the source editor for quick edits.


Again, not a Visual Editor user so I can't
Anyway, I noticed there is no userboxes for VisualEditor users, so I created a pair of prototype ones. I also created a pair of userboxes for those power users who will probably decide not to use the VisualEditor themselves, but nevertheless support the aims of the project.


*
Which is best, blue border, or green border?
*
*
*
*


One more, note that there's a pre-existing condition here:
===]===


*
{| border="1" cellpadding="2" cellspacing="0"
|-
| style="width:350px; text-align: left; font-size: 8pt; color:black; font-family: Arial; " | {{Userbox &#124; border-c = #2BA9E0 &#124; border-s = 1 &#124; id-c = #FFFFFF &#124; id-s = 14 &#124; id-fc = black &#124; info-c = #FFFFFF &#124; info-s = 8 &#124; info-fc = black &#124; id = {{#switch:]
|{{{logo}}} = <nowiki>{{{logo}}}</nowiki>
|{{{3}}} = <nowiki>{{{3}}}</nowiki>
|] = <nowiki>]</nowiki>
|id}} &#124; info = {{#switch:This user edits using '']''.
|This user edits using '']''. = <nowiki>This user edits using '']''.</nowiki>
|{{{4}}} = <nowiki>{{{4}}}</nowiki>
|<nowiki>''info''</nowiki>}} &#124; float = left }}


Maybe this one can be fixed, too? -- ] (]) 16:25, 30 September 2024 (UTC)
| <div style="float:left; border:1px solid #2BA9E0; margin:1px;">
{| cellspacing="0" style="width:238px; background:#FFFFFF;"
| style="width:45px; height:45px; background:#FFFFFF; text-align:center; font-size:14pt; color:black;" | ''']'''
| style="font-size:8pt; padding:4pt; line-height:1.25em; color:black;" | This user edits using '']''.
|}</div>


:@], these are all new editors. They're probably clicking at the end of the ref list in the hope that the new ref will get added to the end of the list. ] (]) 05:56, 2 October 2024 (UTC)
|}
::Could be, but aren't new editors exactly the editors that Visual Editor is meant to help? -- ] (]) 09:08, 2 October 2024 (UTC)
:::Since they're adding refs at all, it probably is helping them. My main point, though, is that "the software put the ref exactly where I told it to" does not sound like a software bug. ] (]) 16:55, 2 October 2024 (UTC)
::::"The software let the user put a reference where it doesn't belong" ''does'' sound like a software bug. And we have evidence that happened. -- ] (]) 19:38, 4 October 2024 (UTC)
:::::If it's a bug, then it's ] with wikitext, which English Wikipedians declared to be highly desirable .
:::::I think this is probably better thought of as a design challenge instead of a bug. The software does what the user tells it to do, so it's not . By "design challenge", I mean that it will be challenging to design a response that allows this:
:::::* Create citation first, while I've got the source information in my copy/paste buffer.
:::::* Now go back and type the sentence/paragraph in front of it.
:::::but does not allow this:
:::::* Create citation on an empty line somewhere after a references list.
:::::You're welcome to file a ] task if you think this problem is worth documenting. ] (]) 21:18, 4 October 2024 (UTC)
::::::Good software protects users from doing things that are wrong. Input validation prevents us from providing input that's unacceptable for future processing: I shouldn't be able to enter "Smithville" when prompted for my phone number. The flight control software in a 747 won't lift the landing gear when there's still weight on the wheels even though it's exactly what's indicated as intent by the pilot who presses the "Gear Up" button. Similarly, a wiki editing tool shouldn't allow users to add constructs where they're anachronistic.
::::::Given bad input, it's a bug to allow that input to break the article's rendering. If there's some cultural reason you can't call this a "bug", that's fine, but to me the absence of a fundamental feature is also a bug. Adding an ] feature would make Visual Editor better. New users (these users who all got in trouble here) most often need the most protection from things like input validation. And experienced users would benefit too, since they sometimes make mistakes.
::::::Maybe it's time to re-evaluate the goal of "bug-for-bug compatibility" and try to ''improve'' things like input validation in the editing tools so it's harder to create broken content.
::::::I don't see the challenge in your scenarios. The first has no references list. Add a footnote anywhere. The second has a references list; a footnote can only be added before that references list. -- ] (]) 01:54, 7 October 2024 (UTC)
:::::::I think the time to reject the goal of bug-for-bug compatibility was in July 2013, or approximately the same day the English Misplaced Pages demanded that as a design goal. Realistically, I have no hope of that happening until the parser unification project is completed. That project reached a significant milestone recently, but it appears to be operating under ], so it could be years before it is deployed here.
:::::::The simplest way to stop people adding lost refs is to only accept refs on a line that is non-blank. However, that would make the first scenario impossible. (The first scenario could have a reference list on the page.) The second scenario could have multiple ref lists (cf. ], or the common practice of putting reflists in each section on a talk page). More pointfully, the second could be ''intended'' to have a subsequent reference list even though it hasn't already been placed on the page. ] (]) 06:37, 8 October 2024 (UTC)
::::::::Once a goal is set, it never changes, even more than a decade later? That seems like a crazy way to run a long-term project. Before this goal was carved in stone, did nobody at all think that new information might discover new information that led to new decisions? Is the project ''really'' unable to hear feedback and make changes?
::::::::How many articles have multiple reference lists on purpose? How many are correctly placed by these new users? Of course, if this is really necessary, making a warning about it would be fine to: do you really want to make multiple reference lists? That barely makes sense, and you probably don't want to. But type "I REALLY WANT TO" and then press "I know what I'm doing".
::::::::Meanwhile, here's {{diff||1250720657|1250564330|another case}} where a VisualEditor helped a user make a bad edit. -- ] (]) 15:31, 14 October 2024 (UTC)
:::::::::"Is the project ''really'' unable to hear feedback and make changes?" I don't know; have you tried to get a significant change through one of our policies recently? It's an uphill task. And just in case I wasn't clear, this was a decision made by experienced editors at the English Misplaced Pages.
:::::::::I think there is a chance of it being changed in the future. One option is getting the new ] to produce a warning message. This has the advantage that we could control who sees it (e.g., warn the newbies, but not you or me). The other, as I indicated above, is to wait until the parser unification project is done, and see if it could be put it in a list of "small" changes that could be handled during a general update. VisualEditor hasn't been under active development for years (just maintenance, which is substantial), but I assume that the parsing work will result in some additional work. ] (]) 19:07, 14 October 2024 (UTC)
::::::::::Getting a bug fixed shouldn't involve a policy change. I think you're dead wrong in arguing against fixing this.
::::::::::Here's {{diff||prev|1243073575|another example}}, which was followed up by {{diff||next|1243073575|another edit}} to add another spurious footnote. -- ] (]) 22:20, 18 October 2024 (UTC)
:::::::::::I'm not arguing against changing something here. I'm telling you that finding a way to fix this:
:::::::::::* without violating this community's self-chosen rules for the visual editor (e.g., if editors can screw up this way in the wikitext editor, then they need to be able to screw up exactly the same way in the visual editor) and
:::::::::::* without breaking actually useful and relevant editing processes (like putting the ref on the page before typing the content)
:::::::::::will be difficult. If you want "easy", you could set up ] to warn people when any ref tags are below the reflist.
:::::::::::Also, I'm telling you that, as always, the relevant WMF staff are already assigned to other projects, so it's unlikely to happen this year anyway. ] (]) 02:52, 19 October 2024 (UTC)
::::::::::::Telling me this is not a bug is not arguing against changing something? Why do I feel like you're being dismissive and condescending at every turn? There really, really is room for improveent here, even if it has to start with reverting a decision to not be any better than the status quo. -- ] (]) 18:56, 20 October 2024 (UTC)
:{od}
:Yes, @], it's true that telling you that there is a distinction between a feature and a bug is not arguing against changing the software. You are free to dismiss the distinction as mere pedantry if you'd like, though if you ever decide to file a ticket at ] about this, I'd suggest that you click on "Request a Software Feature" instead of clicking on "Report a Software Bug".
:I feel like you're operating under the assumption that I'm in charge of fixing this, or deciding if someone else is allowed to fix it, so you need to convince me personally that it's "a bug". I wonder why that is. ] (]) 19:48, 20 October 2024 (UTC)
::No such assumption -- I've reported only a few bugs (including this one) in Phab, but I have zero insight into the software engineering process in use here. It is a relief to become certain that you're ''not'' in charge of fixing this, as I'd hate to learn that the chance for improvement lies with someone so obstinate and complacent. -- ] (]) 20:05, 20 October 2024 (UTC)
:::So far, I've provided you with practical information that I believe is trustworthy:
:::* Not all unwanted behaviors are called bugs.
:::* There are non-software community reasons that lean towards not disallowing the behavior that you dislike. Not all behaviors that are unwanted by some people are unwanted by everyone.
:::* This behavior might be addressed through design changes, or at least partially addressed, but there are potential risks to such changes. For example, would you rather have a misplaced ref, or no ref?
:::* This behavior could be addressed through ] (which is basically ] for the visual editor).
:::* This behavior could be addressed (right now, without any dev involvement, and without interfering with anyone's pre-posting editing process) through ].
:::* If you want a "big" fix by the devs (or software designers), you will probably be waiting for years, at least until the parser project finishes.
:::You've responded by insisting that it should be labeled a bug.
:::BTW, AFAIK nobody who works on the software ever reads this page. That's why there's a note at the top of the page recommending other places for reporting problems. ] (]) 20:21, 20 October 2024 (UTC)
::::(You screwed up your out-dent, by the way.)
::::You've fixated on: is it a bug or not? Since you're not involved in fixing it, how is your opinion of the label relevant? I've opened a bug in Phabricator. If it is re-categorized as a work item or feature request or design idea or left-handed flinglebot, I don't care. I ''do'', though, expect the issue is evaluated with an open mind towards making forward progress on the product. That's why your excuse-making doesn't land well.
::::If the overall attitude you have to feedback is prevalent through other people actually involved in the fix (and I'm afraid it is, as it's not the first time I've seen this kind of complacency and culture-centrism) then I think you're right: nobody can expect improvements to be made in any reasonable time. -- ] (]) 20:59, 20 October 2024 (UTC)
:::::<small>(No, I did that on purpose. ] would have prevented you from being able to use the Reply tool for the next comment. That ''is'' a bug, but it's not one that I have any hope of being fixed this decade.)</small>
:::::I don't think I've made excuses for anything. I've assigned blame in a few cases. That's generally considered the opposite of making excuses. I've pointed out that solving the problem might harder than it looks, which is not the same as saying that the problem is fine. I also think that bullet list shows a lot more information coming from me than merely telling you that intentional behavior isn't what coders call "a bug".
:::::I think you can expect your feature request to be evaluated with not merely an open mind, but with sympathy. However, given the current stats, I don't think you should rely on that evaluation happening this year. There's a chance that someone will stumble across it, but AFAIK there is nobody systematically processing these tickets any longer. (I base this belief on the fact that there are more than a thousand un-triaged tasks open against that project, plus the fact that the Editing team has been re-assigned to other work.) ] (]) 21:56, 20 October 2024 (UTC)


== Exclude transcluded unbalanced code ==
===]===


See ]. When using VE to edit ] or ], or any table that is wrapped in ] and ], the table content is editable as a parameter and difficult to edit.
{| border="1" cellpadding="2" cellspacing="0"
|-
| style="width:350px; text-align: left; font-size: 8pt; color:black; font-family: Arial; " | {{Userbox &#124; border-c = #2BA9E0 &#124; border-s = 1 &#124; id-c = #FFFFFF &#124; id-s = 14 &#124; id-fc = black &#124; info-c = #FFFFFF &#124; info-s = 8 &#124; info-fc = black &#124; id = {{#switch:]
|{{{logo}}} = <nowiki>{{{logo}}}</nowiki>
|{{{3}}} = <nowiki>{{{3}}}</nowiki>
|] = <nowiki>]</nowiki>
|id}} &#124; info = {{#switch:This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users.
|This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users. = <nowiki>This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users.</nowiki>
|{{{4}}} = <nowiki>{{{4}}}</nowiki>
|<nowiki>''info''</nowiki>}} &#124; float = left }}


I've narrowed the issue down to having two opening div tags in the start and two closing div tags in the end templates. Adding the div tags around the table without the templates did not cause an issue. Reducing the templates' div tags to one each did not cause an issue, which seems like some correction or allowance is being made during parsing. This seems related to ] > Template issues > Unbalanced code.
| <div style="float:left; border:1px solid #2BA9E0; margin:1px;">
{| cellspacing="0" style="width:238px; background:#FFFFFF;"
| style="width:45px; height:45px; background:#FFFFFF; text-align:center; font-size:14pt; color:black;" | ''']'''
| style="font-size:8pt; padding:4pt; line-height:1.25em; color:black;" | This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users.
|}</div>


Both div tags are needed in the templates. Is there a way to fix this? Maybe exclude the div tags from VE's parsing since the sticky feature is not needed when editing content? ] (]) 02:21, 13 October 2024 (UTC)
|}


:As I understand it, there are no easy and reliable ways to fix this. ] (]) 19:49, 20 October 2024 (UTC)
===]===

{| border="1" cellpadding="2" cellspacing="0"
|-
| style="width:350px; text-align: left; font-size: 8pt; color:black; font-family: Arial; " | {{Userbox &#124; border-c = #9ACC59 &#124; border-s = 1 &#124; id-c = #FFFFFF &#124; id-s = 14 &#124; id-fc = black &#124; info-c = #FFFFFF &#124; info-s = 8 &#124; info-fc = black &#124; id = {{#switch:]
|{{{logo}}} = <nowiki>{{{logo}}}</nowiki>
|{{{3}}} = <nowiki>{{{3}}}</nowiki>
|] = <nowiki>]</nowiki>
|id}} &#124; info = {{#switch:This user edits using '']''.
|This user edits using '']''. = <nowiki>This user edits using '']''.</nowiki>
|{{{4}}} = <nowiki>{{{4}}}</nowiki>
|<nowiki>''info''</nowiki>}} &#124; float = left }}

| <div style="float:left; border:1px solid #9ACC59; margin:1px;">
{| cellspacing="0" style="width:238px; background:#FFFFFF;"
| style="width:45px; height:45px; background:#FFFFFF; text-align:center; font-size:14pt; color:black;" | ''']'''
| style="font-size:8pt; padding:4pt; line-height:1.25em; color:black;" | This user edits using '']''.
|}</div>

|}

===]===

{| border="1" cellpadding="2" cellspacing="0"
|-
| style="width:350px; text-align: left; font-size: 8pt; color:black; font-family: Arial; " | {{Userbox &#124; border-c = #9ACC59 &#124; border-s = 1 &#124; id-c = #FFFFFF &#124; id-s = 14 &#124; id-fc = black &#124; info-c = #FFFFFF &#124; info-s = 8 &#124; info-fc = black &#124; id = {{#switch:]
|{{{logo}}} = <nowiki>{{{logo}}}</nowiki>
|{{{3}}} = <nowiki>{{{3}}}</nowiki>
|] = <nowiki>]</nowiki>
|id}} &#124; info = {{#switch:This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users.
|This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users. = <nowiki>This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users.</nowiki>
|{{{4}}} = <nowiki>{{{4}}}</nowiki>
|<nowiki>''info''</nowiki>}} &#124; float = left }}

| <div style="float:left; border:1px solid #9ACC59; margin:1px;">
{| cellspacing="0" style="width:238px; background:#FFFFFF;"
| style="width:45px; height:45px; background:#FFFFFF; text-align:center; font-size:14pt; color:black;" | ''']'''
| style="font-size:8pt; padding:4pt; line-height:1.25em; color:black;" | This user does <b>not</b> use '']'', but thinks it's a great tool for new and less-technical users.
|}</div>

|}

] (]) 23:10, 1 July 2015 (UTC)

:There's another at ]. I'm happy to leave the color choice in your hands. ] (]) 00:39, 2 July 2015 (UTC)

== Beginning gradual availability of VisualEditor for new users ==

Last month, I made ] about gradually enabling VisualEditor alongside the wikitext editor for new editors here. Given the consensus in that discussion, I'm moving ahead with that change, starting later this week.

At first, I will restrict the configuration so that only 5% of new accounts (chosen randomly) have a choice of which editing tool to use. As promised, I'll report back on how well this goes, before increasing the rate to a larger proportion and monitoring from there.

If you have any questions or see any problems, please alert us. The fastest way to reach the team is by contacting us on IRC at {{Freenode|mediawiki-visualeditor}}, by filing a report in , or by leaving a note at ].

Yours,

] (]), Product Manager, VisualEditor – 18:05, 27 July 2015 (UTC)

:About time! -] (]) 05:21, 27 August 2015 (UTC)
:{{u|Jdforrester (WMF)}}, could you please link to any analysis done by your team, or any reports made to the community, since this was implemented approximately a month ago? Are we still at the 5% of new accounts level, or has this been escalated with or without a report to the community? ] (]) 14:04, 27 August 2015 (UTC)

:: {{ping|Risker}} Hey there. I posted an update where more people were, to avoid splitting the conversation. As indicated there, we bumped the level up slowly from 5% to 10% and continued to monitor. Since then, we increased to 25%, and a week ago to 50%. ] (]) 18:45, 27 August 2015 (UTC)

== When will unregistered users be able to use VisualEditor ==

when will unregistered users be able to use VisualEditor as my brother wants to try it but he cant because he has no account and he does not want a account ] (]) 23:33, 28 August 2015 (UTC)


I also wonder when will it be available for the unregistered users? I think it will be very useful for unregistered users and[REDACTED] generally. I also think that VE option will make people think that "I can also edit[REDACTED] easily without the need to learn ugly and hard wikitext interface." It may take months for millions of people to become aware of easily editibality of[REDACTED] but after some time I hope[REDACTED] project will benefit from this with increase in number of active editors, total number of articles and quality of articles. ] (]) 11:39, 29 August 2015 (UTC)

:Hello, ] and ],
:Thank you for your notes and your support. There are currently no plans to offer VisualEditor to IPs at the English Misplaced Pages. That might come later, but it depends on whether the current editing community wants to do that. (If such a discussion starts, then I'll make sure that someone posts a note here, so you might keep this page on your ].)
:It is technically possible for an IP to use VisualEditor, but it's not very convenient. You first need to go to the page, and then manually change the URL to open VisualEditor. You have to type <kbd>?veaction=edit</kbd> at the end of the URL. So to open the page ], you go to the URL: https://en.wikipedia.org/Example and then you change it to say https://en.wikipedia.org/Example?veaction=edit (and press Return). It only works on pages that support VisualEditor (=not talk pages or a few others), but it will work on all Misplaced Pages articles. ] (]) 19:31, 31 August 2015 (UTC)

== Gradual availability of VisualEditor for new users is now complete ==

Over the last few months, we have been slowly expanding the availability of VisualEditor as an option for editors. At first we ran an A/B test, and then a slow ramp-out for new accounts (], ], ]). This is now complete, which means that all accounts registered now will get the choice to use VisualEditor.

As always, if you have question or encounter problems, please feel free to reach out to us at ].

] (]), Product Manager, VisualEditor – 16:19, 1 September 2015 (UTC)

== Proposal at VPPR ==

James F. has started a discussion at ] about offering VisualEditor to inexperienced editors. New accounts will all have access to both VisualEditor and the wikitext editor now, and this proposal would (for example) retroactively opt-in editors who were missed during the last couple of months (e.g., 75% of the editors who created an account during the week of the gradual deployment process when only 25% of new accounts were being opted in, etc.) and dead accounts (accounts that haven't edited ever, or for a long time). If you have opinions on the best way to handle these accounts, then please join the conversation. ] (]) 17:24, 3 September 2015 (UTC)

Latest revision as of 19:33, 15 January 2025

Subpage Index
Are you here to leave feedback about VisualEditor?
Misplaced Pages has a place for that!
Please leave your feedback on mediawiki.org or file a task on the Phabricator bug tracker.
If you need help editing with Visual Editor, consider asking at WP:Teahouse.
Note. VisualEditor only shows up in some namespaces, most notably in main namespace (articles) and in user namespace. No talk pages. A good place to play around is in a sandbox in a subpage in your user namespace (User:YourUserName/sandbox3) or this page if you're not logged in. For a sandbox of your own, create it here.
This is the talk page for discussing improvements to the VisualEditor page.
Archives: 1, 2, 3, 4, 5, 6, 7, 8Auto-archiving period: 3 months 

Frequently dumps reference definition after {{references}} tag

Here's another. It seems like Visual Edtior can be tricked into dumping a footnote after the {{reflist}} tag. It'll generate an undefined reference error, since the {{reflist}} invocation clears the references name table.

Again, not a Visual Editor user so I can't

One more, note that there's a pre-existing condition here:

Maybe this one can be fixed, too? -- mikeblas (talk) 16:25, 30 September 2024 (UTC)

@Mikeblas, these are all new editors. They're probably clicking at the end of the ref list in the hope that the new ref will get added to the end of the list. WhatamIdoing (talk) 05:56, 2 October 2024 (UTC)
Could be, but aren't new editors exactly the editors that Visual Editor is meant to help? -- mikeblas (talk) 09:08, 2 October 2024 (UTC)
Since they're adding refs at all, it probably is helping them. My main point, though, is that "the software put the ref exactly where I told it to" does not sound like a software bug. WhatamIdoing (talk) 16:55, 2 October 2024 (UTC)
"The software let the user put a reference where it doesn't belong" does sound like a software bug. And we have evidence that happened. -- mikeblas (talk) 19:38, 4 October 2024 (UTC)
If it's a bug, then it's Bug-for-bug compatibility with wikitext, which English Wikipedians declared to be highly desirable feature.
I think this is probably better thought of as a design challenge instead of a bug. The software does what the user tells it to do, so it's not "unwanted and unintended". By "design challenge", I mean that it will be challenging to design a response that allows this:
  • Create citation first, while I've got the source information in my copy/paste buffer.
  • Now go back and type the sentence/paragraph in front of it.
but does not allow this:
  • Create citation on an empty line somewhere after a references list.
You're welcome to file a Phab: task if you think this problem is worth documenting. WhatamIdoing (talk) 21:18, 4 October 2024 (UTC)
Good software protects users from doing things that are wrong. Input validation prevents us from providing input that's unacceptable for future processing: I shouldn't be able to enter "Smithville" when prompted for my phone number. The flight control software in a 747 won't lift the landing gear when there's still weight on the wheels even though it's exactly what's indicated as intent by the pilot who presses the "Gear Up" button. Similarly, a wiki editing tool shouldn't allow users to add constructs where they're anachronistic.
Given bad input, it's a bug to allow that input to break the article's rendering. If there's some cultural reason you can't call this a "bug", that's fine, but to me the absence of a fundamental feature is also a bug. Adding an input validation feature would make Visual Editor better. New users (these users who all got in trouble here) most often need the most protection from things like input validation. And experienced users would benefit too, since they sometimes make mistakes.
Maybe it's time to re-evaluate the goal of "bug-for-bug compatibility" and try to improve things like input validation in the editing tools so it's harder to create broken content.
I don't see the challenge in your scenarios. The first has no references list. Add a footnote anywhere. The second has a references list; a footnote can only be added before that references list. -- mikeblas (talk) 01:54, 7 October 2024 (UTC)
I think the time to reject the goal of bug-for-bug compatibility was in July 2013, or approximately the same day the English Misplaced Pages demanded that as a design goal. Realistically, I have no hope of that happening until the parser unification project is completed. That project reached a significant milestone recently, but it appears to be operating under Hofstadter's law, so it could be years before it is deployed here.
The simplest way to stop people adding lost refs is to only accept refs on a line that is non-blank. However, that would make the first scenario impossible. (The first scenario could have a reference list on the page.) The second scenario could have multiple ref lists (cf. WP:REFGROUP, or the common practice of putting reflists in each section on a talk page). More pointfully, the second could be intended to have a subsequent reference list even though it hasn't already been placed on the page. WhatamIdoing (talk) 06:37, 8 October 2024 (UTC)
Once a goal is set, it never changes, even more than a decade later? That seems like a crazy way to run a long-term project. Before this goal was carved in stone, did nobody at all think that new information might discover new information that led to new decisions? Is the project really unable to hear feedback and make changes?
How many articles have multiple reference lists on purpose? How many are correctly placed by these new users? Of course, if this is really necessary, making a warning about it would be fine to: do you really want to make multiple reference lists? That barely makes sense, and you probably don't want to. But type "I REALLY WANT TO" and then press "I know what I'm doing".
Meanwhile, here's another case where a VisualEditor helped a user make a bad edit. -- mikeblas (talk) 15:31, 14 October 2024 (UTC)
"Is the project really unable to hear feedback and make changes?" I don't know; have you tried to get a significant change through one of our policies recently? It's an uphill task. And just in case I wasn't clear, this was a decision made by experienced editors at the English Misplaced Pages.
I think there is a chance of it being changed in the future. One option is getting the new mw:Edit check to produce a warning message. This has the advantage that we could control who sees it (e.g., warn the newbies, but not you or me). The other, as I indicated above, is to wait until the parser unification project is done, and see if it could be put it in a list of "small" changes that could be handled during a general update. VisualEditor hasn't been under active development for years (just maintenance, which is substantial), but I assume that the parsing work will result in some additional work. WhatamIdoing (talk) 19:07, 14 October 2024 (UTC)
Getting a bug fixed shouldn't involve a policy change. I think you're dead wrong in arguing against fixing this.
Here's another example, which was followed up by another edit to add another spurious footnote. -- mikeblas (talk) 22:20, 18 October 2024 (UTC)
I'm not arguing against changing something here. I'm telling you that finding a way to fix this:
  • without violating this community's self-chosen rules for the visual editor (e.g., if editors can screw up this way in the wikitext editor, then they need to be able to screw up exactly the same way in the visual editor) and
  • without breaking actually useful and relevant editing processes (like putting the ref on the page before typing the content)
will be difficult. If you want "easy", you could set up Special:AbuseFilter to warn people when any ref tags are below the reflist.
Also, I'm telling you that, as always, the relevant WMF staff are already assigned to other projects, so it's unlikely to happen this year anyway. WhatamIdoing (talk) 02:52, 19 October 2024 (UTC)
Telling me this is not a bug is not arguing against changing something? Why do I feel like you're being dismissive and condescending at every turn? There really, really is room for improveent here, even if it has to start with reverting a decision to not be any better than the status quo. -- mikeblas (talk) 18:56, 20 October 2024 (UTC)
{od}
Yes, @Mikeblas, it's true that telling you that there is a distinction between a feature and a bug is not arguing against changing the software. You are free to dismiss the distinction as mere pedantry if you'd like, though if you ever decide to file a ticket at phab: about this, I'd suggest that you click on "Request a Software Feature" instead of clicking on "Report a Software Bug".
I feel like you're operating under the assumption that I'm in charge of fixing this, or deciding if someone else is allowed to fix it, so you need to convince me personally that it's "a bug". I wonder why that is. WhatamIdoing (talk) 19:48, 20 October 2024 (UTC)
No such assumption -- I've reported only a few bugs (including this one) in Phab, but I have zero insight into the software engineering process in use here. It is a relief to become certain that you're not in charge of fixing this, as I'd hate to learn that the chance for improvement lies with someone so obstinate and complacent. -- mikeblas (talk) 20:05, 20 October 2024 (UTC)
So far, I've provided you with practical information that I believe is trustworthy:
  • Not all unwanted behaviors are called bugs.
  • There are non-software community reasons that lean towards not disallowing the behavior that you dislike. Not all behaviors that are unwanted by some people are unwanted by everyone.
  • This behavior might be addressed through design changes, or at least partially addressed, but there are potential risks to such changes. For example, would you rather have a misplaced ref, or no ref?
  • This behavior could be addressed through mw:Edit check (which is basically Clippy for the visual editor).
  • This behavior could be addressed (right now, without any dev involvement, and without interfering with anyone's pre-posting editing process) through Special:AbuseFilter.
  • If you want a "big" fix by the devs (or software designers), you will probably be waiting for years, at least until the parser project finishes.
You've responded by insisting that it should be labeled a bug.
BTW, AFAIK nobody who works on the software ever reads this page. That's why there's a note at the top of the page recommending other places for reporting problems. WhatamIdoing (talk) 20:21, 20 October 2024 (UTC)
(You screwed up your out-dent, by the way.)
You've fixated on: is it a bug or not? Since you're not involved in fixing it, how is your opinion of the label relevant? I've opened a bug in Phabricator. If it is re-categorized as a work item or feature request or design idea or left-handed flinglebot, I don't care. I do, though, expect the issue is evaluated with an open mind towards making forward progress on the product. That's why your excuse-making doesn't land well.
If the overall attitude you have to feedback is prevalent through other people actually involved in the fix (and I'm afraid it is, as it's not the first time I've seen this kind of complacency and culture-centrism) then I think you're right: nobody can expect improvements to be made in any reasonable time. -- mikeblas (talk) 20:59, 20 October 2024 (UTC)
(No, I did that on purpose. Template:Outdent would have prevented you from being able to use the Reply tool for the next comment. That is a bug, but it's not one that I have any hope of being fixed this decade.)
I don't think I've made excuses for anything. I've assigned blame in a few cases. That's generally considered the opposite of making excuses. I've pointed out that solving the problem might harder than it looks, which is not the same as saying that the problem is fine. I also think that bullet list shows a lot more information coming from me than merely telling you that intentional behavior isn't what coders call "a bug".
I think you can expect your feature request to be evaluated with not merely an open mind, but with sympathy. However, given the current stats, I don't think you should rely on that evaluation happening this year. There's a chance that someone will stumble across it, but AFAIK there is nobody systematically processing these tickets any longer. (I base this belief on the fact that there are more than a thousand un-triaged tasks open against that project, plus the fact that the Editing team has been re-assigned to other work.) WhatamIdoing (talk) 21:56, 20 October 2024 (UTC)

Exclude transcluded unbalanced code

See Template talk:Sticky table start#Visual editor issues. When using VE to edit Template:COVID-19 pandemic data/United States medical cases by state or NCAA Division I Football Championship#Appearances by team, or any table that is wrapped in Template:Sticky table start and Template:Sticky table end, the table content is editable as a parameter and difficult to edit.

I've narrowed the issue down to having two opening div tags in the start and two closing div tags in the end templates. Adding the div tags around the table without the templates did not cause an issue. Reducing the templates' div tags to one each did not cause an issue, which seems like some correction or allowance is being made during parsing. This seems related to Limitations > Template issues > Unbalanced code.

Both div tags are needed in the templates. Is there a way to fix this? Maybe exclude the div tags from VE's parsing since the sticky feature is not needed when editing content? Jroberson108 (talk) 02:21, 13 October 2024 (UTC)

As I understand it, there are no easy and reliable ways to fix this. WhatamIdoing (talk) 19:49, 20 October 2024 (UTC)
Misplaced Pages talk:VisualEditor: Difference between revisions Add topic