Moved view count from WikiPage to Title; avoids an extra DB query when showing the...
[lhc/web/wiklou.git] / includes / SkinLegacy.php
index 855098e..5d1f4bd 100644 (file)
@@ -284,7 +284,7 @@ class LegacyTemplate extends BaseTemplate {
        }
 
        function bottomLinks() {
-               global $wgOut, $wgUser, $wgUseTrackbacks;
+               global $wgOut, $wgUser;
                $sep = wfMsgExt( 'pipe-separator', 'escapenoentities' ) . "\n";
 
                $s = '';
@@ -300,10 +300,6 @@ class LegacyTemplate extends BaseTemplate {
                        $element[] = $this->whatLinksHere();
                        $element[] = $this->watchPageLinksLink();
 
-                       if ( $wgUseTrackbacks ) {
-                               $element[] = $this->trackbackLink();
-                       }
-
                        $title = $this->getSkin()->getTitle();
 
                        if (
@@ -709,11 +705,6 @@ class LegacyTemplate extends BaseTemplate {
                }
        }
 
-       function trackbackLink() {
-               return '<a href="' . $this->getSkin()->getTitle()->trackbackURL() . '">'
-                       . wfMsg( 'trackbacklink' ) . '</a>';
-       }
-
        function talkLink() {
                $title = $this->getSkin()->getTitle();
                if ( NS_SPECIAL == $title->getNamespace() ) {