Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -211,7 +211,7 @@ |
212 | 212 | } |
213 | 213 | // Redirect loops, no title in URL, $wgUsePathInfo URLs, and URLs with a variant |
214 | 214 | } else if ( $action == 'view' && !$request->wasPosted() |
215 | | - && ( !$request->getVal( 'title' ) || $title->getPrefixedDBKey() != $request->getText( 'title' ) ) |
| 215 | + && ( $request->getVal( 'title' ) === null || $title->getPrefixedDBKey() != $request->getText( 'title' ) ) |
216 | 216 | && !count( array_diff( array_keys( $request->getValues() ), array( 'action', 'title' ) ) ) ) |
217 | 217 | { |
218 | 218 | if ( $title->getNamespace() == NS_SPECIAL ) { |