Index: branches/pageoutput/includes/HistoryPage.php |
— | — | @@ -322,8 +322,8 @@ |
323 | 323 | protected $preventClickjacking = false; |
324 | 324 | |
325 | 325 | function __construct( $historyPage, $year = '', $month = '', $tagFilter = '', $conds = array() ) { |
326 | | - parent::__construct(); |
327 | 326 | $this->historyPage = $historyPage; |
| 327 | + parent::__construct( $historyPage->getContext() ); |
328 | 328 | $this->tagFilter = $tagFilter; |
329 | 329 | $this->getDateCond( $year, $month ); |
330 | 330 | $this->conds = $conds; |
— | — | @@ -335,19 +335,6 @@ |
336 | 336 | return $this->historyPage->getArticle(); |
337 | 337 | } |
338 | 338 | |
339 | | - function getTitle() { |
340 | | - return $this->historyPage->getTitle(); |
341 | | - } |
342 | | - function getUser() { |
343 | | - return $this->historyPage->getUser(); |
344 | | - } |
345 | | - function getLang() { |
346 | | - return $this->historyPage->getLang(); |
347 | | - } |
348 | | - function getOutput() { |
349 | | - return $this->historyPage->getOutput(); |
350 | | - } |
351 | | - |
352 | 339 | function getSqlComment() { |
353 | 340 | if ( $this->conds ) { |
354 | 341 | return 'history page filtered'; // potentially slow, see CR r58153 |