Index: trunk/phase3/includes/actions/InfoAction.php |
— | — | @@ -45,13 +45,15 @@ |
46 | 46 | return false; |
47 | 47 | } |
48 | 48 | |
| 49 | + protected function getPageTitle() { |
| 50 | + return wfMsg( 'pageinfo-title', $this->getTitle()->getSubjectPage()->getPrefixedText() ); |
| 51 | + } |
| 52 | + |
49 | 53 | public function onView() { |
50 | 54 | global $wgDisableCounters; |
51 | 55 | |
52 | 56 | $title = $this->getTitle()->getSubjectPage(); |
53 | 57 | |
54 | | - $this->getOutput()->setPagetitle( wfMsg( 'pageinfo-title', $title->getPrefixedText() ) ); |
55 | | - |
56 | 58 | $pageInfo = self::pageCountInfo( $title ); |
57 | 59 | $talkInfo = self::pageCountInfo( $title->getTalkPage() ); |
58 | 60 | |