Don't attempt to update the watchlist if temp user creation is active
IP users and temp users can't use the watchlist anyway. Bug: T327305 Change-Id: Idc28ecab5291251da9cee294015cde78e6702499
This commit is contained in:
parent
52360c9e9e
commit
297dc2d7ca
1 changed files with 3 additions and 0 deletions
|
|
@ -2665,6 +2665,9 @@ class EditPage implements IEditObject {
|
|||
* Register the change of watch status
|
||||
*/
|
||||
private function updateWatchlist(): void {
|
||||
if ( $this->tempUserCreateActive ) {
|
||||
return;
|
||||
}
|
||||
$user = $this->getUserForSave();
|
||||
if ( !$user->isNamed() ) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue