From: Jeroen De Dauw Date: Wed, 14 Dec 2011 18:32:36 +0000 (+0000) Subject: follow up to r106215, pass user X-Git-Tag: 1.31.0-rc.0~25967 X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=commitdiff_plain;h=2001b889088555561af779a89f6702022fb92cc4;p=lhc%2Fweb%2Fwiklou.git follow up to r106215, pass user --- 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