Demon has submitted this change and it was merged.

Change subject: Do not use h2 for a very very long message
......................................................................


Do not use h2 for a very very long message

Message 'extdist-choose-version' has 3 lines -> it is not a header
Use normal wikimessage instead

Change-Id: I5c7ddc30b8bf56fb60a3e4486b61e820c2084562
---
M SpecialExtensionDistributor.php
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  Demon: Verified; Looks good to me, approved



diff --git a/SpecialExtensionDistributor.php b/SpecialExtensionDistributor.php
index 0a9ab65..ed57242 100644
--- a/SpecialExtensionDistributor.php
+++ b/SpecialExtensionDistributor.php
@@ -126,10 +126,7 @@
                }
 
                $out = $this->getOutput();
-               $out->wrapWikiMsg(
-                       "<h2>\n$1\n</h2>",
-                       array( 'extdist-choose-version', $extensionName )
-               );
+               $out->addWikiMsg( 'extdist-choose-version', $extensionName );
                $out->addHTML(
                        Xml::openElement( 'form', array(
                                'action' => $this->getTitle()->getLocalUrl(),

-- 
To view, visit https://gerrit.wikimedia.org/r/50588
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c7ddc30b8bf56fb60a3e4486b61e820c2084562
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ExtensionDistributor
Gerrit-Branch: master
Gerrit-Owner: Raimond Spekking <raimond.spekk...@gmail.com>
Gerrit-Reviewer: Demon <ch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to