Document "What's This" group UI feature
authorMatthew Flaschen <mflaschen@wikimedia.org>
Tue, 2 May 2017 20:06:37 +0000 (16:06 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Tue, 2 May 2017 20:06:37 +0000 (16:06 -0400)
Bug: T163069
Change-Id: I1100dbea1549ee208dc0a1e9bcd56d8c93775302

includes/changes/ChangesListBooleanFilterGroup.php
includes/changes/ChangesListFilterGroup.php
includes/changes/ChangesListStringOptionsFilterGroup.php

index 1fdcd00..1f4b211 100644 (file)
@@ -26,6 +26,14 @@ class ChangesListBooleanFilterGroup extends ChangesListFilterGroup {
         * *  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;
index 0cdc24a..71c474a 100644 (file)
@@ -142,6 +142,14 @@ abstract class ChangesListFilterGroup {
         * * $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 ) {
index 723ef39..1abf637 100644 (file)
@@ -107,6 +107,14 @@ class ChangesListStringOptionsFilterGroup extends ChangesListFilterGroup {
         * *  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'] ) ) {