From 9cfeae5c5ae706c21c4f3892238e9eb81933c7b2 Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Tue, 5 Sep 2017 19:43:39 -0400 Subject: [PATCH] More thorough documentation for ChangesListSpecialPageStructuredFilters Change-Id: Iacb3f36c0c2eaf109c39005b4cbd5ff434eb1d84 --- docs/hooks.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/hooks.txt b/docs/hooks.txt index 8912b82b70..b7fe8c1f35 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1022,6 +1022,15 @@ When constructing them, you specify which group they belong to. You can reuse 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, -- 2.20.1