User "Bsitu" posted a comment on MediaWiki.r103881. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/103881#c26407 Commit summary:
MoodBar Phase 2 - Feedback response API Comment: For the constructor, I tried to make MBFeedbackResponseItem have the same coding style as MBFeedbackItem. I think here is how it works, create() and load() are used to create new item and existing db item. Each of these methods takes different argument, the first one is taking an array and the second one is taking a DbObject row. Having the two method to create object makes the code more informative and the constructor doesn't have to take a random data type: array or DbObject row. This is just my thought about it. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
