From: Kaldari Date: Thu, 13 Aug 2015 06:44:53 +0000 (-0700) Subject: Adding documentation for new RandomPageQuery hook to hooks.txt X-Git-Tag: 1.31.0-rc.0~10440 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=b672916864345746219471361fbf0f2db37ba55e;p=lhc%2Fweb%2Fwiklou.git Adding documentation for new RandomPageQuery hook to hooks.txt Hook added in I91cd231d1 Change-Id: I448e0227b00e0e5b9390b144b9de360b8453f9ff --- 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