From: Tim Starling Date: Sun, 15 Aug 2004 07:43:37 +0000 (+0000) Subject: fix of bug added in 1.37 X-Git-Tag: 1.5.0alpha1~2336 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=fb9684cd962912a44ef92a98f949de3d9cec1aba;p=lhc%2Fweb%2Fwiklou.git fix of bug added in 1.37 --- diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index ee7342a1f7..05bb4707a8 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -132,11 +132,14 @@ class MovePageForm { # moved into article namespace? elseif ( $ons != NS_MAIN and $nns == NS_MAIN ) { $u = new SiteStatsUpdate( 0, 1, +1 ); # not viewed, edited, adding + } else { + $u = false; + } + if ( $u !== false ) { + # save it for later update + array_push( $wgDeferredUpdateList, $u ); + unset($u); } - - # save it for later update - array_push( $wgDeferredUpdateList, $u ); - unset($u); # Move talk page if # (1) the checkbox says to,