|
MediaWiki
master
|
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(). More... | |
| exportSession () | |
| Export the resolved user IP, HTTP headers, user ID, and session ID. More... | |
| getConfig () | |
| Get the Config object. More... | |
| getContext () | |
| Get the base IContextSource 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... | |
| getStats () | |
| Get the Stats object. More... | |
| getTiming () | |
| Get the Timing 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 |
Builds the image revision log shown on image pages.
Definition at line 26 of file ImageHistoryList.php.
| ImageHistoryList::__construct | ( | $imagePage | ) |
| ImagePage | $imagePage |
Definition at line 54 of file ImageHistoryList.php.
References $imagePage, $wgShowArchiveThumbnails, Article\getContext(), ImagePage\getDisplayedFile(), Article\getPage(), Article\getTitle(), global, ContextSource\setContext(), and title.
| ImageHistoryList::beginImageHistoryList | ( | $navLinks = '' | ) |
| string | $navLinks |
Definition at line 82 of file ImageHistoryList.php.
References Xml\element(), ContextSource\getUser(), ContextSource\msg(), Xml\openElement(), and text.
| ImageHistoryList::endImageHistoryList | ( | $navLinks = '' | ) |
| ImageHistoryList::getFile | ( | ) |
| ImageHistoryList::getImagePage | ( | ) |
| ImageHistoryList::getPreventClickjacking | ( | ) |
|
protected |
| File | $file |
Definition at line 283 of file ImageHistoryList.php.
References $lang, $options, $params, $timestamp, $user, File\DELETED_FILE, ContextSource\getLanguage(), ContextSource\getUser(), ContextSource\msg(), text, TS_MW, and wfTimestamp().
Referenced by imageHistoryLine().
| ImageHistoryList::imageHistoryLine | ( | $iscur, | |
| $file | |||
| ) |
| bool | $iscur | |
| File | $file |
Definition at line 113 of file ImageHistoryList.php.
References $img, $lang, $query, $timestamp, $user, $wgContLang, File\DELETED_COMMENT, File\DELETED_FILE, File\DELETED_RESTRICTED, File\DELETED_USER, Xml\element(), File\FOR_THIS_USER, Linker\formatComment(), ContextSource\getLanguage(), File\getName(), getThumbForLine(), SpecialPage\getTitleFor(), ContextSource\getUser(), global, Linker\linkKnown(), list, ContextSource\msg(), preventClickjacking(), Linker\revDeleteLink(), Linker\revDeleteLinkDisabled(), Hooks\run(), title, TS_MW, Linker\userLink(), Linker\userToolLinks(), and wfTimestamp().
|
protected |
| bool | $enable |
Definition at line 317 of file ImageHistoryList.php.
Referenced by imageHistoryLine().
|
protected |
Definition at line 46 of file ImageHistoryList.php.
|
protected |
Definition at line 41 of file ImageHistoryList.php.
Referenced by __construct(), and getImagePage().
|
protected |
Definition at line 36 of file ImageHistoryList.php.
Referenced by getFile(), and imageHistoryLine().
|
protected |
Definition at line 49 of file ImageHistoryList.php.
Referenced by getPreventClickjacking().
|
protected |
Definition at line 48 of file ImageHistoryList.php.
| ImageHistoryList::$showThumb |
Definition at line 48 of file ImageHistoryList.php.
|
protected |
Definition at line 31 of file ImageHistoryList.php.