dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "userExpLevel test: use $tables from function under tests"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialPageLanguage.php
diff --git
a/includes/specials/SpecialPageLanguage.php
b/includes/specials/SpecialPageLanguage.php
index
d4cd2ac
..
2943fd4
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->getFullUrlForRedirect(
+ $title->isRedirect() ? [ 'redirect' => 'no' ] : []
+ );
return self::changePageLanguage(
$this->getContext(),