r99418 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99417‎ | r99418 | r99419 >
Date:18:59, 10 October 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r99417;
Modified paths:
  • /trunk/extensions/Contest/includes/ContestContestant.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/includes/ContestContestant.php
@@ -513,15 +513,15 @@
514514 if ( is_null( $title ) ) {
515515 return '';
516516 }
517 -
 517+
518518 $article = new Article( $title, 0 );
519519
520520 global $wgParser;
521521 return $wgParser->parse(
522 - $article->getContent(),
 522+ $article->fetchContent(),
523523 $article->getTitle(),
524524 $article->getParserOptions()
525 - );
 525+ )->getText(); // TODO: have full urls instead of relative ones
526526 }
527527
528528 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99417Follow up to r99416;jeroendedauw18:37, 10 October 2011

Status & tagging log