Mattflaschen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376155 )

Change subject: More thorough documentation for 
ChangesListSpecialPageStructuredFilters
......................................................................

More thorough documentation for ChangesListSpecialPageStructuredFilters

Change-Id: Iacb3f36c0c2eaf109c39005b4cbd5ff434eb1d84
---
M docs/hooks.txt
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/55/376155/1

diff --git a/docs/hooks.txt b/docs/hooks.txt
index 8912b82..b7fe8c1 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -1022,6 +1022,15 @@
 existing groups (accessed through $special->getFilterGroup), or create your own
 (ChangesListBooleanFilterGroup or ChangesListStringOptionsFilterGroup).
 If you create new groups, you must register them with 
$special->registerFilterGroup.
+
+Note that this is called regardless of whether the user is currently using
+the new (structured) or old (unstructured) filter UI.  If you want your boolean
+filter to show on both the new and old UI, specify all the supported fields.
+These include showHide, label, and description.
+
+See the constructor of each ChangesList* class for documentation of supported
+fields.
+
 $special: ChangesListSpecialPage instance
 
 'ChangeTagAfterDelete': Called after a change tag has been deleted (that is,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iacb3f36c0c2eaf109c39005b4cbd5ff434eb1d84
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>

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

Reply via email to