Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
TranslateRcFilter Class Reference

Adds a new filter to Special:RecentChanges which makes it possible to filter translations away or show them only. More...

Static Public Member Functions

static translationFilter ( $pageName, &$tables, &$fields, &$conds, &$query_options, &$join_conds, FormOptions $opts)
 Hooks ChangesListSpecialPageQuery.
 
static translationFilterForm (&$items, $opts)
 Hooks SpecialRecentChangesPanel.
 
static onChangesListSpecialPageStructuredFilters (ChangesListSpecialPage $special)
 Hooks ChangesListSpecialPageStructuredFilters.
 

Detailed Description

Adds a new filter to Special:RecentChanges which makes it possible to filter translations away or show them only.

Definition at line 19 of file TranslateRcFilter.php.

Member Function Documentation

◆ onChangesListSpecialPageStructuredFilters()

static TranslateRcFilter::onChangesListSpecialPageStructuredFilters ( ChangesListSpecialPage $special)
static

Hooks ChangesListSpecialPageStructuredFilters.

See the hook documentation for documentation of the function parameters.

Adds translations filters to structured UI

Parameters
ChangesListSpecialPage$special
Returns
bool true

Definition at line 135 of file TranslateRcFilter.php.

◆ translationFilter()

static TranslateRcFilter::translationFilter ( $pageName,
& $tables,
& $fields,
& $conds,
& $query_options,
& $join_conds,
FormOptions $opts )
static

Hooks ChangesListSpecialPageQuery.

See the hook documentation for documentation of the function parameters.

Appends SQL filter conditions into $conds.

Parameters
string$pageName
array&$tables
array&$fields
array&$conds
array&$query_options
array&$join_conds
FormOptions$opts
Returns
bool true

Definition at line 34 of file TranslateRcFilter.php.

◆ translationFilterForm()

static TranslateRcFilter::translationFilterForm ( & $items,
$opts )
static

Hooks SpecialRecentChangesPanel.

See the hook documentation for documentation of the function parameters.

Adds a HTMl selector into $items

Parameters
array&$items
FormOptions$opts
Returns
bool true

Definition at line 86 of file TranslateRcFilter.php.


The documentation for this class was generated from the following file: