MediaWiki
REL1_19
|
Special handling for file pages. More...
Public Member Functions | |
__construct ($title) | |
doPurge () | |
Override handling of action=purge. | |
followRedirect () | |
getActionOverrides () | |
Returns overrides for action handlers. | |
getDuplicates () | |
getFile () | |
getRedirectTarget () | |
isLocal () | |
isRedirect ($text=false) | |
setFile ($file) | |
Protected Member Functions | |
loadFile () | |
Protected Attributes | |
$mDupes = null | |
$mFile = false | |
$mFileLoaded = false | |
$mRepo = null |
Special handling for file pages.
Definition at line 7 of file WikiFilePage.php.
WikiFilePage::__construct | ( | $ | title | ) |
Definition at line 16 of file WikiFilePage.php.
References $title.
Override handling of action=purge.
Reimplemented from WikiPage.
Definition at line 152 of file WikiFilePage.php.
References loadFile(), and wfDebug().
Reimplemented from WikiPage.
Definition at line 74 of file WikiFilePage.php.
References loadFile(), and Title\makeTitle().
Returns overrides for action handlers.
Classes listed here will be used instead of the default one when (and only when) $wgActions[$action] === true. This allows subclasses to override the default behavior.
Reimplemented from WikiPage.
Definition at line 22 of file WikiFilePage.php.
Definition at line 119 of file WikiFilePage.php.
References $file, $self, $size, loadFile(), and RepoGroup\singleton().
Definition at line 111 of file WikiFilePage.php.
References loadFile().
Reimplemented from WikiPage.
Definition at line 57 of file WikiFilePage.php.
References loadFile(), and Title\makeTitle().
Definition at line 103 of file WikiFilePage.php.
References loadFile().
WikiFilePage::isRedirect | ( | $ | text = false | ) |
bool | $text |
Reimplemented from WikiPage.
Definition at line 91 of file WikiFilePage.php.
References loadFile().
WikiFilePage::loadFile | ( | ) | [protected] |
Definition at line 37 of file WikiFilePage.php.
References wfFindFile(), and wfLocalFile().
Referenced by doPurge(), followRedirect(), getDuplicates(), getFile(), getRedirectTarget(), isLocal(), and isRedirect().
WikiFilePage::setFile | ( | $ | file | ) |
WikiFilePage::$mDupes = null [protected] |
Definition at line 14 of file WikiFilePage.php.
WikiFilePage::$mFile = false [protected] |
Definition at line 11 of file WikiFilePage.php.
WikiFilePage::$mFileLoaded = false [protected] |
Definition at line 13 of file WikiFilePage.php.
WikiFilePage::$mRepo = null [protected] |
Definition at line 12 of file WikiFilePage.php.