Manual:Hooks/TitleMoveComplete reads that in MW 1.27.1 you should use $user instead of &$user.
But then $newtitle is broken:
They all give me Notice: Undefined variable: newtitle
with
public static function onTitleMoveComplete( Title &$title, Title &$newTitle, User $user, $oldid, $newid, $reason, Revision $revision ) { $ns = $newtitle->getNamespace(); ... }
or
public static function onTitleMoveComplete( $title, $newTitle, $user, $oldid, $newid, $reason, Revision $revision ) { $ns = $newtitle->getNamespace(); ... }
How can this be fixed? :(