r1057 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r1056‎ | r1057 | r1058 >
Date:19:01, 2 January 2003
Author:magnus_manske
Status:old
Tags:
Comment:
Backlink from watch
Modified paths:
  • /trunk/phpwiki/newcodebase/Article.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/newcodebase/Article.php
@@ -732,7 +732,10 @@
733733 $wgOut->setPagetitle( wfMsg( "addedwatch" ) );
734734 $wgOut->setRobotpolicy( "noindex,follow" );
735735
736 - $text = str_replace( "$1", $wgTitle->getPrefixedText(),
 736+ $sk = $wgUser->getSkin() ;
 737+ $link = $sk->makeKnownLink ( $wgTitle->getPrefixedText() ) ;
 738+
 739+ $text = str_replace( "$1", $link ,
737740 wfMsg( "addedwatchtext" ) );
738741 $wgOut->addHTML( $text );
739742

Status & tagging log