Fix the opt in URl

Hash fragment is wrong

Bug: T300097
Change-Id: I9e63606b66195a3b3db95e519514019dbd7d1bdb
This commit is contained in:
Jon Robson 2022-02-02 10:35:36 -08:00 committed by Jdlrobson
parent 96db3770df
commit c59a3b756f

View file

@ -654,7 +654,7 @@ class SkinVector extends SkinMustache {
'href' => SpecialPage::getTitleFor( 'href' => SpecialPage::getTitleFor(
'Preferences', 'Preferences',
false, false,
$migrationMode ? 'mw-prefsection-rendering-skin-skin-prefs' : 'mw-prefsection-rendering-skin-skin' $migrationMode ? 'mw-prefsection-rendering-skin' : 'mw-prefsection-rendering-skin-skin-prefs'
)->getLinkURL( $query . 'wprov=' . self::OPT_OUT_LINK_TRACKING_CODE ), )->getLinkURL( $query . 'wprov=' . self::OPT_OUT_LINK_TRACKING_CODE ),
'title' => $this->msg( 'vector-opt-out-tooltip' )->text(), 'title' => $this->msg( 'vector-opt-out-tooltip' )->text(),
'active' => false, 'active' => false,