MediaWiki
master
|
Builds the image revision log shown on image pages. More...
Public Member Functions | |
__construct ( $imagePage) | |
beginImageHistoryList () | |
endImageHistoryList () | |
getFile () | |
getImagePage () | |
getPreventClickjacking () | |
imageHistoryLine ( $iscur, $file, $formattedComment) | |
![]() | |
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... | |
getActionName () | |
Get the action name for the current web request. More... | |
getAuthority () | |
getConfig () | |
getContext () | |
Get the base IContextSource object. More... | |
getCsrfTokenSet () | |
Get a repository to obtain and match CSRF tokens. More... | |
getLanguage () | |
getOutput () | |
getRequest () | |
getSkin () | |
getTiming () | |
getTitle () | |
getUser () | |
getWikiPage () | |
Get the WikiPage object. More... | |
msg ( $key,... $params) | |
Get a Message object with context set Parameters are the same as wfMessage() More... | |
setContext (IContextSource $context) | |
Public Attributes | |
$showThumb | |
Protected Member Functions | |
getThumbForLine ( $file, $iscur) | |
preventClickjacking ( $enable=true) | |
setPreventClickjacking (bool $enable) | |
Protected Attributes | |
File | $current |
ImagePage | $imagePage |
File | $img |
$preventClickjacking = false | |
$repo | |
Title | $title |
Builds the image revision log shown on image pages.
Definition at line 33 of file ImageHistoryList.php.
ImageHistoryList::__construct | ( | $imagePage | ) |
ImagePage | $imagePage |
Definition at line 62 of file ImageHistoryList.php.
References $imagePage, Article\getContext(), ImagePage\getDisplayedFile(), Article\getPage(), Article\getTitle(), and ContextSource\setContext().
ImageHistoryList::beginImageHistoryList | ( | ) |
Definition at line 90 of file ImageHistoryList.php.
References ContextSource\getAuthority(), ContextSource\getOutput(), and ContextSource\msg().
ImageHistoryList::endImageHistoryList | ( | ) |
Definition at line 119 of file ImageHistoryList.php.
ImageHistoryList::getFile | ( | ) |
ImageHistoryList::getImagePage | ( | ) |
ImageHistoryList::getPreventClickjacking | ( | ) |
|
protected |
File | $file | |
bool | $iscur |
Definition at line 299 of file ImageHistoryList.php.
References $file, $lang, File\DELETED_FILE, ContextSource\getLanguage(), ContextSource\getUser(), ContextSource\msg(), and wfTimestamp().
Referenced by imageHistoryLine().
ImageHistoryList::imageHistoryLine | ( | $iscur, | |
$file, | |||
$formattedComment | |||
) |
bool | $iscur | |
File | $file | |
string | $formattedComment |
Definition at line 130 of file ImageHistoryList.php.
References $file, $img, $lang, File\DELETED_COMMENT, File\DELETED_FILE, File\DELETED_RESTRICTED, File\FOR_THIS_USER, ContextSource\getAuthority(), ContextSource\getLanguage(), getThumbForLine(), SpecialPage\getTitleFor(), ContextSource\getUser(), ContextSource\msg(), setPreventClickjacking(), and wfTimestamp().
|
protected |
bool | $enable |
Definition at line 335 of file ImageHistoryList.php.
Referenced by setPreventClickjacking().
|
protected |
bool | $enable |
Definition at line 343 of file ImageHistoryList.php.
References preventClickjacking().
Referenced by imageHistoryLine().
|
protected |
Definition at line 54 of file ImageHistoryList.php.
|
protected |
Definition at line 49 of file ImageHistoryList.php.
Referenced by __construct(), and getImagePage().
|
protected |
Definition at line 44 of file ImageHistoryList.php.
Referenced by getFile(), and imageHistoryLine().
|
protected |
Definition at line 57 of file ImageHistoryList.php.
Referenced by getPreventClickjacking().
|
protected |
Definition at line 56 of file ImageHistoryList.php.
ImageHistoryList::$showThumb |
Definition at line 56 of file ImageHistoryList.php.
|
protected |
Definition at line 39 of file ImageHistoryList.php.