wfDebug( __METHOD__ . ': supposed to render ' . $this->getName() .
' (' . $this->getMimeType() . "), but can't!\n" );
- return $this->getURL(); # hm... return NULL?
+ return $this->getUrl(); # hm... return NULL?
}
} else {
- return $this->getURL();
+ return $this->getUrl();
}
}
* Options to $options include:
* - headers : name/value map of HTTP headers to use in response to GET/HEAD requests
*
- * @param string $srcPath Local filesystem path to the source image
+ * @param string|FSFile $src Local filesystem path to the source image
* @param int $flags A bitwise combination of:
* File::DELETE_SOURCE Delete the source file, i.e. move rather than copy
* @param array $options Optional additional parameters
* STUB
* Overridden by LocalFile
*/
- function publish( $srcPath, $flags = 0, array $options = [] ) {
+ function publish( $src, $flags = 0, array $options = [] ) {
$this->readOnlyError();
}