https://bugzilla.wikimedia.org/show_bug.cgi?id=65734

--- Comment #4 from Matthew Flaschen <[email protected]> ---
As Steven said, the experiment was coincidentally ending anyway.

The issue here is that although the tours were not auto-loaded regardless of an
anon's actions, 'ext.gettingstarted.anonymousEditorAcquisition' was, which
depends on 'ext.guidedTour.lib' (which then has transitive dependencies on
other stuff), since launchTour was called as needed.

Since mw.guidedTour.launchTour is already async, we could just make a trivial
launcher module, such that mw.guidedTour.launcher.launchTour (or whatever we
call it) handled the mw.loader.using then called the real launchTour.

Then, we could mark mw.guidedTour.launchTour as @private, and discourage use
outside the library code itself.

If people like this idea, I'll pivot the bug to that.

Side note, I think the main issue with ext.guidedTour.styles is probably the
data URL @embeds
(http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=true\u0026lang=en&modules=ext.guidedTour.styles&only=styles&skin=vector&*).

There are two:

* X button - ext.guidedTour.x.svg (data:image/svg+xml...); this is repeated
twice for vendor prefixes, but gzip should greatly minimize the impact of that
(not sure if that's taken in account in the 4th measurement)
* Arrows - ext.guidedTour.arrows.png - This is bug.  Sam is working on
https://trello.com/c/KNOy96ga/426-how-to-redraw-the-pokey .  If that's
successful, we can draw the arrows in CSS and greatly reduce the size.  

In the meantime, this spurred me to crush our PNGs with optipng, which is some
low-hanging fruit: https://gerrit.wikimedia.org/r/#/c/135739/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to