From c0ead8a9d53468bf67e537bb2195a1542a1cf74a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 25 Dec 2004 00:04:19 +0000 Subject: [PATCH] * (bug 1193) Fix move-only page protection mode --- includes/Title.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index e0dd5b2bf0..e9d723d5d0 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1339,7 +1339,9 @@ class Title { return 'badarticleerror'; } - if ( $auth && ( !$this->userCanEdit() || !$nt->userCanEdit() ) ) { + if ( $auth && ( + !$this->userCanEdit() || !$nt->userCanEdit() || + !$this->userCanMove() || !$nt->userCanMove() ) ) { return 'protectedpage'; } -- 2.20.1