From b672916864345746219471361fbf0f2db37ba55e Mon Sep 17 00:00:00 2001 From: Kaldari Date: Wed, 12 Aug 2015 23:44:53 -0700 Subject: [PATCH] Adding documentation for new RandomPageQuery hook to hooks.txt Hook added in I91cd231d1 Change-Id: I448e0227b00e0e5b9390b144b9de360b8453f9ff --- docs/hooks.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/hooks.txt b/docs/hooks.txt index 65ae988426..bf5599778e 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2407,6 +2407,12 @@ shown. $article: the page the form is shown for $out: OutputPage object +'RandomPageQuery': Lets you modify the query used by Special:Random to select +random pages. +&$tables: Database tables to be used in the query +&$conds: Conditions to be applied in the query +&$joinConds: Join conditions to be applied in the query + 'RawPageViewBeforeOutput': Right before the text is blown out in action=raw. &$obj: RawAction object &$text: The text that's going to be the output -- 2.20.1