Index: trunk/extensions/DeletedContributions/DeletedContributions.php |
— | — | @@ -24,14 +24,14 @@ |
25 | 25 | = $wgAutoloadClasses['DeletedContributionsPage'] |
26 | 26 | = $dir . 'DeletedContributions_body.php'; |
27 | 27 | |
28 | | -$wgHooks['ContributionsToolLinks'][] = 'wfLoadContribsLink'; |
| 28 | +$wgHooks['ContributionsToolLinks'][] = 'wfLoadDeletedContribsLink'; |
29 | 29 | $wgSpecialPages['DeletedContributions'] = 'DeletedContributionsPage'; |
30 | 30 | $wgSpecialPageGroups['DeletedContributions'] = 'users'; |
31 | 31 | |
32 | 32 | /** |
33 | 33 | * Add a "Deleted contributions" link to Special:Contributions for sysops. |
34 | 34 | */ |
35 | | -function wfLoadContribsLink( $id, $nt, &$links ) { |
| 35 | +function wfLoadDeletedContribsLink( $id, $nt, &$links ) { |
36 | 36 | global $wgUser; |
37 | 37 | if( $wgUser->isAllowed( 'deletedhistory' ) ) { |
38 | 38 | wfLoadExtensionMessages( 'DeletedContributions' ); |
Index: trunk/extensions/CheckUser/CheckUser.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | $wgHooks['RecentChange_save'][] = 'efUpdateCheckUserData'; |
36 | 36 | $wgHooks['ParserTestTables'][] = 'efCheckUserParserTestTables'; |
37 | 37 | $wgHooks['LoadExtensionSchemaUpdates'][] = 'efCheckUserSchemaUpdates'; |
38 | | -$wgHooks['ContributionsToolLinks'][] = 'wfLoadContribsLink'; |
| 38 | +$wgHooks['ContributionsToolLinks'][] = 'efLoadCheckUserLink'; |
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Hook function for RecentChange_save |
— | — | @@ -218,7 +218,7 @@ |
219 | 219 | $wgAutoloadClasses['CheckUser'] = dirname(__FILE__) . '/CheckUser_body.php'; |
220 | 220 | |
221 | 221 | |
222 | | -function wfLoadContribsLink( $id, $nt, &$links ) { |
| 222 | +function efLoadCheckUserLink( $id, $nt, &$links ) { |
223 | 223 | global $wgUser; |
224 | 224 | if( $wgUser->isAllowed( 'checkuser' ) ) { |
225 | 225 | wfLoadExtensionMessages( 'CheckUser' ); |