r75618 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75617‎ | r75618 | r75619 >
Date:17:11, 28 October 2010
Author:philip
Status:ok (Comments)
Tags:
Comment:
Follow up r75617. remove extra brackets.
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Wiki.php
@@ -208,8 +208,8 @@
209209 throw new ErrorPageError( 'badtitle', 'badtitletext' );
210210 }
211211 // Redirect loops, no title in URL, $wgUsePathInfo URLs, and URLs with a variant
212 - } else if( $action == 'view' && !$request->wasPosted()
213 - && ( ( !$request->getVal( 'title' ) || $title->getPrefixedDBKey() != $request->getText( 'title' ) ) )
 212+ } else if ( $action == 'view' && !$request->wasPosted()
 213+ && ( !$request->getVal( 'title' ) || $title->getPrefixedDBKey() != $request->getText( 'title' ) )
214214 && !count( array_diff( array_keys( $request->getValues() ), array( 'action', 'title' ) ) ) )
215215 {
216216 $targetUrl = $title->getFullURL();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r756171. Revert the complicated redirection I made in r59754;...philip16:58, 28 October 2010

Comments

Status & tagging log