User "Aaron Schulz" posted a comment on MediaWiki.r85025.

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

(bug 23408) give admins a warning before letting them block themselves.  Also 
tweak the logic so that loading the interface for one already-blocked user, 
then actually submitting a block on a different user, shows the confirmation 
again if the second user is already blocked.

Comment:

<pre>$fields['AlreadyBlocked']['default'] = htmlspecialchars( 
$block->getTarget() );</pre>

What does the htmlspecialchars do here?

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

Reply via email to