"Catrope" changed the status of MediaWiki.r106450 to "ok" and commented it.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106450#c27988
Old Status: new
> New Status: ok
Commit summary for MediaWiki.r106450:
Broke out missing user into its own error; fixes r106018
Catrope's comment:
<pre>
+ if ( !$wgUser ) {
+ $this->dieUsage( 'User info is missing', 'missinguser'
);
+ }
</pre>
I don't think a non-object $wgUser is supposed to be possible.
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview