Last modified: 2010-10-27 19:41:58 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 T27402, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25402 - Site CSS loads before Skin CSS on Monobook
Site CSS loads before Skin CSS on Monobook
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.17.x
All All
: High major with 1 vote (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks: 24415
  Show dependency treegraph
 
Reported: 2010-10-03 16:44 UTC by mysolo
Modified: 2010-10-27 19:41 UTC (History)
2 users (show)

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


Attachments

Description mysolo 2010-10-03 16:44:59 UTC
The content of MediaWiki:Common.css and MediaWiki:Monobook.css pages do not override the default CSS styles specified in main.css.

The config of css in LocalSetting.php:

panthera w # fgrep -i css LocalSettings.php
$wgAllowUserCss = false;
$wgAllowUserCssPrefs = false;
$wgUseSiteCss = true;
$wgGroupPermissions['sysop']['editusercssjs']    = true;


The source code of page shows a main.css is downloaded after personnal css.

<link rel="stylesheet" href="/w/load.php?debug=false&amp;lang=fr&amp;modules=mediawiki.legacy.commonPrint%7Cmediawiki.legacy.shared&amp;only=styles&amp;skin=monobook" />
<link rel="stylesheet" href="/w/load.php?debug=false&amp;lang=fr&amp;modules=site&amp;only=styles&amp;skin=monobook&amp;version=20100930T182320Z" />

<link rel="stylesheet" href="/w/skins/monobook/main.css?301" media="screen" />
<!--[if lt IE 5.5000]><link rel="stylesheet" href="/w/skins/monobook/IE50Fixes.css?301" media="screen" /><![endif]-->

<!--[if IE 5.5000]><link rel="stylesheet" href="/w/skins/monobook/IE55Fixes.css?301" media="screen" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" href="/w/skins/monobook/IE60Fixes.css?301" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="/w/skins/monobook/IE70Fixes.css?301" media="screen" /><![endif]-->
</head>
Comment 1 Roan Kattouw 2010-10-03 19:45:09 UTC
Should be fixed once Monobook is ported to the resource loader I guess?
Comment 2 Roan Kattouw 2010-10-27 15:32:51 UTC
(In reply to comment #1)
> Should be fixed once Monobook is ported to the resource loader I guess?
Turns out it did. Style sheets load in the correct order now that Monobook has been ported.
Comment 3 mysolo 2010-10-27 19:41:58 UTC
Thanks. 

It's good.

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


Navigation
Links