Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -317,6 +317,27 @@ |
318 | 318 | Change $bad and return false to override. If an image is "bad", it is not |
319 | 319 | rendered inline in wiki pages or galleries in category pages. |
320 | 320 | |
| 321 | +'BeforeGalleryFindFile': before an image is fetched for a gallery |
| 322 | +&$gallery,: the gallery object |
| 323 | +&$nt: the image title |
| 324 | +&$time: image timestamp |
| 325 | + |
| 326 | +'BeforeParserFetchTemplateAndtitle': before a template is fetched by Parser |
| 327 | +&$parser: Parser object |
| 328 | +&$title: title of the template |
| 329 | +&$skip: skip this template and link it? |
| 330 | +&$id: the id of the revision being parsed |
| 331 | + |
| 332 | +'BeforeParserMakeImageLinkObj': before an image is rendered by Parser |
| 333 | +&$parser: Parser object |
| 334 | +&$nt: the image title |
| 335 | +&$skip: skip this image and link it? |
| 336 | +&$time: the image timestamp |
| 337 | + |
| 338 | +'BeforeParserrenderImageGallery': before an image gallery is rendered by Parser |
| 339 | +&$parser: Parser object |
| 340 | +&$ig: ImageGallery object |
| 341 | + |
321 | 342 | 'BlockIp': before an IP address or user is blocked |
322 | 343 | $block: the Block object about to be saved |
323 | 344 | $user: the user _doing_ the block (not the one being blocked) |
— | — | @@ -515,6 +536,9 @@ |
516 | 537 | &$sktemplate: SkinTemplate object |
517 | 538 | &$tpl: Template engine object |
518 | 539 | |
| 540 | +'TitleLinkUpdatesAfterCompletion': after Linker->doUpdate() is called |
| 541 | +&$title: title of the updated page |
| 542 | + |
519 | 543 | 'TitleMoveComplete': after moving an article (title) |
520 | 544 | $old: old title |
521 | 545 | $nt: new title |