"Nikerabbit" changed the status of MediaWiki.r106310 to "ok"
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106310

Old status:  new
> New status: ok

Commit summary for MediaWiki.r106310:

Throw an exception if Parser::disableCache is called before mOutput initialized 
(Aka when not parsing something).

So far I've encountered 2 extensions that give fatal errors from calling 
$wgParser->disableOutput() from hooks that are called at points where parsing 
is not taking place! Exception with a backtrace is much nicer than "Fatal 
error: Call to a member function disableCache() on a non-object..."

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

Reply via email to