MediaWiki  1.23.6
ImageHistoryList Class Reference

Builds the image revision log shown on image pages. More...

Inheritance diagram for ImageHistoryList:
Collaboration diagram for ImageHistoryList:

Public Member Functions

 __construct ( $imagePage)
 
 beginImageHistoryList ( $navLinks='')
 
 endImageHistoryList ( $navLinks='')
 
 getFile ()
 
 getImagePage ()
 
 getPreventClickjacking ()
 
 imageHistoryLine ( $iscur, $file)
 
- Public Member Functions inherited from ContextSource
 canUseWikiPage ()
 Check whether a WikiPage object can be get with getWikiPage(). More...
 
 exportSession ()
 Export the resolved user IP, HTTP headers, user ID, and session ID. More...
 
 getConfig ()
 Get the Config object. More...
 
 getContext ()
 Get the RequestContext object. More...
 
 getLang ()
 Get the Language object. More...
 
 getLanguage ()
 Get the Language object. More...
 
 getOutput ()
 Get the OutputPage object. More...
 
 getRequest ()
 Get the WebRequest object. More...
 
 getSkin ()
 Get the Skin object. More...
 
 getTitle ()
 Get the Title object. More...
 
 getUser ()
 Get the User object. More...
 
 getWikiPage ()
 Get the WikiPage object. More...
 
 msg ()
 Get a Message object with context set Parameters are the same as wfMessage() More...
 
 setContext (IContextSource $context)
 Set the IContextSource object. More...
 

Public Attributes

 $showThumb
 

Protected Member Functions

 getThumbForLine ( $file)
 
 preventClickjacking ( $enable=true)
 

Protected Attributes

File $current
 
ImagePage $imagePage
 
File $img
 
 $preventClickjacking = false
 
 $repo
 
Title $title
 

Detailed Description

Builds the image revision log shown on image pages.

Definition at line 1032 of file ImagePage.php.

Constructor & Destructor Documentation

◆ __construct()

ImageHistoryList::__construct (   $imagePage)
Parameters
ImagePage$imagePage

Definition at line 1056 of file ImagePage.php.

Member Function Documentation

◆ beginImageHistoryList()

ImageHistoryList::beginImageHistoryList (   $navLinks = '')
Parameters
$navLinksstring
Returns
string

Definition at line 1084 of file ImagePage.php.

References $img.

◆ endImageHistoryList()

ImageHistoryList::endImageHistoryList (   $navLinks = '')
Parameters
$navLinksstring
Returns
string

Definition at line 1104 of file ImagePage.php.

◆ getFile()

ImageHistoryList::getFile ( )
Returns
File

Definition at line 1076 of file ImagePage.php.

◆ getImagePage()

ImageHistoryList::getImagePage ( )
Returns
ImagePage

Definition at line 1069 of file ImagePage.php.

◆ getPreventClickjacking()

ImageHistoryList::getPreventClickjacking ( )
Returns
bool

Definition at line 1314 of file ImagePage.php.

◆ getThumbForLine()

ImageHistoryList::getThumbForLine (   $file)
protected
Parameters
$fileFile
Returns
string

Definition at line 1273 of file ImagePage.php.

◆ imageHistoryLine()

ImageHistoryList::imageHistoryLine (   $iscur,
  $file 
)
Parameters
$iscur
$fileFile
Returns
string

Definition at line 1113 of file ImagePage.php.

◆ preventClickjacking()

ImageHistoryList::preventClickjacking (   $enable = true)
protected
Parameters
$enablebool

Definition at line 1307 of file ImagePage.php.

Member Data Documentation

◆ $current

File ImageHistoryList::$current
protected

Definition at line 1048 of file ImagePage.php.

◆ $imagePage

ImagePage ImageHistoryList::$imagePage
protected

Definition at line 1044 of file ImagePage.php.

◆ $img

File ImageHistoryList::$img
protected

Definition at line 1040 of file ImagePage.php.

Referenced by beginImageHistoryList().

◆ $preventClickjacking

ImageHistoryList::$preventClickjacking = false
protected

Definition at line 1051 of file ImagePage.php.

◆ $repo

ImageHistoryList::$repo
protected

Definition at line 1050 of file ImagePage.php.

◆ $showThumb

ImageHistoryList::$showThumb

Definition at line 1050 of file ImagePage.php.

◆ $title

Title ImageHistoryList::$title
protected

Definition at line 1036 of file ImagePage.php.


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