From: Aaron Schulz Date: Fri, 1 Jun 2007 13:17:24 +0000 (+0000) Subject: *Document some hooks X-Git-Tag: 1.31.0-rc.0~52732 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=8fcdd27b0edcbc1623397c3a60db396479667d89;p=lhc%2Fweb%2Fwiklou.git *Document some hooks --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 6d3ac24689..0dc1540a84 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -317,6 +317,27 @@ $name: Image name being checked Change $bad and return false to override. If an image is "bad", it is not rendered inline in wiki pages or galleries in category pages. +'BeforeGalleryFindFile': before an image is fetched for a gallery +&$gallery,: the gallery object +&$nt: the image title +&$time: image timestamp + +'BeforeParserFetchTemplateAndtitle': before a template is fetched by Parser +&$parser: Parser object +&$title: title of the template +&$skip: skip this template and link it? +&$id: the id of the revision being parsed + +'BeforeParserMakeImageLinkObj': before an image is rendered by Parser +&$parser: Parser object +&$nt: the image title +&$skip: skip this image and link it? +&$time: the image timestamp + +'BeforeParserrenderImageGallery': before an image gallery is rendered by Parser +&$parser: Parser object +&$ig: ImageGallery object + 'BlockIp': before an IP address or user is blocked $block: the Block object about to be saved $user: the user _doing_ the block (not the one being blocked) @@ -515,6 +536,9 @@ Alter the contents of $siteNotice to add to/alter the sitenotice/anonnotice. &$sktemplate: SkinTemplate object &$tpl: Template engine object +'TitleLinkUpdatesAfterCompletion': after Linker->doUpdate() is called +&$title: title of the updated page + 'TitleMoveComplete': after moving an article (title) $old: old title $nt: new title