Last modified: 2014-08-07 16:53:33 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 T50313, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48313 - EducationProgram: SpecialMyCourses "Did You Know" box flashes unstyled content
EducationProgram: SpecialMyCourses "Did You Know" box flashes unstyled content
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-09 23:24 UTC by Sage Ross
Modified: 2014-08-07 16:53 UTC (History)
4 users (show)

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


Attachments

Description Sage Ross 2013-05-09 23:24:07 UTC
If you visit Special:MyCourses, the content of the Did You Know page loads initially just as it exists on the source page, taking up the full width of the screen and displacing/covering the activity feed. It takes a moment before it gets moved to the right in its own box.

The content should not appear until after the box is ready.
Comment 1 Sam Reed (reedy) 2013-05-09 23:27:48 UTC
Resources need top loading
Comment 2 Jeroen De Dauw 2013-05-10 18:52:08 UTC
> Resources need top loading

That is the bad solution. A nicer way to go about this is having the thing hidden initially and changing visibility with some JS when stuff has loaded.
Comment 3 Krinkle 2014-01-03 12:54:45 UTC
(In reply to comment #2)
> > Resources need top loading
> 
> That is the bad solution. A nicer way to go about this is having the thing
> hidden initially and changing visibility with some JS when stuff has loaded.

No.

If the box is entirely generated by javascript, make sure the associated stylesheet in the same module (ResourceLoader will load the styles before executing the script).

If the box is generated server-side, the associated stylesheet should be part of a module (not a separate module per se) that has position=top, and load it with addModules (not use addModuleStyles)

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


Navigation
Links