r81706 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81705‎ | r81706 | r81707 >
Date:10:10, 8 February 2011
Author:tstarling
Status:ok
Tags:
Comment:
Fixes for r71961
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/ContributionReporting/ContributionHistory_body.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/ContributionReporting/ContributionTotal_body.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/LiquidThreads/pages/SpecialNewMessages.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/LiquidThreads_alpha/pages/SpecialNewMessages.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/LiquidThreads/pages/SpecialNewMessages.php
@@ -5,7 +5,7 @@
66 private $user, $output, $request;
77
88 function __construct() {
9 - parent::SpecialPage( 'NewMessages' );
 9+ parent::__construct( 'NewMessages' );
1010 $this->includable( true );
1111 }
1212
Index: branches/wmf/1.17wmf1/extensions/LiquidThreads_alpha/pages/SpecialNewMessages.php
@@ -5,7 +5,7 @@
66 private $user, $output, $request;
77
88 function __construct() {
9 - parent::SpecialPage( 'NewMessages' );
 9+ parent::__construct( 'NewMessages' );
1010 $this->includable( true );
1111 }
1212
Index: branches/wmf/1.17wmf1/extensions/ContributionReporting/ContributionHistory_body.php
@@ -1,7 +1,7 @@
22 <?php
33 class ContributionHistory extends SpecialPage {
44 function ContributionHistory() {
5 - SpecialPage::SpecialPage( 'ContributionHistory' );
 5+ parent::__construct( 'ContributionHistory' );
66 }
77
88 function execute( $language = null ) {
Index: branches/wmf/1.17wmf1/extensions/ContributionReporting/ContributionTotal_body.php
@@ -2,7 +2,7 @@
33
44 class ContributionTotal extends SpecialPage {
55 function ContributionTotal() {
6 - SpecialPage::SpecialPage( 'ContributionTotal' );
 6+ parent::__construct( 'ContributionTotal' );
77 }
88
99 function execute( $par ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71961Get rid of PHP4-style constructorsdemon16:52, 30 August 2010

Status & tagging log