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

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

* Fix double-escaping from r85025
* Allow admins to modify blocks placed (probably accidentally) on themselves 
*by* themselves, whether or not they have the 'unblockself' permission.

Comment:

<pre>$wgUser->blockedBy() === $wgUser->getName()</pre>

Could this use ID instead of name?

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

Reply via email to