r56466 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56465‎ | r56466 | r56467 >
Date:00:22, 17 September 2009
Author:aaron
Status:ok
Tags:
Comment:
fixed message error & crappy class name
Modified paths:
  • /trunk/extensions/ReaderFeedback/specialpages/RatedPages_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ReaderFeedback/specialpages/RatedPages_body.php
@@ -55,7 +55,7 @@
5656 protected function showPageList() {
5757 global $wgOut;
5858 $tags = ReaderFeedback::getFeedbackTags();
59 - $pager = new LikedPagesPager( $this, array(), $this->namespace, $this->tag, $this->tier );
 59+ $pager = new RatedPagesPager( $this, array(), $this->namespace, $this->tag, $this->tier );
6060 if( isset($tags[$this->tag]) && $pager->getNumRows() ) {
6161 $wgOut->addHTML( wfMsgExt('ratedpages-list', array('parse') ) );
6262 $wgOut->addHTML( $pager->getNavigationBar() );
@@ -80,7 +80,7 @@
8181 $wgLang->formatNum( $size ) ) . '</small>';
8282 }
8383 $ratinghist = SpecialPage::getTitleFor( 'RatingHistory' );
84 - $graph = $this->skin->makeKnownLinkObj( $ratinghist, wfMsg('likedpages-graphs'),
 84+ $graph = $this->skin->makeKnownLinkObj( $ratinghist, wfMsg('ratedpages-graphs'),
8585 'target='.$title->getPrefixedUrl() );
8686 return "<li>$link $stxt ($hist) ($graph)</li>";
8787 }
@@ -89,7 +89,7 @@
9090 /**
9191 * Query to list out well recieved pages
9292 */
93 -class LikedPagesPager extends AlphabeticPager {
 93+class RatedPagesPager extends AlphabeticPager {
9494 public $mForm, $mConds, $namespace, $tag;
9595
9696 function __construct( $form, $conds = array(), $namespace=0, $tag, $tier ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r56485merged r56466aaron01:54, 17 September 2009

Status & tagging log