Last modified: 2009-10-25 09:03:46 UTC
<link rel="stylesheet" href="/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes... <link rel="stylesheet" href="/w/index.php?title=MediaWiki:monobook.css&usemsgcache=yes... With capitalized links off, getSkinName() passed through Title::makeTitleSafe returns lowercased, eg "monobook.css". Message names always have to be uppercase page names (with some exceptions). However, this still works for this particular instance, as usemsgcache=yes normalizes the case back to "Monobook.css", and returns the contents... but this is a fragile situation. Several things could break it, and testing skinname.css with $wgCapitalLinks is probably not done on every edit to Skin.php ...? Probably getSkinName() should be ucfirst'd there?
ucfirst() on getSkinName() would be a short-term fix. Ideally, secureAndSplit() should normalize message titles.
*** Bug 18320 has been marked as a duplicate of this bug. ***
This should be fixed in r57558.