Manual:Hooks/BeforeWatchlist

Details
array $nondefaults: Assoc array with the following keys: days, hideOwn, hideBots, hideMinor, namespace

User $user: wgUser.

string &$hookSql: a string which will be inserted without sanitation into the SQL query used to get the watchlist, at the end of the WHERE part.