From 2001b889088555561af779a89f6702022fb92cc4 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Wed, 14 Dec 2011 18:32:36 +0000 Subject: [PATCH] follow up to r106215, pass user --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 5c0f3d1ba0..258861441f 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -140,7 +140,7 @@ class ImagePage extends Article { # Just need to set the right headers $wgOut->setArticleFlag( true ); $wgOut->setPageTitle( $this->getTitle()->getPrefixedText() ); - $this->mPage->doViewUpdates(); + $this->mPage->doViewUpdates( $this->getContext()->getUser() ); } # Show shared description, if needed -- 2.20.1