X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialPageLanguage.php;h=db05ebe587de3eac9017256e39cb6a674ef0478a;hp=d4cd2ac6f263c4fb25686d77abaae753743be783;hb=be215a6cb4bfe766cf02c6a3858c25a2b14b48fd;hpb=a2551692e72bd0fa533c3008c02a67c6bf6a337d diff --git a/includes/specials/SpecialPageLanguage.php b/includes/specials/SpecialPageLanguage.php index d4cd2ac6f2..db05ebe587 100644 --- 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(),