|
MediaWiki REL1_39
|
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, $formattedComment) | |
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. | |
| getActionName () | |
| Get the action name for the current web request. | |
| getAuthority () | |
| getConfig () | |
| getContext () | |
| Get the base IContextSource object. | |
| getCsrfTokenSet () | |
| Get a repository to obtain and match CSRF tokens. | |
| getLanguage () | |
| getOutput () | |
| getRequest () | |
| getSkin () | |
| getStats () | |
| getTiming () | |
| getTitle () | |
| getUser () | |
| getWikiPage () | |
| Get the WikiPage object. | |
| msg ( $key,... $params) | |
| Get a Message object with context set Parameters are the same as wfMessage() | |
| setContext (IContextSource $context) | |
Protected Member Functions | |
| getThumbForLine ( $file, $iscur) | |
| preventClickjacking ( $enable=true) | |
| setPreventClickjacking (bool $enable) | |
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 30 of file ImageHistoryList.php.
| ImageHistoryList::__construct | ( | $imagePage | ) |
| ImagePage | $imagePage |
Definition at line 59 of file ImageHistoryList.php.
References Article\getContext(), ImagePage\getDisplayedFile(), Article\getPage(), Article\getTitle(), and ContextSource\setContext().
| ImageHistoryList::beginImageHistoryList | ( | $navLinks = '' | ) |
| string | $navLinks |
Definition at line 88 of file ImageHistoryList.php.
References getAuthority(), ContextSource\getOutput(), and ContextSource\msg().
| ImageHistoryList::endImageHistoryList | ( | $navLinks = '' | ) |
| ImageHistoryList::getFile | ( | ) |
Definition at line 80 of file ImageHistoryList.php.
| ImageHistoryList::getImagePage | ( | ) |
Definition at line 73 of file ImageHistoryList.php.
| ImageHistoryList::getPreventClickjacking | ( | ) |
Definition at line 356 of file ImageHistoryList.php.
|
protected |
| File | $file | |
| bool | $iscur |
Definition at line 306 of file ImageHistoryList.php.
References $file, $lang, ContextSource\getLanguage(), getUser(), ContextSource\msg(), and wfTimestamp().
Referenced by imageHistoryLine().
| ImageHistoryList::imageHistoryLine | ( | $iscur, | |
| $file, | |||
| $formattedComment ) |
| bool | $iscur | |
| File | $file | |
| string | $formattedComment |
Definition at line 136 of file ImageHistoryList.php.
References $file, $lang, getAuthority(), ContextSource\getLanguage(), File\getName(), getThumbForLine(), SpecialPage\getTitleFor(), getUser(), ContextSource\msg(), Linker\revDeleteLink(), Linker\revDeleteLinkDisabled(), setPreventClickjacking(), Linker\userLink(), Linker\userToolLinks(), and wfTimestamp().
|
protected |
| bool | $enable |
Definition at line 341 of file ImageHistoryList.php.
References preventClickjacking().
Referenced by preventClickjacking(), and setPreventClickjacking().
|
protected |
| bool | $enable |
Definition at line 349 of file ImageHistoryList.php.
References preventClickjacking().
Referenced by imageHistoryLine().
|
protected |
Definition at line 51 of file ImageHistoryList.php.
|
protected |
Definition at line 46 of file ImageHistoryList.php.
|
protected |
Definition at line 41 of file ImageHistoryList.php.
|
protected |
Definition at line 54 of file ImageHistoryList.php.
|
protected |
Definition at line 53 of file ImageHistoryList.php.
|
protected |
Definition at line 53 of file ImageHistoryList.php.
|
protected |
Definition at line 36 of file ImageHistoryList.php.