Manual:Hooks/ShowMissingArticle
From MediaWiki.org
| ShowMissingArticle | |
|---|---|
| Available from version 1.16.0 Called when generating the output for a non-existent page. |
|
*Define function: |
function fnMyHook( $article ) { ... }
|
*Attach hook: |
$wgHooks['ShowMissingArticle'][] = 'MyExtensionHooks::someExample'; |
| Called from: | Article.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ShowMissingArticle extensions.
[edit] Details
- $article: The article object corresponding to the page