$diffOnly = $wgRequest->getBool( 'diffonly', $wgUser->getOption( 'diffonly' ) );
if ( isset( $diff ) && $diffOnly )
- return Article::view();
+ return parent::view();
if ( !wfRunHooks( 'CategoryPageView', array( &$this ) ) )
return;
$this->openShowCategory();
}
- Article::view();
+ parent::view();
if ( NS_CATEGORY == $this->mTitle->getNamespace() ) {
$this->closeShowCategory();
$diffOnly = $wgRequest->getBool( 'diffonly', $wgUser->getOption( 'diffonly' ) );
if ( $this->mTitle->getNamespace() != NS_FILE || ( isset( $diff ) && $diffOnly ) ) {
- return Article::view();
+ return parent::view();
}
$this->loadFile();
// mTitle is the same as the redirect target so ask Article
// to perform the redirect for us.
$wgRequest->setVal( 'diffonly', 'true' );
- return Article::view();
+ return parent::view();
} else {
// mTitle is not the same as the redirect target so it is
// probably the redirect page itself. Fake the redirect symbol
# No need to display noarticletext, we use our own message, output in openShowImage()
if ( $this->getID() ) {
- Article::view();
+ parent::view();
} else {
# Just need to set the right headers
$wgOut->setArticleFlag( true );