(bug 28583) chase down and beat to death external calls of functions marked /*private...
authorHappy-melon <happy-melon@users.mediawiki.org>
Mon, 18 Apr 2011 19:03:14 +0000 (19:03 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Mon, 18 Apr 2011 19:03:14 +0000 (19:03 +0000)
includes/ImagePage.php
includes/LinkCache.php
includes/Title.php
includes/search/SearchUpdate.php

index cdaac24..ad3a5a7 100644 (file)
@@ -10,13 +10,10 @@ class ImagePage extends Article {
        /**
         * @var File
         */
-       /* private */ var $img;
-       /**
-        * @var File
-        */
-       /* private */ var $displayImg;
-       /* private */ var $repo;
-       /* private */ var $fileLoaded;
+       private $img;
+       private $displayImg;
+       private $repo;
+       private $fileLoaded;
 
        var $mExtraDescription = false;
        var $dupes;
index e2db69a..f3dea93 100644 (file)
@@ -7,10 +7,10 @@
 class LinkCache {
        // Increment $mClassVer whenever old serialized versions of this class
        // becomes incompatible with the new version.
-       /* private */ var $mClassVer = 4;
+       private $mClassVer = 4;
 
-       /* private */ var $mGoodLinks, $mBadLinks;
-       /* private */ var $mForUpdate;
+       private $mGoodLinks, $mBadLinks;
+       private $mForUpdate;
 
        /**
         * Get an instance of this class
index bb6cd0a..78af3b0 100644 (file)
@@ -2498,7 +2498,7 @@ class Title {
         * @return String the prefixed text
         * @private
         */
-       /* private */ function prefix( $name ) {
+       private function prefix( $name ) {
                $p = '';
                if ( $this->mInterwiki != '' ) {
                        $p = $this->mInterwiki . ':';
index 5262faa..77146eb 100644 (file)
@@ -15,8 +15,8 @@
  */
 class SearchUpdate {
 
-       /* private */ var $mId = 0, $mNamespace, $mTitle, $mText;
-       /* private */ var $mTitleWords;
+       private $mId = 0, $mNamespace, $mTitle, $mText;
+       private $mTitleWords;
 
        function __construct( $id, $title, $text = false ) {
                $nt = Title::newFromText( $title );