Rm some long-commented code, including quite possibly the lamest use of $wgTitle...
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 6 Nov 2010 18:18:31 +0000 (18:18 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 6 Nov 2010 18:18:31 +0000 (18:18 +0000)
skins/Standard.php

index e9920dc..b91254b 100644 (file)
@@ -215,10 +215,6 @@ class SkinStandard extends Skin {
                                        array( 'known', 'noclasses' )
                                );
 
-                       #if( $tns%2 && $action!='edit' && !$wpPreview) {
-                               #$s.= '<br />'.$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