r83822 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83821‎ | r83822 | r83823 >
Date:13:25, 13 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Documentation, fix indenting
Modified paths:
  • /trunk/extensions/GoogleNewsSitemap/FeedSMItem.php (modified) (history)
  • /trunk/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php
@@ -139,7 +139,7 @@
140140 }
141141 switch( $this->params['quality'] ) {
142142 case 'only':
143 - $conditions[] = 'fp_quality >= 1';
 143+ $conditions[] = 'fp_quality >= 1';
144144 break;
145145 case 'exclude':
146146 $conditions['fp_quality'] = 0;
Index: trunk/extensions/GoogleNewsSitemap/FeedSMItem.php
@@ -9,8 +9,17 @@
1010 class FeedSMItem extends FeedItem {
1111
1212 private $keywords = '';
13 - private $title; // Title object, not string.
1413
 14+ /**
 15+ * @var Title
 16+ */
 17+ private $title;
 18+
 19+ /**
 20+ * @param Title $title
 21+ * @param $pubDate
 22+ * @param string $keywords
 23+ */
1524 function __construct( $title, $pubDate, $keywords = '' ) {
1625 parent::__construct( $title->getText(), '' /* description */, $title->getFullUrl(), $pubDate );
1726 $this->title = $title;

Status & tagging log