From: Matthew Flaschen Date: Tue, 5 Sep 2017 23:43:39 +0000 (-0400) Subject: More thorough documentation for ChangesListSpecialPageStructuredFilters X-Git-Tag: 1.31.0-rc.0~2203 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=9cfeae5c5ae706c21c4f3892238e9eb81933c7b2;p=lhc%2Fweb%2Fwiklou.git More thorough documentation for ChangesListSpecialPageStructuredFilters Change-Id: Iacb3f36c0c2eaf109c39005b4cbd5ff434eb1d84 --- 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,