follow up to r106215, pass user
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Wed, 14 Dec 2011 18:32:36 +0000 (18:32 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Wed, 14 Dec 2011 18:32:36 +0000 (18:32 +0000)
includes/ImagePage.php

index 5c0f3d1..2588614 100644 (file)
@@ -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