r23574 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23573‎ | r23574 | r23575 >
Date:00:10, 30 June 2007
Author:aaron
Status:old
Tags:
Comment:
*Use NS_SPECIAL constant to be formal
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Wiki.php
@@ -98,7 +98,7 @@
9999 $lang->findVariantLink( $title, $ret );
100100
101101 }
102 - if ( $ret->getNamespace() != -1 && $oldid = $request->getInt( 'oldid' ) ) {
 102+ if ( $ret->getNamespace() != NS_SPECIAL && $oldid = $request->getInt( 'oldid' ) ) {
103103 // Allow oldid to override a changed or missing title.
104104 $rev = Revision::newFromId( $oldid );
105105 if( $rev ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r23581Merged revisions 23406-23580 via svnmerge from...david04:50, 30 June 2007

Status & tagging log