Last modified: 2014-05-30 01:05:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52518, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50518 - VisualEditor: Add an edit notice for users of slower computers advising them to use source mode
VisualEditor: Add an edit notice for users of slower computers advising them ...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-01 20:25 UTC by TheOriginalSoni
Modified: 2014-05-30 01:05 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description TheOriginalSoni 2013-07-01 20:25:12 UTC
There should be an edit notice whenever someone tries to use VE which says something like "Slower computers or users trying to use older markup should try editing in the older Editor." and link to the older editor. Otherwise we're directly cutting off plenty of editors who can't figure it out, and would have relatively slow internet.

P.S. My internet is slow enough to not give a satisfactory VE experience, and I consider myself to have decent Indian speed internets
Comment 1 Alex Monk 2014-04-29 17:26:45 UTC
So we already have the beta welcome dialog, I think we should add something like "Users of slow computers should consider doing this." after the "You can keep using the wikitext editor by clicking the "Edit source" tab instead – unsaved changes will be lost."
Comment 2 James Forrester 2014-04-29 17:30:50 UTC
The plan is to get rid of the beta welcome dialog relatively soon (in the next few months), however…
Comment 3 Alex Monk 2014-04-30 17:44:11 UTC
Timo thinks we can measure performance and display an edit notice if it's slow.
Comment 4 Alex Monk 2014-05-05 20:30:07 UTC
We discussed how to do this in #mediawiki-visualeditor a bit. Some quotes:

<Krinkle> when a certain amount of time has passed (potentially taking the document complexity in account as well, avoid measuring network by accident), set a boolean flag, which in getEditnotices() will make it include/exclude that notice accordingly
<Krenair> I'm wondering what operation we should measure and what timing shows a reasonable speed
<Krinkle> Krenair: one or more of the actions in the setup of the surface (parsing of html into data DOM, conversion to linenar data model, building of CE etc.)

<Krenair> but those operations will all take different times depending on document length/complexity :/
<Krinkle> Krenair: Yes, but avoiding I mean, taking into account
<Krinkle> e.g. not `timespend > maxtime`, but something like `timespent/doc-size > maxratio`
<Krinkle> RoanKattouw might have some math ideas that are more useful
<Krinkle> However, we should probably do some research and see how slow the 'too slow' browsers really are.
<Krinkle> We might be able to measure it with a very simple operation at a small scale (e.g. create an iframe and attach it, just a random unused iframe), that that one operation is measurable enough, we can do it that way.
<Krenair> Hm. This is getting increasingly out of the 'MediaWiki integration' part
<Krinkle> The function calls are all in viewpagetarget in setupSurface
<Krinkle> though ideally this would probably be in ve-core, seems a useful statistis

Roan, could you comment on this when you have time please?
Comment 5 Gerrit Notification Bot 2014-05-23 15:33:16 UTC
Change 135046 had a related patch set uploaded by Alex Monk:
Attempt to detect slow machines and show an edit notice

https://gerrit.wikimedia.org/r/135046
Comment 6 Gerrit Notification Bot 2014-05-30 01:05:08 UTC
Change 135046 abandoned by Alex Monk:
Attempt to detect slow machines and show an edit notice

Reason:
This is seemingly impossible for me to get right, and just not worth the effort

https://gerrit.wikimedia.org/r/135046

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links