Thread:Extension talk:RecentPages/Include RecentPages in Main Page/reply (3)

To get it to link properly change this code ...

for ( $i = 1; $i <= $numRows; $i++ ) { $title = $retArray[ $i - 1 ]; if ( !is_null( $title ) ) { $ret .= "". $parser->internalParse (  . $html .  ). "\n";

with this code ....

for ( $i = 1; $i <= $numRows; $i++ ) { $title = $retArray[ $i - 1 ]; if ( !is_null( $title ) ) { $ret .= "". $parser->internalParse (  . $title->getFullText                       . $html .  ). "\n";

The change removes the pipe that causes the problem in the last line.