Index: trunk/extensions/intersection/DynamicPageList.php |
— | — | @@ -449,13 +449,15 @@ |
450 | 450 | |
451 | 451 | $query = array(); |
452 | 452 | if (true == $bShowCurId) |
453 | | - $query = array( 'curid' => intval($row->page_id) ); |
| 453 | + $query['curid'] = intval($row->page_id); |
454 | 454 | |
455 | 455 | if (true == $bShowNamespace) |
456 | | - $output .= $sk->link($title, htmlspecialchars($title->getPrefixedText()), array(), $query, array( 'forcearticlepath', 'known' ) ); |
| 456 | + $titleText = $title->getPrefixedText(); |
457 | 457 | else |
458 | | - $output .= $sk->link($title, htmlspecialchars($title->getText()), array(), $query, array( 'forcearticlepath', 'known' ) ); |
| 458 | + $titleText = $title->getText(); |
459 | 459 | |
| 460 | + $output .= $sk->link($title, htmlspecialchars($titleText), array(), $query, array( 'forcearticlepath', 'known' ) ); |
| 461 | + |
460 | 462 | $output .= $sEndItem . "\n"; |
461 | 463 | } |
462 | 464 | |