From 7d46f933a9327e632d716e1b0fde09f25012ffda Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 8 Feb 2004 08:01:54 +0000 Subject: [PATCH] removing commented sections --- includes/OutputPage.php | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 157742c651..8d2e9d3ac0 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1036,32 +1036,6 @@ $t[] = "" ; if( $iw && $wgInterwikiMagic && $nottalk && $wgLang->getLanguageName( $iw ) ) { array_push( $this->mLanguageLinks, $nt->getPrefixedText() ); $s .= $trail; -/* CHECK MERGE @@@ - } else if ( "media" == $pre ) { - $nt = Title::newFromText( $suf ); - $name = $nt->getDBkey(); - if ( "" == $text ) { $text = $nt->GetText(); } - - $wgLinkCache->addImageLink( $name ); - $s .= $sk->makeMediaLink( $name, - wfImageUrl( $name ), $text ); - $s .= $trail; - } else if ( isset($wgUseCategoryMagic) && $wgUseCategoryMagic && $pre == wfMsg ( "category" ) ) { - $l = $sk->makeLink ( $pre.":".ucfirst( $m[2] ), ucfirst ( $m[2] ) ) ; - array_push ( $this->mCategoryLinks , $l ) ; - $s .= $trail ; - } else { - $l = $wgLang->getLanguageName( $pre ); - if ( "" == $l or !$wgInterwikiMagic or Namespace::isTalk( $wgTitle->getNamespace() ) ) { - if ( "" == $text ) { - $text = $link; - } - $s .= $sk->makeLink( $link, $text, "", $trail ); - } else if ( $pre != $wgLanguageCode ) { - array_push( $this->mLanguageLinks, "$pre:$suf" ); - $s .= $trail; - } -*/ continue; } if( $ns == $image ) { @@ -1069,15 +1043,6 @@ $t[] = "" ; $wgLinkCache->addImageLinkObj( $nt ); continue; } -/* CHECK MERGE @@@ -# } else if ( 0 == strcmp( "##", substr( $link, 0, 2 ) ) ) { -# $link = substr( $link, 2 ); -# $s .= "{$text}{$trail}"; - } else { - if ( "" == $text ) { $text = $link; } - # Hotspot: - $s .= $sk->makeLink( $link, $text, "", $trail ); -*/ } if( $ns == $media ) { $s .= $sk->makeMediaLinkObj( $nt, $text ) . $trail; -- 2.20.1