Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread John Vandenberg
On Aug 4, 2013 6:14 AM, "David Gerard"  wrote:
>
> On 3 August 2013 21:06, John Vandenberg  wrote:
>
> > p.s. Try VE on 26kbps - that is all my mother can obtain currently,
unless
> > she gets satellite, which is too expensive for her - she lives ~10 kms
from
>
>
> I would actually be interested to know if new Javascript, new
> functionality, things like the VE, etc. are routinely tested on slow
> connections. Is there anything like this in place?

I was there yesterday, only briefly so I didnt have time to do any perf
testing, but it was clearly worse compared to the last time I did it. I
suspect ULS is playing its part of the problem, but user doesnt care which
feature is to blame. I am sure there are 'dialup' simulators, but nothing
beats a real modem struggling to avoid dropouts when its the last
connection on a fair dinkum noisey line.

Just consider what the image insertion dialog is doing, and it clear the VE
is not being designed to accomodate dialup users at all. Understandable.
Hopefully soon we'll be able to replace stock widgets with low bandwidth
equivalents.

John
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread Bartosz Dziewoński

On Sat, 03 Aug 2013 22:29:57 +0200, David Gerard  wrote:


On 3 August 2013 21:25, Bartosz Dziewoński  wrote:

On Sat, 03 Aug 2013 22:13:34 +0200, David Gerard  wrote:



I would actually be interested to know if new Javascript, new
functionality, things like the VE, etc. are routinely tested on slow
connections. Is there anything like this in place?



I very much doubt it; however, thanks to ResourceLoader, the bandwidth is
very rarely the bottleneck or even noticeable.



I would strongly suggest you not declare it not noticeable until
you've tried it.


I do my day-to-day browsing on a connection probably considered slow by 
American standards, 1 mbps down on a good day. Surely it's no 26 kbps, but 
still at the bottom end of the spectrum. I am the last person you could accuse 
of catering only to audiences which happen to live in high-tech areas, both in 
terms of loading speed and general resource-intensiveness, as the laptop I am 
using for browsing and development has already been considered mid-end in 2006 
when it was released.

As I said in the part of my message you left out, the actual download slowness 
is rarely caused by either core MediaWiki scripts or extensions' ones, which go 
through ResourceLoader; the culprit is local wiki customizations. All RL-loaded 
scripts are loaded together in just a few requests to the server, minified and 
gzipped, with any graphics embedded in the same requests as well; however, each 
non-RL-compatible script is loaded in it's own separate HTTP request without 
minification, and each image it uses is one more request. These add up very 
quickly.

Try sometimes comparing the English Wikipedia to a vanilla MediaWiki; or try 
loading Special:Preferences and compare the loading speed to regular browsing 
(all custom scripts are disabled there, I think in order to make it harder to 
completely break your account by enabling broken gadgets). Anonymous users 
don't have it too bad, still, but any power-user with dozens of gadgets enabled 
can feel a world of difference.


--
Matma Rex

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread David Gerard
On 3 August 2013 21:25, Bartosz Dziewoński  wrote:
> On Sat, 03 Aug 2013 22:13:34 +0200, David Gerard  wrote:

>> I would actually be interested to know if new Javascript, new
>> functionality, things like the VE, etc. are routinely tested on slow
>> connections. Is there anything like this in place?

> I very much doubt it; however, thanks to ResourceLoader, the bandwidth is
> very rarely the bottleneck or even noticeable.


I would strongly suggest you not declare it not noticeable until
you've tried it.


- d.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread Bartosz Dziewoński

On Sat, 03 Aug 2013 22:13:34 +0200, David Gerard  wrote:


I would actually be interested to know if new Javascript, new
functionality, things like the VE, etc. are routinely tested on slow
connections. Is there anything like this in place?


I very much doubt it; however, thanks to ResourceLoader, the bandwidth is very 
rarely the bottleneck or even noticeable. The loading slowness comes mostly 
from poorly written extensions which load themselves with higher priority (ULS 
has this kind of problems, but I think they were since fixed) or poorly written 
or not RL-compatible default user scripts and gadgets (just about every single 
one, sadly).

--
Matma Rex

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread David Gerard
On 3 August 2013 21:06, John Vandenberg  wrote:

> p.s. Try VE on 26kbps - that is all my mother can obtain currently, unless
> she gets satellite, which is too expensive for her - she lives ~10 kms from


I would actually be interested to know if new Javascript, new
functionality, things like the VE, etc. are routinely tested on slow
connections. Is there anything like this in place?


- d.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread John Vandenberg
On Aug 4, 2013 1:31 AM, "Tyler Romeo"  wrote:
>
> I think we can agree that VE has some performance considerations, but if
> you take a look at the bug report, it's explained why it would be so
> incredibly difficult to implement section editing.

Not really. Some sections on some pages are complex, like that example.
Most sections on most pages are bog standard.

Detect the complicated cases and mark those cases non-section-editable, or
mark the set of sections involved as 'must be section edited as one group'.

p.s. Try VE on 26kbps - that is all my mother can obtain currently, unless
she gets satellite, which is too expensive for her - she lives ~10 kms from
what is considered to be a large city in Australia. And she is over 70yo
and has more than 500 edits. She is happy with the wikitext editor (and
learnt it herself with the messy help pages we have) and thinks it is
simpler than word processing apps (which she has to relearn regularily
because they keep changing every few years).

--
John
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread rupert THURNER
I tried the example from the bug report on the VE talk page, it did not
render properly. It is only hypothetical, isn t it?

