This is for {T330816}. See also T330816#8958447.
`PageUpdater::saveRevision` add users to autopromote-once groups by calling `UserGroupManager::addUserToAFor related work on autopromoteOnceG groups`., It should not do so for temporary userssee {T340462}.
Since the following are public methods,`PageUpdater::saveRevision` add users to autopromote-once groups by calling `UserGroupManager::addUserToAutopromoteOnceGroups`. they should also be updated:
* `UserGroupManager::addUserToAutopromoteOnceGroups` should do nothing and return, as it does for IP users
* `UserGroupManager::getUserAutopromoteOnceGroups` should return an empty arrayThis returns an empty array for anon users, and should do the same for temporary us
Since `UserGroupManager::getUserAutopromoteOnceGroups` is a public method, it should also be updated to return an empty array.