Index: trunk/phase3/includes/Article.php |
— | — | @@ -458,7 +458,7 @@ |
459 | 459 | wfDebug( __METHOD__ . ": done file cache\n" ); |
460 | 460 | # tell wgOut that output is taken care of |
461 | 461 | $wgOut->disable(); |
462 | | - $this->mPage->doViewUpdates( $this->getContext()->getUser() ); |
| 462 | + $this->mPage->doViewUpdates( $wgUser ); |
463 | 463 | wfProfileOut( __METHOD__ ); |
464 | 464 | |
465 | 465 | return; |
— | — | @@ -630,7 +630,7 @@ |
631 | 631 | $wgOut->setFollowPolicy( $policy['follow'] ); |
632 | 632 | |
633 | 633 | $this->showViewFooter(); |
634 | | - $this->mPage->doViewUpdates( $this->getContext()->getUser() ); |
| 634 | + $this->mPage->doViewUpdates( $wgUser ); |
635 | 635 | |
636 | 636 | wfProfileOut( __METHOD__ ); |
637 | 637 | } |
— | — | @@ -669,7 +669,7 @@ |
670 | 670 | |
671 | 671 | if ( $diff == 0 || $diff == $this->mPage->getLatest() ) { |
672 | 672 | # Run view updates for current revision only |
673 | | - $this->mPage->doViewUpdates( $this->getContext()->getUser() ); |
| 673 | + $this->mPage->doViewUpdates( $wgUser ); |
674 | 674 | } |
675 | 675 | } |
676 | 676 | |