X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialPreferences.php;h=ef61f9475ba1fa6f33756f465fc7191914cae68e;hb=ee734d0d3c7533bd9a690dbd71f5151da55c32ad;hp=cea00fa6e0af9d1c70380fcef322e4474f079ba5;hpb=0755177e64facf9b2f7c7b0937e669e1a0ff4a7f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index cea00fa6e0..4b75e5f65c 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -50,11 +50,20 @@ class SpecialPreferences extends SpecialPage { if ( $this->getRequest()->getCheck( 'success' ) ) { $out->wrapWikiMsg( - "
\n$1\n
", + Html::rawElement( + 'div', + array( + 'class' => 'mw-preferences-messagebox successbox', + 'id' => 'mw-preferences-success' + ), + Html::element( 'p', array(), '$1' ) + ), 'savedprefs' ); } + $this->addHelpLink( 'Help:Preferences' ); + $htmlForm = Preferences::getFormObject( $this->getUser(), $this->getContext() ); $htmlForm->setSubmitCallback( array( 'Preferences', 'tryUISubmit' ) );