jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/348483 )

Change subject: Drop DisplayFormat configuration
......................................................................


Drop DisplayFormat configuration

Force ooui display format for all contact
forms

Change-Id: Idb4225fb71d9d030192226bb6ba1111d39a9040d
---
M ContactPage_body.php
M README
M extension.json
3 files changed, 1 insertion(+), 7 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/ContactPage_body.php b/ContactPage_body.php
index 0e5c5a6..86d2730 100644
--- a/ContactPage_body.php
+++ b/ContactPage_body.php
@@ -201,7 +201,7 @@
                        ];
                }
 
-               $form = HTMLForm::factory( $config['DisplayFormat'],
+               $form = HTMLForm::factory( 'ooui',
                        $formItems, $this->getContext(), 
"contactpage-{$this->formType}"
                );
                $form->setWrapperLegendMsg( 'contactpage-legend' );
diff --git a/README b/README
index 1afb099..f73016c 100644
--- a/README
+++ b/README
@@ -80,10 +80,6 @@
       ),
   ),
 
-DisplayFormat is used to configure the HTMLForm. See HTMLForm documentation
-for possible values. Recommended value is "ooui" for consistency with other
-forms and better mobile rendering.
-
 RLModules can be used to add ResourceLoader modules (custom CSS and
 JavaScript) to the page.
 
diff --git a/extension.json b/extension.json
index 804cb24..463469b 100644
--- a/extension.json
+++ b/extension.json
@@ -19,14 +19,12 @@
        },
        "config": {
                "ContactConfig": {
-                       "@doc": "Use DisplayFormat `ooui` for compatibility 
with most skins.",
                        "default": {
                                "RecipientUser": null,
                                "SenderEmail": null,
                                "SenderName": null,
                                "RequireDetails": false,
                                "IncludeIP": false,
-                               "DisplayFormat": "ooui",
                                "RLModules": [],
                                "RLStyleModules": [],
                                "AdditionalFields": {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idb4225fb71d9d030192226bb6ba1111d39a9040d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ContactPage
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to