Yaron Koren has submitted this change and it was merged.

Change subject: Simplified and standardized getPageHeader() calls
......................................................................


Simplified and standardized getPageHeader() calls

Change-Id: I5399c028f44359b946560f5470be16992fb144aa
---
M specials/SF_Forms.php
M specials/SF_Templates.php
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Yaron Koren: Checked; Looks good to me, approved



diff --git a/specials/SF_Forms.php b/specials/SF_Forms.php
index 73b49e9..01bb346 100644
--- a/specials/SF_Forms.php
+++ b/specials/SF_Forms.php
@@ -48,7 +48,7 @@
        function isSyndicated() { return false; }
 
        function getPageHeader() {
-               $header = '<p>' . wfMessage( 'sf_forms_docu' )->text() . 
"</p><br />\n";
+               $header = Html::element( 'p', null, wfMessage( 'sf_forms_docu' 
)->text() );
                return $header;
        }
 
diff --git a/specials/SF_Templates.php b/specials/SF_Templates.php
index ac171b9..1ce131e 100644
--- a/specials/SF_Templates.php
+++ b/specials/SF_Templates.php
@@ -49,7 +49,7 @@
        function isSyndicated() { return false; }
 
        function getPageHeader() {
-               $header = '<p>' . wfMessage( 'sf_templates_docu' )->text() . 
"</p><br />\n";
+               $header = Html::element( 'p', null, wfMessage( 
'sf_templates_docu' )->text() );
                return $header;
        }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5399c028f44359b946560f5470be16992fb144aa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to