-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.in.php
39 lines (35 loc) · 864 Bytes
/
main.in.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* WikiTeX: expansible LaTeX module for MediaWiki
*
* PHP version 5
*
* WikiTeX is licensed under the Artistic License 2.0; to
* view a copy of this license, see COPYING or visit:
*
* http://dev.perl.org/perl6/rfc/346.html
*
* @package Wikitex
* @author Peter Danenberg <pcd at wikitex dot org>
* @copyright Copyright © 2004-6 Peter Danenberg
* @version %VERSION%
* @link http://wikitex.org
* @since WikiTeX 1.1-beta2
*/
/**
* Include main functional class (which in turn includes
* constants).
*/
include_once('Wikitex.php');
$wgExtensionFunctions[] = 'wikitexRegisterHooks';
/**
* Register callbacks.
*
* Register callback function within the MediaWiki parser.
* @return void
*/
function wikitexRegisterHooks() {
global $wgParser;
Wikitex::registerHooks($wgParser);
}
?>