'name' => 'invert',
'label-message' => 'invert',
'default' => $nsinvert,
- 'tooltip' => $this->msg( 'tooltip-invert' )->text(),
+ 'tooltip' => 'invert',
),
'tagFilter' => array(
'type' => 'tagfilter',
array()
);
- $query = array( 'redirect' => 'no' );
+ $query = $title->isRedirect() ? array( 'redirect' => 'no' ) : array();
// Linker::linkKnown() uses 'known' and 'noclasses' options.
// This breaks the colouration for stubs.
protected function feedItemDesc( $row ) {
$revision = Revision::newFromId( $row->rev_id );
if ( $revision ) {
- //XXX: include content model/type in feed item?
+ // XXX: include content model/type in feed item?
return '<p>' . htmlspecialchars( $revision->getUserText() ) .
$this->msg( 'colon-separator' )->inContentLanguage()->escaped() .
htmlspecialchars( FeedItem::stripComment( $revision->getComment() ) ) .
foreach ( $this->mResult as $row ) {
$linkBatch->add( NS_USER, $row->rc_user_text );
$linkBatch->add( NS_USER_TALK, $row->rc_user_text );
- $linkBatch->add( $row->rc_namespace, $row->rc_title );
+ $linkBatch->add( $row->page_namespace, $row->page_title );
}
$linkBatch->execute();