jenkins-bot has submitted this change and it was merged.
Change subject: Update HTMLForm usage for I086a84f1 in MediaWiki
......................................................................
Update HTMLForm usage for I086a84f1 in MediaWiki
Change-Id: I086a84f1c8cc6a16710709b7806c7f5f96462b32
---
M includes/SpecialFlow.php
1 file changed, 7 insertions(+), 4 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
Objections:
Matthias Mullie: There's a problem with this change, please improve
diff --git a/includes/SpecialFlow.php b/includes/SpecialFlow.php
index cde407b..7faba3c 100644
--- a/includes/SpecialFlow.php
+++ b/includes/SpecialFlow.php
@@ -91,14 +91,17 @@
}
protected function alterForm( HTMLForm $form ) {
- // Style the form.
- $form->setDisplayFormat( 'vform' );
- $form->setWrapperLegend( false );
-
$form->setMethod( 'get' ); // This also submits the form every
time the page loads.
}
/**
+ * @return string
+ */
+ protected function getDisplayFormat() {
+ return 'vform';
+ }
+
+ /**
* Get the URL of a UUID for a PostRevision.
* @return string|null
*/
--
To view, visit https://gerrit.wikimedia.org/r/184220
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I086a84f1c8cc6a16710709b7806c7f5f96462b32
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoĆski <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits