https://bugzilla.wikimedia.org/show_bug.cgi?id=26555

           Summary: Styles for a skin added with $out->addStyle() are
                    loaded after instead of before user custom styles.
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: krinklem...@gmail.com
                CC: roan.katt...@gmail.com


The following in a custom skin worked in older versions of MediaWiki, but 
in the current trunk it's loaded after the user css

function setupSkinUserCss( OutputPage $out ) {
           parent::setupSkinUserCss( $out );
          $out->addStyle( 'luontoliitto/main.css', 'screen' );
 }

<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet"
href="/w/load.php?debug=true&amp;lang=fi&amp;modules=site&amp;only=styles&amp;skin=luontoliitto&amp;version=20110103T210326Z">
<link rel="stylesheet"
href="/w/load.php?debug=true&amp;lang=fi&amp;modules=user&amp;only=styles&amp;skin=luontoliitto&amp;user=Krinkle&amp;version=20110103T210140Z">
<link rel="stylesheet" href="/w/skins/luontoliitto/main.css?301"
media="screen">

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to