Ilmari Karonen <> changed:

           What    |Removed                     |Added
                 CC|                            |

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

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

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:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to