Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | ori | T108197 Blockers for 1.26wmf18 (released on 2015-08-11) | |||
Resolved | Krinkle | T107980 FOUC of VE's edit tab on page load caused by EducationProgram ext, made visible by the newly async RL model |
Event Timeline
The edit tab is swapped server-side by VisualEditor in PHP. The JS code is only used to fix it up for cached unedited articles (upto 30 days) following a configuration change such as enabling in a namespace, or enabling by default.
That use case was considered and we figured that'd be okay given it's not common in production in general. And when it happens it automatically drops off following cache roll over.
Does VisualEditor have any JavaScript code that (almost) always changes the appearance of the initial page load? If so, let's identify that and work to get rid of it as that is a bad practice. It should be done with HTML and CSS instead.
FYI: This task is considered a blocker for the upcoming (August 11th) train deployment to WMF wikis. If this task is not fixed before then I will have to hold the train.
When I wrote it, there was no flash. The js code and PHP code were functionally equivalent. The JS code is a no-op – unless the wiki's configuration changed recently (namespace, VE default etc.) and the user is anonymous and they're viewing a not-recently-changed cached page.
Yeah, sorry for being snappy. I've skimmed the code and can't see how it's not being set.
Change 229954 had a related patch set uploaded (by Krinkle):
Never unconditionally 'return false' from interface hooks
Change 229955 had a related patch set uploaded (by Krinkle):
Never unconditionally 'return false' from interface hooks
Change 229954 merged by jenkins-bot:
Never unconditionally 'return false' from interface hooks
Change 229955 merged by jenkins-bot:
Never unconditionally 'return false' from interface hooks