http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100239
Revision: 100239
Author: happy-melon
Date: 2011-10-19 17:09:04 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
Follow-up r82285: we should not apply case conversion to these names, because
it's unintuitive and potentially risky when they could theoretically contain
weird characters. It was necessary before r86508, but not now there is a
prefix meaning the group name is not at the start of the title. Plus the
default messages are already at the lowercase titles.
Modified Paths:
--------------
trunk/phase3/includes/resourceloader/ResourceLoaderUserGroupsModule.php
Modified:
trunk/phase3/includes/resourceloader/ResourceLoaderUserGroupsModule.php
===================================================================
--- trunk/phase3/includes/resourceloader/ResourceLoaderUserGroupsModule.php
2011-10-19 16:57:10 UTC (rev 100238)
+++ trunk/phase3/includes/resourceloader/ResourceLoaderUserGroupsModule.php
2011-10-19 17:09:04 UTC (rev 100239)
@@ -39,7 +39,6 @@
if( in_array( $group, array( '*',
'user' ) ) ){
continue;
}
- $g = ucfirst( $group );
$pages["MediaWiki:Group-$g.js"] =
array( 'type' => 'script' );
$pages["MediaWiki:Group-$g.css"] =
array( 'type' => 'style' );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs