Manual:Hooks/LonelyPagesQuery

Category:MediaWiki hooks#LonelyPagesQuery Category:Hooks added in MediaWiki 1.23.0#LonelyPagesQuery
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": "MediaWiki\\Extension\\MyExtension\\Hooks::onLonelyPagesQuery"
	}
}
Called from: File(s): specials/SpecialLonelypages.phpCategory:MediaWiki hooks included in SpecialLonelypages.php#LonelyPagesQuery
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.

Category:Hooks added in MediaWiki 1.23.0 Category:MediaWiki hooks Category:MediaWiki hooks included in SpecialLonelypages.php