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