From: Jeroen De Dauw Date: Thu, 9 Feb 2012 14:10:59 +0000 (+0000) Subject: follow up to r111017 - added docs X-Git-Tag: 1.31.0-rc.0~24833 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=6ee113c1e37ad3a3dc0efda4175b9640e9cf2abe;p=lhc%2Fweb%2Fwiklou.git follow up to r111017 - added docs --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 844e01927f..2bc04610c3 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1903,6 +1903,12 @@ $title: The title in question. $title: Title object that is being checked $result: Boolean; whether MediaWiki currently thinks this is a CSS/JS page. Hooks may change this value to override the return value of Title::isCssOrJsPage() +'TitleIsKnown': Called when determining if a page exists. +Allows overriding default behaviour for determining if a page exists. +If $isKnown is kept as null, regular checks happen. If it's a boolean, this value is returned by the isKnown method. +$title: Title object that is being checked +$result: Boolean|null; whether MediaWiki currently thinks this page is known + 'TitleIsMovable': Called when determining if it is possible to move a page. Note that this hook is not called for interwiki pages or pages in immovable namespaces: for these, isMovable() always returns false. $title: Title object that is being checked