r98962 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98961‎ | r98962 | r98963 >
Date:00:40, 5 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Call to undefined method ApiQueryWatchlist::getSkin() in /usr/local/apache/common-local/php-1.18/includes/api/ApiQueryWatchlist.php on line 298

Fix per trunk usiung Linker::formatcomment
Modified paths:
  • /branches/wmf/1.18wmf1/includes/api/ApiQueryWatchlist.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/api/ApiQueryWatchlist.php
@@ -295,7 +295,7 @@
296296 }
297297
298298 if ( $this->fld_parsedcomment && isset( $row->rc_comment ) ) {
299 - $vals['parsedcomment'] = $this->getSkin()->formatComment( $row->rc_comment, $title );
 299+ $vals['parsedcomment'] = Linker::formatComment( $row->rc_comment, $title );
300300 }
301301
302302 if ( $this->fld_loginfo && $row->rc_type == RC_LOG ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r100373REL1_18: MFT r98962, r98971, r99004, r99065reedy20:56, 20 October 2011

Status & tagging log