RC Filters docs: Directly mention group classes
authorMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 24 Mar 2017 01:07:38 +0000 (21:07 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 24 Mar 2017 01:07:38 +0000 (21:07 -0400)
Directly mention ChangesListBooleanFilterGroup and
ChangesListStringOptionsFilterGroup so people know what to construct.

Change-Id: I3c105d072889c1da26f94402326ba48635081833

docs/hooks.txt

index cf4e3ab..3a57563 100644 (file)
@@ -1018,7 +1018,8 @@ RecentChangesLinked, and Watchlist).  Generally, you will want to construct
 new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects.
 
 When constructing them, you specify which group they belong to.  You can reuse
 new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects.
 
 When constructing them, you specify which group they belong to.  You can reuse
-existing groups (accessed through $special->getFilterGroup), or create your own.
+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.
 $special: ChangesListSpecialPage instance
 
 If you create new groups, you must register them with $special->registerFilterGroup.
 $special: ChangesListSpecialPage instance