mark some public functions as such
authorJack Phoenix <ashley@users.mediawiki.org>
Sat, 2 Apr 2011 14:48:22 +0000 (14:48 +0000)
committerJack Phoenix <ashley@users.mediawiki.org>
Sat, 2 Apr 2011 14:48:22 +0000 (14:48 +0000)
includes/filerepo/File.php
includes/parser/Parser.php

index 898ac64..1fed356 100644 (file)
@@ -452,9 +452,8 @@ abstract class File {
         * It would be unsafe to include private images, making public thumbnails inadvertently
         *
         * @return boolean Whether file exists in the repository and is includable.
-        * @public
         */
-       function isVisible() {
+       public function isVisible() {
                return $this->exists();
        }
 
index 660566e..0a03f2f 100644 (file)
@@ -154,10 +154,8 @@ class Parser {
 
        /**
         * Constructor
-        *
-        * @public
         */
-       function __construct( $conf = array() ) {
+       public function __construct( $conf = array() ) {
                $this->mConf = $conf;
                $this->mUrlProtocols = wfUrlProtocols();
                $this->mExtLinkBracketedRegex = '/\[(\b(' . wfUrlProtocols() . ')'.