User "Hashar" posted a comment on MediaWiki.r88045.

Full URL: 
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88045#c17020
Commit summary:

ApiBase::dieUsageMsg() now also accept being given a single element as a string.

So the old:
  $api->dieUsageMsg( array( 'nologging' ) );

Can now be written:
  $api->dieUsageMsg( 'nologging' );

Saves up a few keystrokes.

Comment:

That one was part of the Berlin 2011 hackaton with input from Bryan & Reedy I 
think :-)

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

Reply via email to