jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/351378 )
Change subject: Document "What's This" group UI feature
......................................................................
Document "What's This" group UI feature
Bug: T163069
Change-Id: I1100dbea1549ee208dc0a1e9bcd56d8c93775302
---
M includes/changes/ChangesListBooleanFilterGroup.php
M includes/changes/ChangesListFilterGroup.php
M includes/changes/ChangesListStringOptionsFilterGroup.php
3 files changed, 24 insertions(+), 0 deletions(-)
Approvals:
Mattflaschen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/changes/ChangesListBooleanFilterGroup.php
b/includes/changes/ChangesListBooleanFilterGroup.php
index 1fdcd00..1f4b211 100644
--- a/includes/changes/ChangesListBooleanFilterGroup.php
+++ b/includes/changes/ChangesListBooleanFilterGroup.php
@@ -26,6 +26,14 @@
* * is an associative array to be passed to the filter constructor.
However,
* * 'priority' is optional for the filters. Any filter that has
priority unset
* * will be put to the bottom, in the order given.
+ * * $groupDefinition['whatsThisHeader'] string i18n key for header of
"What's
+ * * This" popup (optional).
+ * * $groupDefinition['whatsThisBody'] string i18n key for body of
"What's This"
+ * * popup (optional).
+ * * $groupDefinition['whatsThisUrl'] string URL for main link of
"What's This"
+ * * popup (optional).
+ * * $groupDefinition['whatsThisLinkText'] string i18n key of text for
main link of
+ * * "What's This" popup (optional).
*/
public function __construct( array $groupDefinition ) {
$groupDefinition['isFullCoverage'] = true;
diff --git a/includes/changes/ChangesListFilterGroup.php
b/includes/changes/ChangesListFilterGroup.php
index 0cdc24a..71c474a 100644
--- a/includes/changes/ChangesListFilterGroup.php
+++ b/includes/changes/ChangesListFilterGroup.php
@@ -142,6 +142,14 @@
* * $groupDefinition['isFullCoverage'] bool Whether the group is full
coverage;
* * if true, this means that checking every item in the group means no
* * changes list entries are filtered out.
+ * * $groupDefinition['whatsThisHeader'] string i18n key for header of
"What's
+ * * This" popup (optional).
+ * * $groupDefinition['whatsThisBody'] string i18n key for body of
"What's This"
+ * * popup (optional).
+ * * $groupDefinition['whatsThisUrl'] string URL for main link of
"What's This"
+ * * popup (optional).
+ * * $groupDefinition['whatsThisLinkText'] string i18n key of text for
main link of
+ * * "What's This" popup (optional).
*/
public function __construct( array $groupDefinition ) {
if ( strpos( $groupDefinition['name'], self::RESERVED_NAME_CHAR
) !== false ) {
diff --git a/includes/changes/ChangesListStringOptionsFilterGroup.php
b/includes/changes/ChangesListStringOptionsFilterGroup.php
index 723ef39..1abf637 100644
--- a/includes/changes/ChangesListStringOptionsFilterGroup.php
+++ b/includes/changes/ChangesListStringOptionsFilterGroup.php
@@ -107,6 +107,14 @@
* * array &$query_options Array of query options; see
IDatabase::select $options
* * array &$join_conds Array of join conditions; see
IDatabase::select $join_conds
* * array $selectedValues The allowed and requested values,
lower-cased and sorted
+ * * $groupDefinition['whatsThisHeader'] string i18n key for header of
"What's
+ * * This" popup (optional).
+ * * $groupDefinition['whatsThisBody'] string i18n key for body of
"What's This"
+ * * popup (optional).
+ * * $groupDefinition['whatsThisUrl'] string URL for main link of
"What's This"
+ * * popup (optional).
+ * * $groupDefinition['whatsThisLinkText'] string i18n key of text for
main link of
+ * * "What's This" popup (optional).
*/
public function __construct( array $groupDefinition ) {
if ( !isset( $groupDefinition['isFullCoverage'] ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/351378
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1100dbea1549ee208dc0a1e9bcd56d8c93775302
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits