X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWatchlist.php;h=4824961c70991063c97fcc5367c3dd2e870f2e87;hb=6730ddee23120973e5d0d42bd5c666fc1c964acd;hp=99f9c7c029384c1b809dc87daf24ad81f26d04be;hpb=32628487e17c27f3437d44bd54edb8438e837b82;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 99f9c7c029..4824961c70 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -618,9 +618,10 @@ class SpecialWatchlist extends ChangesListSpecialPage { $form .= Xml::openElement( 'form', [ 'method' => 'get', - 'action' => $this->getPageTitle()->getLocalURL(), + 'action' => wfScript(), 'id' => 'mw-watchlist-form' ] ); + $form .= Html::hidden( 'title', $this->getPageTitle()->getPrefixedText() ); $form .= Xml::fieldset( $this->msg( 'watchlist-options' )->text(), false,