Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | $lang->findVariantLink( $title, $ret ); |
100 | 100 | |
101 | 101 | } |
102 | | - if ( $ret->getNamespace() != -1 && $oldid = $request->getInt( 'oldid' ) ) { |
| 102 | + if ( $ret->getNamespace() != NS_SPECIAL && $oldid = $request->getInt( 'oldid' ) ) { |
103 | 103 | // Allow oldid to override a changed or missing title. |
104 | 104 | $rev = Revision::newFromId( $oldid ); |
105 | 105 | if( $rev ) { |