r92101 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92100‎ | r92101 | r92102 >
Date:21:58, 13 July 2011
Author:catrope
Status:ok
Tags:
Comment:
ArticleFeedback: Merge r90556 from 1.17wmf1 to trunk: fix fatal in dashboard
Modified paths:
  • /trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php
@@ -125,6 +125,9 @@
126126 foreach ( $pages as $page ) {
127127 $row = array();
128128 $pageTitle = self::getTitleFromID( $page['page'] );
 129+ if ( !$pageTitle ) {
 130+ continue;
 131+ }
129132 $row['page'] = $wgUser->getSkin()->link( $pageTitle, $pageTitle->getPrefixedText() );
130133 foreach ( $page['ratings'] as $id => $value ) {
131134 $row[] = array(

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r905561.17wmf1: Fix fatal in dashboardcatrope22:44, 21 June 2011

Status & tagging log