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:
ebef5e7
)
Fix for r88898: fix variable name
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 26 May 2011 19:56:42 +0000
(19:56 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 26 May 2011 19:56:42 +0000
(19:56 +0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
c447b24
..
1f9c939
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-189,8
+189,8
@@
class MediaWiki {
$this->performAction( $article );
wfProfileOut( __METHOD__ );
return $article;
- } elseif ( is_string( $
new_
article ) ) {
- $this->context->output->redirect( $
new_
article );
+ } elseif ( is_string( $article ) ) {
+ $this->context->output->redirect( $article );
} else {
wfProfileOut( __METHOD__ );
throw new MWException( "Shouldn't happen: MediaWiki::initializeArticle() returned neither an object nor a URL" );