Extension:MobileFrontend/SpecialWatchlistQuery

From mediawiki.org
SpecialWatchlistQuery
Available from version 1.0.0
Internal hook that allows the modification of the sql query made in SpecialMobileWatchlist::doFeedQuery
Define function:
public static function onSpecialWatchlistQuery( array $conds, array &$tables, array &$join_conds, array &$fields, array &$values ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SpecialWatchlistQuery": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialWatchlistQuery"
	}
}
Called from: File(s): MobileFrontend extension/SpecialMobileWatchlist.php
Interface: SpecialWatchlistQueryHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:SpecialWatchlistQuery extensions.