User having user right unblockself cannot unblock himself on wmf wikis.
It works when specify the id of the block, but it does not work, when trying with the username.
The problem is in r68999:
$ip is the wrong var, you have to use $this->ip, because that reflect wpUnblockAddress, the form field with the username
@@ -77,7 +77,7 @@
-$user = User::newFromName( $ip );
+$user = User::newFromName( $this->ip );