From: Alexandre Emsenhuber Date: Fri, 9 Mar 2012 20:37:44 +0000 (+0000) Subject: Let's be consistent and use the same check to show an the deleted version and cascade... X-Git-Tag: 1.31.0-rc.0~24313 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=b2a94c5819391ae2cb30aa82519d6eb4ac7f416d;p=lhc%2Fweb%2Fwiklou.git Let's be consistent and use the same check to show an the deleted version and cascade the parameter --- diff --git a/includes/Article.php b/includes/Article.php index 2e8e2008e1..d98fc1e55f 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1089,7 +1089,7 @@ class Article extends Page { # Cascade unhide param in links for easy deletion browsing $extraParams = array(); - if ( $wgRequest->getVal( 'unhide' ) ) { + if ( $unhide ) { $extraParams['unhide'] = 1; }