TTO has uploaded a new change for review.
https://gerrit.wikimedia.org/r/261801
Change subject: HTMLForm: Add comment to help grepping function names
......................................................................
HTMLForm: Add comment to help grepping function names
This confuses me every time I try to figure out HTMLForm's logic flow...
Change-Id: I80ff89caeeaac9af6ff435ecd5c4176615d41d82
---
M includes/htmlform/HTMLForm.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/01/261801/1
diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php
index b0d90af..d75bdb3 100644
--- a/includes/htmlform/HTMLForm.php
+++ b/includes/htmlform/HTMLForm.php
@@ -1396,6 +1396,7 @@
$hasLabel = false;
// Conveniently, PHP method names are case-insensitive.
+ // For grep: this can call getDiv, getRaw, getInline, getVForm,
getOOUI
$getFieldHtmlMethod = $displayFormat == 'table' ? 'getTableRow'
: ( 'get' . $displayFormat );
foreach ( $fields as $key => $value ) {
--
To view, visit https://gerrit.wikimedia.org/r/261801
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I80ff89caeeaac9af6ff435ecd5c4176615d41d82
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: TTO <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits