Index: trunk/extensions/intersection/DynamicPageList.php |
— | — | @@ -447,14 +447,14 @@ |
448 | 448 | if (true == $bAddFirstCategoryDate) |
449 | 449 | $output .= $wgLang->date($row->cl_timestamp) . ': '; |
450 | 450 | |
451 | | - $query = ''; |
| 451 | + $query = array(); |
452 | 452 | if (true == $bShowCurId) |
453 | | - $query = 'curid='.intval($row->page_id); |
| 453 | + $query = array( 'curid' => intval($row->page_id) ); |
454 | 454 | |
455 | 455 | if (true == $bShowNamespace) |
456 | | - $output .= $sk->makeKnownLinkObj($title, htmlspecialchars($title->getPrefixedText()),$query); |
| 456 | + $output .= $sk->link($title, htmlspecialchars($title->getPrefixedText()), array(), $query, array( 'forcearticlepath', 'known' ) ); |
457 | 457 | else |
458 | | - $output .= $sk->makeKnownLinkObj($title, htmlspecialchars($title->getText()),$query); |
| 458 | + $output .= $sk->link($title, htmlspecialchars($title->getText()), array(), $query, array( 'forcearticlepath', 'known' ) ); |
459 | 459 | |
460 | 460 | $output .= $sEndItem . "\n"; |
461 | 461 | } |