User "Catrope" posted a comment on MediaWiki.r89707.

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

quick fix for bug28983 . Do not use $path in the loop. Even the remaining $e is 
dangerous subject to change from the require-once-loaded extensions. This is 
NOT A FINAL fix, just a small improvement

Comment:

Foreach runs on a copy of the array, so changing or overwriting 
<code>$ext</code> has no effect on the loop. This fix looks sufficient to me. 
Tagging 1.17, 1.18

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

Reply via email to