Manual:Hooks/LonelyPagesQuery
From Linux Web Expert
LonelyPagesQuery | |
---|---|
<translate> Available from <tvar name=1><translate> version <tvar </tvar></translate> Allows modifying the query used by Special:LonelyPages. | |
<translate> Define function:</translate> | public static function onLonelyPagesQuery( &$tables, &$conds, &$joinConds ) { ... }
|
<translate> Attach hook:</translate> | <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
"Hooks": {
"LonelyPagesQuery": "MediaWiki\\Extension\\MyExtension\\Hooks::onLonelyPagesQuery"
}
}
|
<translate> Called from:</translate> | <translate> File(s):</translate> specials/SpecialLonelypages.php <translate> Function(s):</translate> getQueryInfo |
<translate> Interface:</translate> | LonelyPagesQueryHook.php |
<translate> For more information about attaching hooks, see <tvar name=1>Manual:Hooks </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:LonelyPagesQuery extensions</tvar>.</translate>