From 2a4311ef3e50f4046653ed9ec175fdc88f27bbf3 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sat, 6 Nov 2010 18:18:31 +0000 Subject: [PATCH] Rm some long-commented code, including quite possibly the lamest use of $wgTitle ever --- skins/Standard.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/skins/Standard.php b/skins/Standard.php index e9920dc0d5..b91254bc30 100644 --- a/skins/Standard.php +++ b/skins/Standard.php @@ -215,10 +215,6 @@ class SkinStandard extends Skin { array( 'known', 'noclasses' ) ); - #if( $tns%2 && $action!='edit' && !$wpPreview) { - #$s.= '
'.$this->linkKnown( Title::newFromText( $wgTitle->getPrefixedText() ),wfMsg('postcomment'),array(),array('action'=>'edit','section'=>'new')); - #} - /* watching could cause problems in edit mode: if user edits article, then loads "watch this article" in background and then saves -- 2.20.1