https://bugzilla.wikimedia.org/show_bug.cgi?id=38375
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |[email protected] Resolution| |INVALID --- Comment #2 from Krinkle <[email protected]> 2012-07-22 00:45:57 UTC --- Loading of resources in MediaWiki is done through the concept of modules. A module can contain more than 1 file. For example the "skins.monobook" module contains the following files: > > 'styles' => array( > 'common/commonElements.css' => array( 'media' => > 'screen' ), > 'common/commonContent.css' => array( 'media' => > 'screen' ), > 'common/commonInterface.css' => array( 'media' => > 'screen' ), > 'monobook/main.css' => array( 'media' => 'screen' ), > ), Please do not link to refer to internal mediawiki files directly. Instead load the module as a whole by its canonical name ("skins.monobook" in this case). Files can be renamed or moved between versions of MediaWiki, but the module name will not. To learn how to load a module, see: https://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoader#Loading_module Also, don't copy or modify internal files as a whole. If you copy all of main.css to your wiki's MediaWiki:Monobook.css page you cause all css to be loaded twice. This is both inefficient and causes the styles to be outdated. And when you upgrade to the next version you might end up with a broken-looking wiki because you still have old styles - even styles you didn't want to change - and then a result have effectively changed. Instead keep your MediaWiki:Monobook.css clean with only styles you intent to override from the default styles. Don't worry about where the files are in MediaWiki core, the software takes care of that. The css wasn't removed in 1.19.1, they were just renamed and moved somewhere else. So if you want to override the color of headings, adding the following to MediaWiki:Monobook.css will work just fine: > h1, h2, h3, h4, h5, h6 { > color: green; > } Marking this bug as 'invalid', because it is not a bug in the software. If you need further assistance feel just leave a comment below and we'll answer :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
