Page MenuHomePhabricator

1.14 ignores MediaWiki:Common.css
Closed, InvalidPublic

Description

Author: xjakub

Description:
After an update from 1.13.x to 1.14, MediaWiki stopped to take the MediaWiki:Common.css file into consideration.
Placing its content into the skin's main.css file works as a fast workaround.


Version: 1.14.x
Severity: normal

Details

Reference
bz17613

Event Timeline

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

herd wrote:

Can you provide more information?

Is "$wgUseSiteCss = true;" still the default and not overridden

Is the page correctly being called in something like <link rel="stylesheet" href="/w/index.php?title=MediaWiki:Common.css&amp;usemsgcache=yes&amp;ctype=text%2Fcss&amp;smaxage=2678400&amp;action=raw&amp;maxage=2678400" type="text/css" /> in the page source?

If you go to that location, does it show, or do you get "Raw pages must be accessed through the primary script entry point." and/or some other errors?

joe wrote:

I ran into this same problem only to find out it was a custom skin which was causing the problem.
Seams like there has been some MW skin changes from 1.13 to 1.14.
After fiddling with the custom skins <head> tag, all is well.

Just some food for thought.

xjakub wrote:

You're right, the reason was in our own skin based on MonoBook from MediaWiki 1.12 -- after I rebased the skin to MonoBook from 1.14, everything works as expected.