dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e514a28
)
Fix for r70871: need explicit check against null since current check also catches...
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Wed, 10 Nov 2010 08:28:26 +0000
(08:28 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Wed, 10 Nov 2010 08:28:26 +0000
(08:28 +0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
7ae585b
..
feebcde
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-211,7
+211,7
@@
class MediaWiki {
}
// 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' ) )
+ && (
$request->getVal( 'title' ) === null
|| $title->getPrefixedDBKey() != $request->getText( 'title' ) )
&& !count( array_diff( array_keys( $request->getValues() ), array( 'action', 'title' ) ) ) )
{
if ( $title->getNamespace() == NS_SPECIAL ) {