"Aaron Schulz" posted a comment on MediaWiki.r109824.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/109824#c29942

Commit summary for MediaWiki.r109824:

FileRepo: check constructor parameters

new FileRepo() requires an array of parameters having at least the
'name' and 'backend' key setup.

TODO: 'backend' keyword should probably default to FileBackend.

Aaron Schulz's comment:

Might be nice to have something like array_diff_key( array( 'backend', 'name' 
), $info ) to check for missing params.

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

Reply via email to