Author: mysolo
Description:
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&lang=fr&modules=mediawiki.legacy.commonPrint%7Cmediawiki.legacy.shared&only=styles&skin=monobook" />
<link rel="stylesheet" href="/w/load.php?debug=false&lang=fr&modules=site&only=styles&skin=monobook&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>
Version: 1.17.x
Severity: major