Index: trunk/extensions/FindSpam/FindSpam.php |
— | — | @@ -12,8 +12,12 @@ |
13 | 13 | $wgAvailableRights[] = 'findspam'; |
14 | 14 | $wgGroupPermissions['sysop']['findspam'] = true; |
15 | 15 | |
16 | | -if ( !function_exists( 'extAddSpecialPage' ) ) { |
17 | | - require( dirname(__FILE__) . '/../ExtensionFunctions.php' ); |
18 | | -} |
19 | | -extAddSpecialPage( dirname(__FILE__) . '/FindSpam_body.php', 'FindSpam', 'FindSpamPage' ); |
| 16 | +$wgSpecialPages['FindSpam'] = 'FindSpamPage'; |
| 17 | +$wgAutoloadClasses['FindSpamPage'] = dirname(__FILE__) . '/FindSpam_body.php'; |
| 18 | + |
| 19 | +$wgExtensionCredits['specialpage'][] = array( |
| 20 | + 'name' => 'FindSpam', |
| 21 | + 'author' => 'Tim Starling', |
| 22 | + 'description' => 'Adds a special page that allows to find recently added spam.' |
| 23 | +); |
20 | 24 | |
Index: trunk/extensions/UserRightsNotif/UserRightsNotif.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | $wgExtensionFunctions[] = 'efUserRightsNotifierSetup'; |
17 | 17 | $wgExtensionCredits['other'][] = array( |
18 | 18 | 'name' => 'User Rights Email Notification', |
19 | | - 'url' => 'http://meta.wikimedia.org/wiki/User_Rights_Email_Notification', |
| 19 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:User_Rights_Email_Notification', |
20 | 20 | 'author' => 'Rob Church', |
21 | 21 | 'desc' => 'Sends email notification to users upon rights changes', |
22 | 22 | ); |
Index: trunk/extensions/DismissableSiteNotice/DismissableSiteNotice.php |
— | — | @@ -1,4 +1,11 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +$wgExtensionCredits['other'][] = array( |
| 5 | + 'name' => 'DismissableSiteNotice', |
| 6 | + 'author' => 'Brion Vibber', |
| 7 | + 'description' => 'Allows users to close the sitenotice.' |
| 8 | +); |
| 9 | + |
3 | 10 | function wfDismissableSiteNotice( &$notice ) { |
4 | 11 | global $wgMajorSiteNoticeID, $wgUser; |
5 | 12 | |