Last modified: 2013-09-23 17:59:14 UTC
cascade was passed as a constant, but it is expected to be a reference. includes/Title.php line 2267 Untested Patch : @@ -2263,7 +2263,8 @@ public function updateTitleProtection( $create_perm, $reason, $expiry ) { $expiry = array( 'create' => $expiry ); $page = WikiPage::factory( $this ); - $status = $page->doUpdateRestrictions( $limit, $expiry, false, $reason, $wgUser ); + $cascade=false;// passed by reference to doUpdateRestrictions, dont pass constants + $status = $page->doUpdateRestrictions( $limit, $expiry, $cascade, $reason, $wgUser ); return $status->isOK(); } also here : https://github.com/h4ck3rm1k3/mediawiki/commit/5cd7bccdb53389c8da58738924f10f9dc9465cb9
This was fixed in c01e1c161348edc897dfb5219ceb849649ce8191.