Am 03.08.2013 17:31 schrieb "Tyler Romeo" :
>
> I think we can agree that VE has some performance considerations, but if
> you take a look at the bug report, it's explained why it would be so
> incredibly difficult to implement section editing.
>
> *-- *
> *Tyler Romeo*
> Stevens Institute of Technology, Class of 2016
> Major in Computer Science
> www.whizkidztech.com | tylerro...@gmail.com
>
>
> On Sat, Aug 3, 2013 at 4:12 AM, rupert THURNER wrote:
>
> > On Sat, Aug 3, 2013 at 3:56 AM, Matthew Flaschen
> >  wrote:
> > > On 08/02/2013 07:43 AM, rupert THURNER wrote:
> > >> hi,
> > >>
> > >> in visual editor, would it be possible to edit only a paragraph, when
> > one
> > >> clicks the edit link on a paragraph? if not, why not? currently an a
> > decent
> > >> laptop, clicking the "edit" link on whatever page or section takes at
> > least
> > >> 4 seconds. this is unexpectedly slow.
> > >
> > > Section editing is bug
> > > https://bugzilla.wikimedia.org/show_bug.cgi?id=48429 .  My
understanding
> > > is that it's on their road map, but down the road.
> >
> > i tried it at https://en.wikipedia.org/wiki/Jos%C3%A9_Mourinho, and it
> > is 6 clicks + 5 pgdn + 75 seconds compared to 3 clicks + 1 pgdn + 14
> > secs.
> > * 1 click and 15 secs to edit
> > * 1 click to make go a away a note (see attachment at the bug)
> > * 1 click to edit summary
> > * 1 click and 20 secs to review changes
> > * 1 click to return to save form
> > * 1 click and 40 secs to save
> > * 5* pg down to go to the section just edited
> >
> > section edit with the text editor takes:
> > * 1 click and 2 secs to open
> > * 1 click and 2 secs to preview
> > * 1 pg-down to find the save button (which is imo unnecessary, should
> > be on top as well)
> > * 1 click and 10 secs to save
> >
> > rupert.
> >
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Web Tracing Framework

2013-08-03 Thread Ori Livneh
Google's newly released Web Tracing Framework looks very useful:

http://google.github.io/tracing-framework/


---
Ori Livneh
o...@wikimedia.org
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread Tyler Romeo
I think we can agree that VE has some performance considerations, but if
you take a look at the bug report, it's explained why it would be so
incredibly difficult to implement section editing.

*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2016
Major in Computer Science
www.whizkidztech.com | tylerro...@gmail.com


On Sat, Aug 3, 2013 at 4:12 AM, rupert THURNER wrote:

> On Sat, Aug 3, 2013 at 3:56 AM, Matthew Flaschen
>  wrote:
> > On 08/02/2013 07:43 AM, rupert THURNER wrote:
> >> hi,
> >>
> >> in visual editor, would it be possible to edit only a paragraph, when
> one
> >> clicks the edit link on a paragraph? if not, why not? currently an a
> decent
> >> laptop, clicking the "edit" link on whatever page or section takes at
> least
> >> 4 seconds. this is unexpectedly slow.
> >
> > Section editing is bug
> > https://bugzilla.wikimedia.org/show_bug.cgi?id=48429 .  My understanding
> > is that it's on their road map, but down the road.
>
> i tried it at https://en.wikipedia.org/wiki/Jos%C3%A9_Mourinho, and it
> is 6 clicks + 5 pgdn + 75 seconds compared to 3 clicks + 1 pgdn + 14
> secs.
> * 1 click and 15 secs to edit
> * 1 click to make go a away a note (see attachment at the bug)
> * 1 click to edit summary
> * 1 click and 20 secs to review changes
> * 1 click to return to save form
> * 1 click and 40 secs to save
> * 5* pg down to go to the section just edited
>
> section edit with the text editor takes:
> * 1 click and 2 secs to open
> * 1 click and 2 secs to preview
> * 1 pg-down to find the save button (which is imo unnecessary, should
> be on top as well)
> * 1 click and 10 secs to save
>
> rupert.
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE: why editing a paragraph opens the whole page?

2013-08-03 Thread rupert THURNER
On Sat, Aug 3, 2013 at 3:56 AM, Matthew Flaschen
 wrote:
> On 08/02/2013 07:43 AM, rupert THURNER wrote:
>> hi,
>>
>> in visual editor, would it be possible to edit only a paragraph, when one
>> clicks the edit link on a paragraph? if not, why not? currently an a decent
>> laptop, clicking the "edit" link on whatever page or section takes at least
>> 4 seconds. this is unexpectedly slow.
>
> Section editing is bug
> https://bugzilla.wikimedia.org/show_bug.cgi?id=48429 .  My understanding
> is that it's on their road map, but down the road.

i tried it at https://en.wikipedia.org/wiki/Jos%C3%A9_Mourinho, and it
is 6 clicks + 5 pgdn + 75 seconds compared to 3 clicks + 1 pgdn + 14
secs.
* 1 click and 15 secs to edit
* 1 click to make go a away a note (see attachment at the bug)
* 1 click to edit summary
* 1 click and 20 secs to review changes
* 1 click to return to save form
* 1 click and 40 secs to save
* 5* pg down to go to the section just edited

section edit with the text editor takes:
* 1 click and 2 secs to open
* 1 click and 2 secs to preview
* 1 pg-down to find the save button (which is imo unnecessary, should
be on top as well)
* 1 click and 10 secs to save

rupert.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l