ChangeTags Class Reference

List of all members.

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.


Detailed Description

Definition at line 6 of file ChangeTags.php.


Member Function Documentation

static ChangeTags::addTags ( tags,
rc_id = null,
rev_id = null,
log_id = null,
params = null 
) [static]

Definition at line 32 of file ChangeTags.php.

References $dbr, $dbw, sort, and wfGetDB().

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]

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().


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

Generated on Sat Sep 5 02:08:34 2009 for MediaWiki by  doxygen 1.5.9