Index: trunk/extensions/Contest/includes/ContestContestant.php |
— | — | @@ -513,15 +513,15 @@ |
514 | 514 | if ( is_null( $title ) ) { |
515 | 515 | return ''; |
516 | 516 | } |
517 | | - |
| 517 | + |
518 | 518 | $article = new Article( $title, 0 ); |
519 | 519 | |
520 | 520 | global $wgParser; |
521 | 521 | return $wgParser->parse( |
522 | | - $article->getContent(), |
| 522 | + $article->fetchContent(), |
523 | 523 | $article->getTitle(), |
524 | 524 | $article->getParserOptions() |
525 | | - ); |
| 525 | + )->getText(); // TODO: have full urls instead of relative ones |
526 | 526 | } |
527 | 527 | |
528 | 528 | /** |