Manual talk:Hooks/TitleMoveComplete

From mediawiki.org

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![edit]

$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? --184.155.109.183 20:07, 15 October 2014 (UTC)Reply

Warning - hook broken[edit]

THIS IS BROKEN https://phabricator.wikimedia.org/T118683 ALL YOUR OLD CODE MIGHT BE NOT WORKING