MediaWiki  REL1_22
WikiFilePage Class Reference

Special handling for file pages. More...

Inheritance diagram for WikiFilePage:
Collaboration diagram for WikiFilePage:

List of all members.

Public Member Functions

 __construct ($title)
 doPurge ()
 Override handling of action=purge.
 followRedirect ()
 getActionOverrides ()
 Returns overrides for action handlers.
 getDuplicates ()
 getFile ()
 getRedirectTarget ()
 isLocal ()
 isRedirect ()
 setFile ($file)

Protected Member Functions

 loadFile ()

Protected Attributes

 $mDupes = null
File $mFile = false
 $mFileLoaded = false
 $mRepo = null

Detailed Description

Special handling for file pages.

Definition at line 28 of file WikiFilePage.php.


Constructor & Destructor Documentation

Definition at line 36 of file WikiFilePage.php.

References $title.


Member Function Documentation

Override handling of action=purge.

Returns:
bool

Reimplemented from WikiPage.

Definition at line 171 of file WikiFilePage.php.

Returns:
bool|mixed|Title

Reimplemented from WikiPage.

Definition at line 93 of file WikiFilePage.php.

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.

Todo:
Move this UI stuff somewhere else
Returns:
Array

Reimplemented from WikiPage.

Definition at line 42 of file WikiFilePage.php.

Returns:
array|null

Definition at line 137 of file WikiFilePage.php.

Returns:
bool|File

Definition at line 129 of file WikiFilePage.php.

Returns:
mixed|null|Title

Reimplemented from WikiPage.

Definition at line 76 of file WikiFilePage.php.

Returns:
bool

Definition at line 121 of file WikiFilePage.php.

Returns:
bool

Reimplemented from WikiPage.

Definition at line 109 of file WikiFilePage.php.

WikiFilePage::loadFile ( ) [protected]
Returns:
bool

Definition at line 59 of file WikiFilePage.php.

WikiFilePage::setFile ( file)
Parameters:
$fileFile:

Definition at line 51 of file WikiFilePage.php.


Member Data Documentation

WikiFilePage::$mDupes = null [protected]

Definition at line 34 of file WikiFilePage.php.

File WikiFilePage::$mFile = false [protected]

Definition at line 31 of file WikiFilePage.php.

WikiFilePage::$mFileLoaded = false [protected]

Definition at line 33 of file WikiFilePage.php.

WikiFilePage::$mRepo = null [protected]

Definition at line 32 of file WikiFilePage.php.


The documentation for this class was generated from the following file: