r1058 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/phpwiki/newcodebase/Article.php
@@ -763,7 +763,10 @@
764764 $wgOut->setPagetitle( wfMsg( "removedwatch" ) );
765765 $wgOut->setRobotpolicy( "noindex,follow" );
766766
767 - $text = str_replace( "$1", $wgTitle->getPrefixedText(),
 767+ $sk = $wgUser->getSkin() ;
 768+ $link = $sk->makeKnownLink ( $wgTitle->getPrefixedText() ) ;
 769+
 770+ $text = str_replace( "$1", $link ,
768771 wfMsg( "removedwatchtext" ) );
769772 $wgOut->addHTML( $text );
770773

Status & tagging log