diff options
Diffstat (limited to 'includes/ImagePage.php')
-rw-r--r-- | includes/ImagePage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ImagePage.php b/includes/ImagePage.php index ebbe36ca6c1c..e6090f27351e 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -879,7 +879,7 @@ class ImageHistoryList { */ public function __construct( $imagePage ) { global $wgUser, $wgShowArchiveThumbnails; - $this->skin = $wgUser->getSkin(); + $this->skin = $this->getSkin(); $this->current = $imagePage->getFile(); $this->img = $imagePage->getDisplayedFile(); $this->title = $imagePage->getTitle(); |