MediaWiki REL1_33
|
Builds the image revision log shown on image pages. More...
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(). | |
exportSession () | |
Export the resolved user IP, HTTP headers, user ID, and session ID. | |
getConfig () | |
getContext () | |
Get the base IContextSource object. | |
getLanguage () | |
getOutput () | |
getRequest () | |
getSkin () | |
getStats () | |
getTiming () | |
getTitle () | |
getUser () | |
getWikiPage () | |
Get the WikiPage object. | |
msg ( $key) | |
Get a Message object with context set Parameters are the same as wfMessage() | |
setContext (IContextSource $context) | |
Protected Member Functions | |
getThumbForLine ( $file) | |
preventClickjacking ( $enable=true) | |
Protected Attributes | |
File | $current |
ImagePage | $imagePage |
File | $img |
$preventClickjacking = false | |
$repo | |
$showThumb | |
Title | $title |
Builds the image revision log shown on image pages.
Definition at line 28 of file ImageHistoryList.php.
ImageHistoryList::__construct | ( | $imagePage | ) |
ImagePage | $imagePage |
Definition at line 56 of file ImageHistoryList.php.
References ContextSource\$context, $imagePage, IContextSource\getConfig(), Article\getContext(), ImagePage\getDisplayedFile(), Article\getPage(), Article\getTitle(), ContextSource\setContext(), and title.
ImageHistoryList::beginImageHistoryList | ( | $navLinks = '' | ) |
string | $navLinks |
Definition at line 85 of file ImageHistoryList.php.
References ContextSource\getUser(), ContextSource\msg(), and text.
ImageHistoryList::endImageHistoryList | ( | $navLinks = '' | ) |
ImageHistoryList::getFile | ( | ) |
ImageHistoryList::getImagePage | ( | ) |
ImageHistoryList::getPreventClickjacking | ( | ) |
|
protected |
File | $file |
Definition at line 290 of file ImageHistoryList.php.
References $lang, $options, $params, File\DELETED_FILE, ContextSource\getLanguage(), ContextSource\getUser(), ContextSource\msg(), and wfTimestamp().
Referenced by imageHistoryLine().
ImageHistoryList::imageHistoryLine | ( | $iscur, | |
$file ) |
bool | $iscur | |
File | $file |
Definition at line 116 of file ImageHistoryList.php.
References $img, $lang, $query, and(), File\DELETED_COMMENT, File\DELETED_FILE, File\DELETED_RESTRICTED, File\DELETED_USER, File\FOR_THIS_USER, Linker\formatComment(), ContextSource\getLanguage(), File\getName(), getThumbForLine(), ContextSource\getUser(), Linker\linkKnown(), list, ContextSource\msg(), preventClickjacking(), Linker\revDeleteLink(), Linker\revDeleteLinkDisabled(), title, Linker\userLink(), Linker\userToolLinks(), and wfTimestamp().
|
protected |
bool | $enable |
Definition at line 324 of file ImageHistoryList.php.
References preventClickjacking().
Referenced by imageHistoryLine(), and preventClickjacking().
|
protected |
Definition at line 48 of file ImageHistoryList.php.
|
protected |
Definition at line 43 of file ImageHistoryList.php.
Referenced by __construct(), and getImagePage().
|
protected |
Definition at line 38 of file ImageHistoryList.php.
Referenced by getFile(), and imageHistoryLine().
|
protected |
Definition at line 51 of file ImageHistoryList.php.
Referenced by getPreventClickjacking().
|
protected |
Definition at line 50 of file ImageHistoryList.php.
|
protected |
Definition at line 50 of file ImageHistoryList.php.
|
protected |
Definition at line 33 of file ImageHistoryList.php.