r24767 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24766‎ | r24767 | r24768 >
Date:01:42, 14 August 2007
Author:robchurch
Status:old
Tags:
Comment:
Make some SpecialPage::execute() declarations consistent
Modified paths:
  • /trunk/extensions/Contributors/Contributors.page.php (modified) (history)
  • /trunk/extensions/Duplicator/Duplicator.page.php (modified) (history)
  • /trunk/extensions/ProfileMonitor/ProfileMonitor.class.php (modified) (history)
  • /trunk/extensions/Vote/Vote.page.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Vote/Vote.page.php
@@ -17,7 +17,7 @@
1818 parent::__construct( 'Vote', 'vote' );
1919 }
2020
21 - public function execute( $mode = false ) {
 21+ public function execute( $mode ) {
2222 global $wgOut, $wgUser;
2323 $this->setHeaders();
2424 $this->user = $wgUser;
Index: trunk/extensions/Contributors/Contributors.page.php
@@ -15,7 +15,7 @@
1616 parent::__construct( 'Contributors' );
1717 }
1818
19 - public function execute( $target = false ) {
 19+ public function execute( $target ) {
2020 wfProfileIn( __METHOD__ );
2121 global $wgOut, $wgRequest;
2222 $this->setHeaders();
Index: trunk/extensions/ProfileMonitor/ProfileMonitor.class.php
@@ -13,7 +13,7 @@
1414 parent::__construct( 'Profiling' );
1515 }
1616
17 - public function execute() {
 17+ public function execute( $par ) {
1818 global $wgOut, $wgRequest;
1919 $this->setHeaders();
2020
Index: trunk/extensions/Duplicator/Duplicator.page.php
@@ -38,7 +38,7 @@
3939 *
4040 * @param $title Title passed to the page
4141 */
42 - public function execute( $title = false ) {
 42+ public function execute( $title ) {
4343 global $wgUser, $wgOut, $wgRequest, $wgLang, $wgDuplicatorRevisionLimit;
4444 $this->setHeaders();
4545

Status & tagging log