r26407 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26406‎ | r26407 | r26408 >
Date:18:12, 4 October 2007
Author:raymond
Status:old
Tags:
Comment:
* MultipleUpload: Fix extensionCredits: it's a specialpage, not a parser hook
* Remove some unneeded ?>
Thanks to Jack per IRC
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.php (modified) (history)
  • /trunk/extensions/CentralNotice/NoticePage.php (modified) (history)
  • /trunk/extensions/CentralNotice/SpecialNoticeLoader.php (modified) (history)
  • /trunk/extensions/CentralNotice/SpecialNoticeText.php (modified) (history)
  • /trunk/extensions/Imagetabs/imagetabs.php (modified) (history)
  • /trunk/extensions/MultiUpload/SpecialMultipleUpload.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MultiUpload/SpecialMultipleUpload.php
@@ -23,7 +23,7 @@
2424
2525 $wgExtensionFunctions[] = 'wfMultipleUpload';
2626
27 -$wgExtensionCredits['parserhook'][] = array(
 27+$wgExtensionCredits['specialpage'][] = array(
2828 'name' => 'MultipleUpload',
2929 'author' => 'Travis Derouin',
3030 'description' => 'Allows users to upload several files at once.',
Index: trunk/extensions/Imagetabs/imagetabs.php
@@ -52,5 +52,3 @@
5353 }
5454 return true;
5555 }
56 -
57 -?>
Index: trunk/extensions/CentralNotice/SpecialNoticeLoader.php
@@ -37,6 +37,4 @@
3838 // Time when we should invalidate all notices...
3939 return wfTimestamp( TS_MW, $wgNoticeEpoch );
4040 }
41 -}
42 -
43 -?>
\ No newline at end of file
 41+}
\ No newline at end of file
Index: trunk/extensions/CentralNotice/CentralNotice.php
@@ -40,6 +40,4 @@
4141
4242 $wgSpecialPages['NoticeText'] = 'SpecialNoticeText';
4343 $wgAutoloadClasses['SpecialNoticeText'] =
44 - dirname( __FILE__ ) . '/SpecialNoticeText.php';
45 -
46 -?>
\ No newline at end of file
 44+ dirname( __FILE__ ) . '/SpecialNoticeText.php';
\ No newline at end of file
Index: trunk/extensions/CentralNotice/NoticePage.php
@@ -30,6 +30,4 @@
3131 function getJsOutput() {
3232 return "";
3333 }
34 -}
35 -
36 -?>
\ No newline at end of file
 34+}
\ No newline at end of file
Index: trunk/extensions/CentralNotice/SpecialNoticeText.php
@@ -109,6 +109,4 @@
110110 function getMeter() {
111111 return "<img src=\"http://upload.wikimedia.org/fundraising/2007/meter.png\" width='407' height='14' />";
112112 }
113 -}
114 -
115 -?>
\ No newline at end of file
 113+}
\ No newline at end of file

Status & tagging log