Merge "Add hook to allow extensions to modify query used by Special:ShortPages"
[lhc/web/wiklou.git] / docs / hooks.txt
index 6afeab8..83ce62e 100644 (file)
@@ -2571,6 +2571,13 @@ $enotif: EmailNotification object
 
 'SetupAfterCache': Called in Setup.php, after cache objects are set
 
+'ShortPagesQuery': Allow extensions to modify the query used by
+Special:ShortPages.
+&$tables: tables to join in the query
+&$conds: conditions for the query
+&$joinConds: join conditions for the query
+&$options: options for the query
+
 'ShowMissingArticle': Called when generating the output for a non-existent page.
 $article: The article object corresponding to the page
 
@@ -3040,7 +3047,7 @@ $user: user who does the move
 $pageid: database ID of the page that's been moved
 $redirid: database ID of the created redirect
 $reason: reason for the move
-$revision: the revision created by the move
+$revision: the Revision created by the move
 
 'TitleMoveCompleting': After moving an article (title), pre-commit.
 $old: old title
@@ -3049,6 +3056,7 @@ $user: user who did the move
 $pageid: database ID of the page that's been moved
 $redirid: database ID of the created redirect
 $reason: reason for the move
+$revision: the Revision created by the move
 
 'TitleQuickPermissions': Called from Title::checkQuickPermissions to add to
 or override the quick permissions check.