IAlex has uploaded a new change for review. https://gerrit.wikimedia.org/r/58913
Change subject: Fixes to Special:ConfirmEmail form ...................................................................... Fixes to Special:ConfirmEmail form - Use Html class instead of Xml or raw strings where possible - Add line breaks to the output for better readability Change-Id: I93ddb3a5ecaa97c1b16c19b170e51b8cf9723d4d --- M includes/specials/SpecialConfirmemail.php 1 file changed, 5 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/13/58913/1 diff --git a/includes/specials/SpecialConfirmemail.php b/includes/specials/SpecialConfirmemail.php index 3287c63..c8190c8 100644 --- a/includes/specials/SpecialConfirmemail.php +++ b/includes/specials/SpecialConfirmemail.php @@ -104,13 +104,13 @@ } $out->addWikiMsg( 'confirmemail_text' ); - $form = Xml::openElement( + $form = Html::openElement( 'form', array( 'method' => 'post', 'action' => $this->getTitle()->getLocalURL() ) - ); - $form .= Html::hidden( 'token', $user->getEditToken() ); - $form .= Xml::submitButton( $this->msg( 'confirmemail_send' )->text() ); - $form .= Xml::closeElement( 'form' ); + ) . "\n"; + $form .= Html::hidden( 'token', $user->getEditToken() ) . "\n"; + $form .= Xml::submitButton( $this->msg( 'confirmemail_send' )->text() ) . "\n"; + $form .= Html::closeElement( 'form' ) . "\n"; $out->addHTML( $form ); } } -- To view, visit https://gerrit.wikimedia.org/r/58913 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I93ddb3a5ecaa97c1b16c19b170e51b8cf9723d4d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: IAlex <coderev...@emsenhuber.ch> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits