return $this->historyPage->getArticle();
}
+ function getTitle() {
+ return $this->title;
+ }
+
function getSqlComment() {
if ( $this->conds ) {
return 'history page filtered'; // potentially slow, see CR r58153
'tables' => array( 'revision' ),
'fields' => Revision::selectFields(),
'conds' => array_merge(
- array( 'rev_page' => $this->historyPage->getTitle()->getArticleID() ),
+ array( 'rev_page' => $this->title->getArticleID() ),
$this->conds ),
'options' => array( 'USE INDEX' => array( 'revision' => 'page_timestamp' ) ),
'join_conds' => array( 'tag_summary' => array( 'LEFT JOIN', 'ts_rev_id=rev_id' ) ),
$query[$queryKey] = $hideVal;
$link = $this->skin->link(
- $this->out->getTitle(),
+ $this->getDisplayTitle(),
$messages[$hideVal],
array(),
$query,
return $this->mDefaultQuery;
}
+ /**
+ * Get the Title object of the page the links should point to.
+ * This is NOT the Title of the page the entries should be restricted to.
+ *
+ * @return Title object
+ */
+ public function getDisplayTitle() {
+ return $this->out->getTitle();
+ }
+
/**
* @param $queryTypes Array
* @return String: Formatted HTML
return $query;
}
+ function getTitle() {
+ return $this->mLogEventsList->getDisplayTitle();
+ }
+
// Call ONLY after calling $this->limitType() already!
public function getFilterParams() {
global $wgFilterLogTypes, $wgUser, $wgRequest;
return $query;
}
+ function getTitle() {
+ return SpecialPage::getTitleFor( 'Contributions' );
+ }
+
function getQueryInfo() {
global $wgUser, $wgMiserMode;
list( $tables, $index, $userCond, $join_cond ) = $this->getUserCond();
parent::__construct();
}
+ function getTitle() {
+ return SpecialPage::getTitleFor( 'Contributions' );
+ }
+
function getStartBody() {
wfProfileIn( __METHOD__ );
# Do a link batch query
parent::__construct();
}
+ function getTitle() {
+ return SpecialPage::getTitleFor( 'Newimages' );
+ }
+
function getQueryInfo() {
global $wgMiserMode;
$conds = $jconds = array();