Index: branches/pageoutput/includes/view/ArticlePageView.php |
— | — | @@ -710,7 +710,7 @@ |
711 | 711 | * \<- Previous version | Next Version -\> |
712 | 712 | */ |
713 | 713 | public function setOldSubtitle() { |
714 | | - if ( !wfRunHooks( 'DisplayOldSubtitle', array( &$this, &$oldid ) ) ) { |
| 714 | + if ( !wfRunHooks( 'DisplayOldSubtitle', array( &$this, &$oldid ) ) ) { // @fixme |
715 | 715 | return; |
716 | 716 | } |
717 | 717 | |
— | — | @@ -882,7 +882,7 @@ |
883 | 883 | public function outputWikiText( $text, $cache = true, $parserOptions = false ) { |
884 | 884 | $this->mParserOutput = $this->getOutputFromWikitext( $text, $cache, $parserOptions ); |
885 | 885 | |
886 | | - $this->doCascadeProtectionUpdates( $this->mParserOutput ); |
| 886 | + $this->getPage()->doCascadeProtectionUpdates( $this->mParserOutput ); |
887 | 887 | |
888 | 888 | $this->getOutput()->addParserOutput( $this->mParserOutput ); |
889 | 889 | } |
— | — | @@ -901,7 +901,7 @@ |
902 | 902 | global $wgParser, $wgEnableParserCache, $wgUseFileCache; |
903 | 903 | |
904 | 904 | if ( !$parserOptions ) { |
905 | | - $parserOptions = $this->mPage->getParserOptions(); |
| 905 | + $parserOptions = $this->getPage()->getParserOptions(); |
906 | 906 | } |
907 | 907 | |
908 | 908 | $time = - wfTime(); |
— | — | @@ -928,7 +928,7 @@ |
929 | 929 | } |
930 | 930 | |
931 | 931 | if ( $this->isCurrent() ) { |
932 | | - $this->mPage->doCascadeProtectionUpdates( $this->mParserOutput ); |
| 932 | + $this->getPage()->doCascadeProtectionUpdates( $this->mParserOutput ); |
933 | 933 | } |
934 | 934 | |
935 | 935 | return $this->mParserOutput; |
— | — | @@ -945,7 +945,7 @@ |
946 | 946 | public function tryDirtyCache() { |
947 | 947 | $out = $this->getOutput(); |
948 | 948 | $parserCache = ParserCache::singleton(); |
949 | | - $options = $this->mPage->getParserOptions(); |
| 949 | + $options = $this->getPage()->getParserOptions(); |
950 | 950 | |
951 | 951 | if ( $out->isPrintable() ) { |
952 | 952 | $options->setIsPrintable( true ); |