Last modified: 2013-07-23 21:13:47 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 T53256, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51256 - No CSS loads when the browser's JS is disabled
No CSS loads when the browser's JS is disabled
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
BookManagerv2 (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Molly White
:
Depends on:
Blocks: 50386
  Show dependency treegraph
 
Reported: 2013-07-12 19:22 UTC by Helder
Modified: 2013-07-23 21:13 UTC (History)
2 users (show)

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


Attachments

Description Helder 2013-07-12 19:22:29 UTC
For some reason the CSS seems to be loaded from client side, and the user can see the bar in the left of the page for a few moments before it gets centralized, and hides the list of chapters.

This thread on wikitech may be of some help:
http://www.gossamer-threads.com/lists/wiki/wikitech/363494

From
https://www.mediawiki.org/wiki/Manual:OutputPage.php#JavaScript_and_CSS

"addModuleStyles($modules): Add only CSS of one or more modules recognized by the Resource Loader. Module styles added through this function will be added using standard link CSS tags, rather than as a combined Javascript and CSS package. Thus, they will load even if the user's browser disables JavaScript (unless the browser also disables CSS). $modules can be a module name (string) or an array of module names."

I'm not sure if all the CSS need to be loaded this way, though.
Comment 1 Gerrit Notification Bot 2013-07-15 17:38:51 UTC
Change 73784 had a related patch set uploaded by Mollywhite:
Bug 51256: Load primary CSS separately from JavaScript.

https://gerrit.wikimedia.org/r/73784
Comment 2 Gerrit Notification Bot 2013-07-17 19:36:32 UTC
Change 73784 merged by Mollywhite:
Bug 51256: Load primary CSS separately from JavaScript.

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

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


Navigation
Links