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

Ilmari Karonen <nos...@vyznev.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nos...@vyznev.net

--- Comment #1 from Ilmari Karonen <nos...@vyznev.net> 2011-01-03 21:24:29 UTC 
---
I _think_ the problem is caused by OutputPage::headElement() doing

    $ret .= implode( "\n", array(
        $this->getHeadLinks( $sk ),
        $this->buildCssLinks(),
        $this->getHeadItems(),
    ) );

Here, ResourceLoader is adding its style links in getHeadLinks(), while style
links added via addStyle() are output in buildCssLinks().  To fix this issue,
either a) the ResourceLoader code could be pulled out of getHeadLinks() into a
separate method, b) the call to buildCssLinks() could be moved before
getHeadLinks(), or c) the call to buildCssLinks() could be moved _inside_
getHeadLinks().  Not being very familiar with ResourceLoader, I have no idea
which of these would be the cleanest solution, or the least likely to cause
unexpected side effects.

-- 
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