< Manual:Hooks
| LonelyPagesQuery | |
|---|---|
| Available from version 1.23.0 Allows modifying the query used by Special:LonelyPages. | |
| Define function: | public static function onLonelyPagesQuery( &$tables, &$conds, &$joinConds ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"LonelyPagesQuery": "MyExtensionHooks::onLonelyPagesQuery"
}
}
|
| Called from: | File(s): specials/SpecialLonelypages.php Function(s): getQueryInfo |
| Interface: | LonelyPagesQueryHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:LonelyPagesQuery extensions.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.