r10455 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10454‎ | r10455 | r10456 >
Date:13:18, 12 August 2005
Author:hashar
Status:old
Tags:
Comment:
No check needed when viewing old versions
Modified paths:
  • /trunk/phase3/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/index.php
@@ -145,7 +145,7 @@
146146 $ns = $wgTitle->getNamespace();
147147
148148 // Namespace might change when using redirects
149 - if($action == 'view') {
 149+ if($action == 'view' && !$wgRequest->getVal( 'oldid' ) ) {
150150 $wgArticle = new Article( $wgTitle );
151151 $rTitle = Title::newFromRedirect( $wgArticle->fetchContent() );
152152 if($rTitle) {

Status & tagging log