r12587 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12586‎ | r12587 | r12588 >
Date:21:49, 10 January 2006
Author:magnus_manske
Status:old
Tags:
Comment:
mini-fix
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)
  • /trunk/phase3/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/index.php
@@ -151,7 +151,6 @@
152152 SpecialPage::executePath( $wgTitle );
153153 } else {
154154
155 -
156155 require_once( "includes/Wiki.php" ) ;
157156 $mediaWiki = new MediaWiki() ;
158157
Index: trunk/phase3/includes/Wiki.php
@@ -25,7 +25,7 @@
2626
2727 // Namespace might change when using redirects
2828 $article = new Article( $title );
29 - if($action == 'view' && !$wgRequest->getVal( 'oldid' ) ) {
 29+ if($action == 'view' && !$request->getVal( 'oldid' ) ) {
3030 $rTitle = Title::newFromRedirect( $article->fetchContent() );
3131 if($rTitle) {
3232 # Reload from the page pointed to later

Status & tagging log