User "Nikerabbit" posted a comment on MediaWiki.r92141.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/92141#c19580
Commit summary:

Babel: (bug 29663) Babel doesn't validate babel-autocreate-user message -> do 
nothing if the username is invalid. Also, do not create categories if the user 
is blocked.
NewUserMessage: Fix fatal error when username is invalid. Instead, do nothing.

Comment:

If this code has any chance of being executed during web requests, it needs 
zero as second parameter to Article constructor.
 $article = new Article( $title );


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to