Page MenuHomePhabricator

Bug in skin Cologneblue
Closed, ResolvedPublic

Description

In the standard skin the main css is following:
/*/*/ /*<![CDATA[*/
@import "/skins/common/wikistandard.css";
@import
"/w/index.php?title=K%C3%A4ytt%C3%A4j%C3%A4:Nikerabbit/standard.css&action=raw&ctype=text/css";
@import "/w/index.php?title=MediaWiki:Standard.css&action=raw&ctype=text/css";
a { text-decoration: none; }
a.new, #quickbar a.new { color: #CC2200; }
#quickbar { position: absolute; top: 4px; left: 4px; border-right: 1px solid gray; }
#article { margin-left: 152px; margin-right: 4px; }

/*]]>*/ /* */
</style>

in cologneblue it is
<style type='text/css'>
/*/*/ /*<![CDATA[*/
@import "/skins/common/cologneblue.css";
@import
"/w/index.php?title=K%C3%A4ytt%C3%A4j%C3%A4:Nikerabbit/cologneblue.css&action=raw&ctype=text/css";
#quickbar { position: absolute; left: 4px; }
#article { margin-left: 148px; margin-right: 4px; }
@import "/w/index.php?title=MediaWiki:Cologneblue.css&action=raw&ctype=text/css";
a { text-decoration: none; }
a.new, #quickbar a.new { color: #CC2200; }

/*]]>*/ /* */
</style>

Notice the position of last @import rule in the cologneblue.
The CSS spec says: Any @import rules must precede all rule sets in a style sheet.
Fix needed to make some changes in fiwiki possible.


Version: 1.4.x
Severity: minor
OS: Linux
Platform: PC

Details

Reference
bz1339
TitleReferenceAuthorSource BranchDest Branch
maintain-kubeusers: bump to 0.0.106-20231109100226-523f62c0repos/cloud/toolforge/toolforge-deploy!126taavibump_maintain-kubeusersmain
Make default quota configurable and increase itrepos/cloud/toolforge/maintain-kubeusers!5taavitaavi/quotasmain
Remove support for raw JSON requests and requests serialized with Avro semver < 0.0.3.repos/abstract-wiki/wikifunctions/function-evaluator!19apineapine-no-supportmain
Script that outputs image placeholdersrepos/structured-data/image-suggestions!32mfossatiT333946main
Do not imply that user actively selected object policyrepos/phabricator/deployment!8aklapperaklapper-wmf/T333955wmf/stable
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:09 PM
bzimport set Reference to bz1339.
bzimport added a subscriber: Unknown Object (MLST).

Moved additional statements to after, instead of before, the import.