User "Brion VIBBER" posted a comment on MediaWiki.r90101.

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

Revert r86764, r89134, r86827 -- added a second opaque boolean parameter to 
Linker::commentBlock() which appeared to mostly just turn it into 
Linker::formatComment().

commentBlock() exists for the sole purpose of embedding a comment into 
parentheses if it exists so you can append it to a line of text -- if you're 
not putting stuff in parentheses, don't use commentBlock() because you're not 
generating a parenthesized comment block.
Opaque boolean parameters are also very poor form, especially when tacking on 
multiple ones. There was already a nasty optional '$local' boolean param, 
forcing all uses of this other parameter to add *two* parameters, making 
illegible stuff like 'false, false'.

Comment:

Reverts stuff that made it into REL1_18 from 1.18 code review; revert needs 
merging to branch before release.

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to