Merge "(bug 37755) Set robot meta tags for 'view source' pages"
[lhc/web/wiklou.git] / includes / filerepo / file / ForeignDBFile.php
index fa7834a..a03df85 100644 (file)
@@ -54,23 +54,53 @@ class ForeignDBFile extends LocalFile {
                return $file;
        }
 
-       function publish( $srcPath, $flags = 0 ) {
+       /**
+        * @param $srcPath String
+        * @param $flags int
+        * @param $options Array
+        * @throws MWException
+        */
+       function publish( $srcPath, $flags = 0, array $options = array() ) {
                $this->readOnlyError();
        }
 
+       /**
+        * @param $oldver
+        * @param $desc string
+        * @param $license string
+        * @param $copyStatus string
+        * @param $source string
+        * @param $watch bool
+        * @param $timestamp bool|string
+        * @throws MWException
+        */
        function recordUpload( $oldver, $desc, $license = '', $copyStatus = '', $source = '',
                $watch = false, $timestamp = false ) {
                $this->readOnlyError();
        }
 
+       /**
+        * @param $versions array
+        * @param $unsuppress bool
+        * @throws MWException
+        */
        function restore( $versions = array(), $unsuppress = false ) {
                $this->readOnlyError();
        }
 
+       /**
+        * @param $reason string
+        * @param $suppress bool
+        * @throws MWException
+        */
        function delete( $reason, $suppress = false ) {
                $this->readOnlyError();
        }
 
+       /**
+        * @param $target Title
+        * @throws MWException
+        */
        function move( $target ) {
                $this->readOnlyError();
        }