Index: branches/wmf/1.18wmf1/includes/resourceloader/ResourceLoaderContext.php |
— | — | @@ -73,6 +73,8 @@ |
74 | 74 | */ |
75 | 75 | public static function expandModuleNames( $modules ) { |
76 | 76 | $retval = array(); |
| 77 | + // For backwards compatibility with an earlier hack, replace ! with . |
| 78 | + $modules = str_replace( '!', '.', $modules ); |
77 | 79 | $exploded = explode( '|', $modules ); |
78 | 80 | foreach ( $exploded as $group ) { |
79 | 81 | if ( strpos( $group, ',' ) === false ) { |
Index: branches/wmf/1.18wmf1/resources/mediawiki/mediawiki.js |
— | — | @@ -1064,6 +1064,11 @@ |
1065 | 1065 | return null; |
1066 | 1066 | }; |
1067 | 1067 | |
| 1068 | + /** |
| 1069 | + * For backwards-compatibility with Squid-cached pages. Loads mw.user |
| 1070 | + */ |
| 1071 | + this.go = function() { mw.loader.load( 'mediawiki.user' ); }; |
| 1072 | + |
1068 | 1073 | /* Cache document ready status */ |
1069 | 1074 | |
1070 | 1075 | $(document).ready( function() { ready = true; } ); |