Static Public Member Functions | |
static | formatSummaryRow ($tags, $page) |
static | tagDescription ($tag) |
static | addTags ($tags, $rc_id=null, $rev_id=null, $log_id=null, $params=null) |
static | modifyDisplayQuery (&$tables, &$fields, &$conds, &$join_conds, &$options, $filter_tag=false) |
Applies all tags-related changes to a query. | |
static | buildTagFilterSelector ($selected='', $fullForm=false) |
If $fullForm is set to false, then it returns an array of (label, form). | |
static | listDefinedTags () |
Basically lists defined tags which count even if they aren't applied to anything. |
Definition at line 6 of file ChangeTags.php.
static ChangeTags::addTags | ( | $ | tags, | |
$ | rc_id = null , |
|||
$ | rev_id = null , |
|||
$ | log_id = null , |
|||
$ | params = null | |||
) | [static] |
static ChangeTags::buildTagFilterSelector | ( | $ | selected = '' , |
|
$ | fullForm = false | |||
) | [static] |
If $fullForm is set to false, then it returns an array of (label, form).
If $fullForm is true, it returns an entire form.
Definition at line 135 of file ChangeTags.php.
References $wgTitle, $wgUseTagFilter, Xml::element(), Xml::hidden(), Xml::input(), Xml::tags(), wfMsg(), and wfMsgExt().
Referenced by SpecialNewpages::form(), SpecialRecentchangeslinked::getExtraOptions(), SpecialRecentChanges::getExtraOptions(), SpecialContributions::getForm(), PageHistory::history(), and LogEventsList::showOptions().
static ChangeTags::formatSummaryRow | ( | $ | tags, | |
$ | page | |||
) | [static] |
Definition at line 7 of file ChangeTags.php.
References $classes, and tagDescription().
Referenced by SpecialNewpages::formatRow(), ContribsPager::formatRow(), PageHistory::historyLine(), ChangesList::insertTags(), and LogEventsList::logLine().
static ChangeTags::listDefinedTags | ( | ) | [static] |
Basically lists defined tags which count even if they aren't applied to anything.
Definition at line 158 of file ChangeTags.php.
References $dbr, $key, $res, $row, $wgMemc, wfGetDB(), wfMemcKey(), and wfRunHooks().
Referenced by SpecialTags::execute().
static ChangeTags::modifyDisplayQuery | ( | &$ | tables, | |
&$ | fields, | |||
&$ | conds, | |||
&$ | join_conds, | |||
&$ | options, | |||
$ | filter_tag = false | |||
) | [static] |
Applies all tags-related changes to a query.
Handles selecting tags, and filtering. Needs $tables to be set up properly, so we can figure out which join conditions to use.
Definition at line 93 of file ChangeTags.php.
References $conds, $fields, $options, $wgRequest, and $wgUseTagFilter.
Referenced by SpecialRecentchangeslinked::doMainQuery(), SpecialRecentChanges::doMainQuery(), NewPagesPager::getQueryInfo(), ContribsPager::getQueryInfo(), PageHistoryPager::getQueryInfo(), LogPager::getQueryInfo(), and wfSpecialWatchlist().
static ChangeTags::tagDescription | ( | $ | tag | ) | [static] |
Definition at line 23 of file ChangeTags.php.
References $msg, wfEmptyMsg(), and wfMsgExt().
Referenced by SpecialTags::doTagRow(), and formatSummaryRow().