Moved Skin::$mWatchLinkNum to SkinLegacy since it's only used there and made it prote...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 2 May 2011 15:32:20 +0000 (15:32 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 2 May 2011 15:32:20 +0000 (15:32 +0000)
includes/Skin.php
includes/SkinLegacy.php

index 028b403..acbe6ea 100644 (file)
@@ -16,11 +16,6 @@ if ( !defined( 'MEDIAWIKI' ) ) {
  * @ingroup Skins
  */
 abstract class Skin {
-       /**#@+
-        * @private
-        */
-       var $mWatchLinkNum = 0; // Appended to end of watch link id's
-       /**#@-*/
        protected $skinname = 'standard';
        protected $mRelevantTitle = null;
        protected $mRelevantUser = null;
index 22d658a..6c421ef 100644 (file)
@@ -9,6 +9,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
 
 class SkinLegacy extends SkinTemplate {
        var $useHeadElement = true;
+       protected $mWatchLinkNum = 0; // Appended to end of watch link id's
 
        /**
         * Add skin specific stylesheets