r16290 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16289‎ | r16290 | r16291 >
Date:19:25, 30 August 2006
Author:robchurch
Status:old
Tags:
Comment:
That should be prefixed, whoops...
Modified paths:
  • /trunk/phase3/includes/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialUndelete.php
@@ -480,7 +480,7 @@
481481 $wgOut->addHTML( "<ul>\n" );
482482 while( $row = $result->fetchObject() ) {
483483 $title = Title::makeTitleSafe( $row->ar_namespace, $row->ar_title );
484 - $link = $sk->makeKnownLinkObj( $undelete, htmlspecialchars( $title->getPrefixedText() ), 'target=' . $title->getPartialUrl() );
 484+ $link = $sk->makeKnownLinkObj( $undelete, htmlspecialchars( $title->getPrefixedText() ), 'target=' . $title->getPrefixedUrl() );
485485 $revs = wfMsgHtml( 'undeleterevisions', $wgLang->formatNum( $row->count ) );
486486 $wgOut->addHtml( "<li>{$link} ({$revs})</li>\n" );
487487 }