Go to the documentation of this file.
51 $file->loadFromRow( $row );
100 function delete( $reason, $suppress =
false ) {
static & makeTitle( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
FileRepo LocalRepo ForeignAPIRepo bool $repo
Some member variables can be lazy-initialised using __get().
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Foreign file with an accessible MediaWiki database.
recordUpload( $oldver, $desc, $license='', $copyStatus='', $source='', $watch=false, $timestamp=false, User $user=null)
int $user
User ID of uploader *.
it s the revision text itself In either if gzip is the revision text is gzipped $flags
static newFromTitle( $title, $repo, $unused=null)
getDescriptionText( $lang=false)
Get the HTML text of the description page, if available.
static newFromRow( $row, $repo)
Create a ForeignDBFile from a title Do not call this except from inside a repo class.
publish( $srcPath, $flags=0, array $options=array())
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
Class to represent a local file in the wiki's own database.
processing should stop and the error should be shown to the user * false
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
restore( $versions=array(), $unsuppress=false)
getDescriptionUrl()
Get the URL of the image description page.
string $timestamp
Upload timestamp *.
if(PHP_SAPI !='cli') $file
getDescriptionText( $lang=false)
if(PHP_SAPI !='cli') $source
The User object encapsulates all of the user-specific settings (user_id, name, rights,...