Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | $diffOnly = $wgRequest->getBool( 'diffonly', $wgUser->getOption( 'diffonly' ) ); |
20 | 20 | |
21 | 21 | if ( isset( $diff ) && $diffOnly ) |
22 | | - return Article::view(); |
| 22 | + return parent::view(); |
23 | 23 | |
24 | 24 | if ( !wfRunHooks( 'CategoryPageView', array( &$this ) ) ) |
25 | 25 | return; |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | $this->openShowCategory(); |
29 | 29 | } |
30 | 30 | |
31 | | - Article::view(); |
| 31 | + parent::view(); |
32 | 32 | |
33 | 33 | if ( NS_CATEGORY == $this->mTitle->getNamespace() ) { |
34 | 34 | $this->closeShowCategory(); |
Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | $diffOnly = $wgRequest->getBool( 'diffonly', $wgUser->getOption( 'diffonly' ) ); |
68 | 68 | |
69 | 69 | if ( $this->mTitle->getNamespace() != NS_FILE || ( isset( $diff ) && $diffOnly ) ) { |
70 | | - return Article::view(); |
| 70 | + return parent::view(); |
71 | 71 | } |
72 | 72 | |
73 | 73 | $this->loadFile(); |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | // mTitle is the same as the redirect target so ask Article |
78 | 78 | // to perform the redirect for us. |
79 | 79 | $wgRequest->setVal( 'diffonly', 'true' ); |
80 | | - return Article::view(); |
| 80 | + return parent::view(); |
81 | 81 | } else { |
82 | 82 | // mTitle is not the same as the redirect target so it is |
83 | 83 | // probably the redirect page itself. Fake the redirect symbol |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | |
108 | 108 | # No need to display noarticletext, we use our own message, output in openShowImage() |
109 | 109 | if ( $this->getID() ) { |
110 | | - Article::view(); |
| 110 | + parent::view(); |
111 | 111 | } else { |
112 | 112 | # Just need to set the right headers |
113 | 113 | $wgOut->setArticleFlag( true ); |