Index: trunk/extensions/CentralNotice/CentralNoticePageLogPager.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | */ |
17 | 17 | function __construct( $special, $type = 'bannercontent' ) { |
18 | 18 | $this->special = $special; |
19 | | - parent::__construct( $special ); |
| 19 | + parent::__construct(); |
20 | 20 | |
21 | 21 | $this->viewPage = SpecialPage::getTitleFor( 'NoticeTemplate', 'view' ); |
22 | 22 | $this->logType = $type; |
— | — | @@ -59,6 +59,7 @@ |
60 | 60 | * Generate the content of each table row (1 row = 1 log entry) |
61 | 61 | */ |
62 | 62 | function formatRow( $row ) { |
| 63 | + global $wgLang; |
63 | 64 | // Create a user object so we can pull the name, user page, etc. |
64 | 65 | $loggedUser = User::newFromId( $row->rc_user ); |
65 | 66 | // Create the user page link |