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:
a255169
)
SpecialPageLanguage: Redirect to redirect by adding redirect=no
author
Fomafix
<fomafix@googlemail.com>
Sat, 4 Jun 2016 09:28:29 +0000
(09:28 +0000)
committer
Fomafix
<fomafix@googlemail.com>
Wed, 11 Jan 2017 10:47:34 +0000
(11:47 +0100)
Change-Id: Ifcdfcc2073141d7f2b6742f173ccebdacf9b03b0
includes/specials/SpecialPageLanguage.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialPageLanguage.php
b/includes/specials/SpecialPageLanguage.php
index
d4cd2ac
..
db05ebe
100644
(file)
--- a/
includes/specials/SpecialPageLanguage.php
+++ b/
includes/specials/SpecialPageLanguage.php
@@
-136,7
+136,9
@@
class SpecialPageLanguage extends FormSpecialPage {
}
// Url to redirect to after the operation
- $this->goToUrl = $title->getFullURL();
+ $this->goToUrl = $title->getFullURL(
+ $title->isRedirect() ? [ 'redirect' => 'no' ] : []
+ );
return self::changePageLanguage(
$this->getContext(),