Index: trunk/extensions/GlobalUsage/GlobalUsageHooks.php |
— | — | @@ -75,4 +75,6 @@ |
76 | 76 | |
77 | 77 | return self::$gu; |
78 | 78 | } |
| 79 | + |
| 80 | + |
79 | 81 | } |
\ No newline at end of file |
Index: trunk/extensions/GlobalUsage/GlobalUsage.i18n.php |
— | — | @@ -17,6 +17,9 @@ |
18 | 18 | 'globalusage-ok' => 'Search', |
19 | 19 | 'globalusage-text' => 'Search global file usage', |
20 | 20 | 'globalusage-on-wiki' => 'Usage of [[:File:$1|$1]] on $2', |
| 21 | + 'globalusage-of-file' => 'The following other wikis use this image:', |
| 22 | + 'globalusage-more' => 'View [[Special:GlobalUsage/$1|more global usage]] of this file.', |
| 23 | + 'globalusage-filterlocal' => 'Do not show local usage', |
21 | 24 | ); |
22 | 25 | |
23 | 26 | /** Message documentation (Message documentation) |
Index: trunk/extensions/GlobalUsage/GlobalUsage.php |
— | — | @@ -65,6 +65,7 @@ |
66 | 66 | $wgHooks['FileUndeleteComplete'][] = 'GlobalUsageHooks::onFileUndeleteComplete'; |
67 | 67 | $wgHooks['UploadComplete'][] = 'GlobalUsageHooks::onUploadComplete'; |
68 | 68 | $wgHooks['TitleMoveComplete'][] = 'GlobalUsageHooks::onTitleMoveComplete'; |
| 69 | +$wgHooks['ImagePageAfterImageLinks'][] = 'SpecialGlobalUsage::onImagePageAfterImageLinks'; |
69 | 70 | |
70 | 71 | |
71 | 72 | // If set to false, the local database contains the globalimagelinks table |