http://www.mediawiki.org/wiki/Special:Code/MediaWiki/75618

Revision: 75618
Author:   philip
Date:     2010-10-28 17:11:21 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
Follow up r75617. remove extra brackets.

Modified Paths:
--------------
    trunk/phase3/includes/Wiki.php

Modified: trunk/phase3/includes/Wiki.php
===================================================================
--- trunk/phase3/includes/Wiki.php      2010-10-28 16:58:39 UTC (rev 75617)
+++ trunk/phase3/includes/Wiki.php      2010-10-28 17:11:21 UTC (rev 75618)
@@ -208,8 +208,8 @@
                                throw new ErrorPageError( 'badtitle', 
'badtitletext' );
                        }
                // Redirect loops, no title in URL, $wgUsePathInfo URLs, and 
URLs with a variant
-               } else if( $action == 'view' && !$request->wasPosted()
-                       && ( ( !$request->getVal( 'title' ) || 
$title->getPrefixedDBKey() != $request->getText( 'title' ) ) )
+               } else if ( $action == 'view' && !$request->wasPosted()
+                       && ( !$request->getVal( 'title' ) || 
$title->getPrefixedDBKey() != $request->getText( 'title' ) )
                        && !count( array_diff( array_keys( 
$request->getValues() ), array( 'action', 'title' ) ) ) )
                {
                        $targetUrl = $title->getFullURL();


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to