User "Reedy" posted a comment on MediaWiki.r101244.

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

Remove more assignments in conditionals (while each to foreach)

Comment:

So the simplest option is to revert the change for that loop.

Else, a for loop, and for the next actually use $array[$i+1]..

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

Reply via email to