{"shas":[["4c73e4731fa052275162ed23d02388600162af19","771308fc7caaa288ac2666c4a8ee13ee345c1e9e@dd0e9695-b195-4be7-bd10-2dea1a65a6b6","Fix inaccurate return type in comment\n\ngit-svn-id: svn+ssh://svn.wikimedia.org/svnroot/mediawiki/trunk@92607 dd0e9695-b195-4be7-bd10-2dea1a65a6b6","simetrical"],["2a1a93f0b46bf74b17d2e2fc487c18eb0c68bb7a","771308fc7caaa288ac2666c4a8ee13ee345c1e9e@dd0e9695-b195-4be7-bd10-2dea1a65a6b6","Allow blocked sysops to view Special:Unblock\n\nPreviously, trying to visit [[Special:Unblock]] while blocked would give\nan error, even if the user has the unblockself permission.  I moved the\npermission check from execute() to right before the code that does the\nactual unblocking.  This should probably be examined closely for\nsecurity, since I'm not familiar with this code, although the impact of\na bug would be small.  I tested some simple cases manually and they all\nworked as expected:\n\n* Unblocking self works (as before)\n* Submitting the form fails unless you're trying to unblock yourself (as\n  before)\n* GETting the page with any parameters works (previously failed unless\n  the target was your own username)\n\ngit-svn-id: svn+ssh://svn.wikimedia.org/svnroot/mediawiki/trunk@92608 dd0e9695-b195-4be7-bd10-2dea1a65a6b6","simetrical"]],"ref":"refs/heads/trunk","size":2,"head":"2a1a93f0b46bf74b17d2e2fc487c18eb0c68bb7a","push_id":37091524}