(follow-up r91436) add new hook to hooks.txt
authorBrian Wolff <bawolff@users.mediawiki.org>
Tue, 5 Jul 2011 05:33:54 +0000 (05:33 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Tue, 5 Jul 2011 05:33:54 +0000 (05:33 +0000)
I totally updated the doc file, and then committed my other changes without the doc file.

docs/hooks.txt

index 63c8ef3..8a00b5a 100644 (file)
@@ -621,6 +621,11 @@ $catpage: CategoryPage instance
 $unpatrolled:  Whether or not we are showing unpatrolled changes.
 $watched:      Whether or not the change is watched by the user.
 
+'Collation::factory': Called if $wgCategoryCollation is an unknown collation
+$collationName: Name of the collation in question
+&$collationObject: Null. Replace with a subclass of the Collation class that implements
+the collation given in $collationName.
+
 'ConfirmEmailComplete': Called after a user's email has been confirmed successfully
 $user: user (object) whose email is being confirmed