From 6ee113c1e37ad3a3dc0efda4175b9640e9cf2abe Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Thu, 9 Feb 2012 14:10:59 +0000 Subject: [PATCH] follow up to r111017 - added docs --- docs/hooks.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1