Initial check in for the SVGZoom tool.
[lhc/web/wiklou.git] / extensions / SVGZoom / SVGZoom.php
1 <?php
2 /**
3 * SVGZoom extension
4 *
5 * @file
6 * @ingroup Extensions
7 *
8 * This file contains the main include file for the SVGZoom extension of MediaWiki.
9 *
10 * Usage: Add the following line to your LocalSettings.php file:
11 * require_once( "$IP/extensions/SVGZoom/SVGZoom" );
12 *
13 * @author Trevor Parscal <tparscal@wikimedia.org>, Brad Neuberg <bradneuberg@google.com>
14 * @license ?
15 * @version 0.1.0
16 */
17
18 /* Configuration */
19
20 // This needs to be updated before deployments
21 $wgSVGZoomScriptVersion = 1;
22
23 /* Setup */
24
25 // Sets Credits
26 $wgExtensionCredits['other'][] = array(
27 'path' => __FILE__,
28 'name' => 'SVGZoom',
29 'author' => array( 'Trevor Parscal', 'Brad Neuberg' ),
30 'version' => '0.1.0',
31 'url' => 'http://www.mediawiki.org/wiki/Extension:SVGZoom',
32 'descriptionmsg' => 'svgzoom-desc',
33 );
34
35 // Adds Autoload Classes
36 $wgAutoloadClasses['SVGZoomHooks'] =
37 dirname( __FILE__ ) . "/SVGZoom.hooks.php";
38
39 // Adds Internationalized Messages
40 $wgExtensionMessagesFiles['SVGZoom'] =
41 dirname( __FILE__ ) . "/SVGZoom.i18n.php";
42
43 // Registers Hooks
44 $wgHooks['BeforePageDisplay'][] = 'SVGZoomHooks::addResources';