User "Platonides" posted a comment on MediaWiki.r103448. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/103448#c26143 Commit summary:
if user id is 0 and username is actually an IP, write it as <ip>, not <username>
Comment:
Why not change the above if
if ( $id ) {
to
if ( $id || !IP::isValid( $text ) ) {
?
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
