r77392 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77391‎ | r77392 | r77393 >
Date:16:05, 28 November 2010
Author:reedy
Status:ok
Tags:
Comment:
ImagePage subclasses Article, therefore use parent::getContent()
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -290,7 +290,7 @@
291291 if ( $this->img && !$this->img->isLocal() && 0 == $this->getID() ) {
292292 return '';
293293 }
294 - return Article::getContent();
 294+ return parent::getContent();
295295 }
296296
297297 protected function openShowImage() {

Status & tagging log