Related Gerrit Patches:
|mediawiki/extensions/CentralAuth : master||Add UserIsLocked and UserIsHidden hook handlers|
While $wgDisableAuthManager = false:
> $u = User::newfromName('Newuser'); > return $u->isLocked(); bool(false) > $ca = CentralAuthUser::getInstance($u); > return $ca->isLocked(); bool(true)
Works as expected when AuthManager is disabled. We might have permissions checking places with User::isLocked() so this will probably have to be fixed soon.