This should do the trick:
$ cvs diff -u Linker.php
Index: Linker.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Linker.php,v
retrieving revision 1.22
diff -u -r1.22 Linker.php
--- Linker.php 12 Apr 2005 00:37:45 -0000 1.22
+++ Linker.php 15 Apr 2005 18:14:54 -0000
@@ -690,7 +690,7 @@
$style = $this->getExternalLinkAttributes( $url,
$text, 'external ' . $linktype );
global $wgNoFollowLinks;
if( $wgNoFollowLinks ) {
- $style .= ' rel="nofollow"';
+ $style .= ' rel="nofollow"
target="_blank"';
}
$url = htmlspecialchars( $url );
if( $escape )