Index: trunk/extensions/VipsScaler/VipsScaler.php |
— | — | @@ -30,7 +30,14 @@ |
31 | 31 | |
32 | 32 | $dir = dirname( __FILE__ ); |
33 | 33 | |
34 | | -$wgAutoloadClasses['VipsScaler'] = "$dir/VipsScaler_body.php"; |
| 34 | +$wgAutoloadClasses['VipsScaler'] = "$dir/VipsScaler_body.php"; |
| 35 | +$wgAutoloadClasses['VipsCommand'] = "$dir/VipsScaler_body.php"; |
| 36 | +$wgAutoloadClasses['VipsConvolution'] = "$dir/VipsScaler_body.php"; |
| 37 | +$wgAutoloadClasses['SpecialVipsTest'] = "$dir/SpecialVipsTest.php"; |
| 38 | + |
| 39 | + |
| 40 | +$wgSpecialPages['VipsTest'] = 'SpecialVipsTest'; |
| 41 | +$wgExtensionAliasesFiles['VipsTest'] = "$dir/VipsScaler.alias.php"; |
35 | 42 | $wgExtensionMessagesFiles['VipsScaler'] = "$dir/VipsScaler.i18n.php"; |
36 | 43 | |
37 | 44 | $wgHooks['BitmapHandlerTransform'][] = 'VipsScaler::onTransform'; |
Index: trunk/extensions/VipsScaler/VipsScaler.alias.php |
— | — | @@ -0,0 +1,20 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for extension VipsScaler |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$specialPageAliases = array(); |
| 11 | + |
| 12 | +/** English (English) */ |
| 13 | +$specialPageAliases['en'] = array( |
| 14 | + 'VipsTest' => array( 'VipsTest' ) |
| 15 | +); |
| 16 | + |
| 17 | + |
| 18 | +/** |
| 19 | + * For backwards compatibility with MediaWiki 1.15 and earlier. |
| 20 | + */ |
| 21 | +$aliases =& $specialPageAliases; |
Property changes on: trunk/extensions/VipsScaler/VipsScaler.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 22 | + native |