Index: branches/resourceloader/phase3/includes/ResourceLoader.php |
— | — | @@ -164,7 +164,6 @@ |
165 | 165 | * |
166 | 166 | * $options format: |
167 | 167 | * array( |
168 | | - * 'user' => [boolean: true for logged in, false for anon, optional, state of current user by default], |
169 | 168 | * 'lang' => [string: language code, optional, code of default language by default], |
170 | 169 | * 'skin' => [string: name of skin, optional, name of default skin by default], |
171 | 170 | * 'dir' => [string: 'ltr' or 'rtl', optional, direction of lang by default], |
— | — | @@ -176,14 +175,12 @@ |
177 | 176 | // Fallback on system settings |
178 | 177 | // FIXME: Unnecessary unstubbing going on here, work around that |
179 | 178 | $parameters = array( |
180 | | - 'user' => $request->getVal( 'user', $wgUser->isLoggedIn() ), |
181 | 179 | 'lang' => $request->getVal( 'lang', $wgLang->getCode() ), |
182 | 180 | 'skin' => $request->getVal( 'skin', $wgDefaultSkin ), |
183 | 181 | 'debug' => $request->getVal( 'debug' ), |
184 | 182 | ); |
185 | 183 | // Mediawiki's WebRequest::getBool is a bit on the annoying side - we need to allow 'true' and 'false' values |
186 | 184 | // to be converted to boolean true and false |
187 | | - $parameters['user'] = $parameters['user'] === 'true' || $parameters['user']; |
188 | 185 | $parameters['debug'] = $parameters['debug'] === 'true' || $parameters['debug']; |
189 | 186 | // Get the direction from the requested language |
190 | 187 | if ( !isset( $parameters['dir'] ) ) { |
Index: branches/resourceloader/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -403,7 +403,6 @@ |
404 | 404 | batch.sort(); |
405 | 405 | // Build a list of request parameters |
406 | 406 | var base = { |
407 | | - 'user': mediaWiki.config.get( 'wgUserName' ) !== null, |
408 | 407 | 'skin': mediaWiki.config.get( 'skin' ), |
409 | 408 | 'lang': mediaWiki.config.get( 'wgUserLanguage' ), |
410 | 409 | 'debug': mediaWiki.config.get( 'debug' ), |