24use InvalidArgumentException;
64 throw new InvalidArgumentException(
'$dbName must be a string, or false.' );
80 return $this->loadBalancer->getConnection( $i,
$groups, $this->domain );
91 return $this->loadBalancer->getConnectionRef( $i,
$groups, $this->domain );
127 $this->loadBalancer->reuseConnection( $db );
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist you will want to construct new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects When constructing you specify which group they belong to You can reuse existing groups(accessed through $special->getFilterGroup)