r32967 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32966‎ | r32967 | r32968 >
Date:16:06, 8 April 2008
Author:ialex
Status:old
Tags:
Comment:
Fixed E_NOTICE: array to string conversion in parserTests.
Modified paths:
  • /trunk/phase3/maintenance/parserTests.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.inc
@@ -313,7 +313,8 @@
314314 } else if (preg_match('/\\bcat\\b/i', $opts)) {
315315 global $wgOut;
316316 $wgOut->addCategoryLinks($output->getCategories());
317 - $out = $this->tidy( implode( ' ', $wgOut->getCategoryLinks() ) );
 317+ $cats = $wgOut->getCategoryLinks();
 318+ $out = $this->tidy( implode( ' ', $cats['normal'] ) );
318319 }
319320
320321 $result = $this->tidy($result);

Status & tagging log