Last modified: 2008-09-08 23:34:28 UTC
It would appear that I cannot rollback anonymous users through the API. URL: http://en.wikipedia.org/w/api.php Post data (percent-encoded): action=rollback&format=xml&title=User+talk%3aGurch&user=86.140.177.30&token=f88492c3c482f3f322a9f336faba934a%2b%5c Response: <?xml version="1.0" encoding="utf-8"?><api><error code="invaliduser" info="Invalid username ``86.140.177.30''" /></api> Reproduced in other formats on other pages with other anonymous users, also tried percent-encoding the whole username.
Created attachment 5306 [details] Loosen the validation for IPs This patch, very simply, only runs the username through the validator if the username is not an IP. If the username is an IP, the validator automatically fails it.
Created attachment 5307 [details] Do it differently Just change the above to do it the same way as you did it in the ApiQueryBlocks.php
Fixed in r40628