The argument names are misleading. I've found a couple extensions that misinterpret this to mean that the oldid is now the redirect and the newid is where the current version of the article is.
Argument names are either wrong or very misleading!
$oldid, $newid <- Why is that the title of these arguments print the the relevant page's name, and not it's ID? Sure, you can use
->getArticleId() to get ahold of the page's ID from there -- But I find it odd that it claims to be an ID but is actually a a title. Last I checked, pages had numerical identifiers and not textual one. Is this error, or should it be this way? Where can this be properly reported? --188.8.131.52 20:07, 15 October 2014 (UTC)
Warning - hook broken
THIS IS BROKEN https://phabricator.wikimedia.org/T118683 ALL YOUR OLD CODE MIGHT BE NOT WORKING