< Manual:Hooks
| This feature was removed completely in version 1.32.0 (after being deprecated in 1.23.0). Please use ChangesListSpecialPageStructuredFilters (preferred) or ChangesListSpecialPageQuery instead. |
| SpecialWatchlistQuery | |
|---|---|
| Available from version 1.14.0 Removed in version 1.32.0 Called when building sql query for Special:Watchlist | |
| Define function: | public static function onSpecialWatchlistQuery( array &$conds, array &$tables, array &$joinConds, array &$fields, FormOptions $opts ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"SpecialWatchlistQuery": "MyExtensionHooks::onSpecialWatchlistQuery"
}
}
|
| Called from: | File(s): specials/SpecialWatchlist.php |
| Interface: | SpecialWatchlistQueryHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialWatchlistQuery extensions.
Details
&$conds: array of WHERE conditionals for query&$tables: array of tables to be queried&$joinConds: JOIN conditions for the tables&$fields: array of query fields$opts: FormOptions
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.