Extension:Wiki2LaTeX/Development/w2lConfig.sample.php

From MediaWiki.org
Jump to: navigation, search
<?php

/*
 * File:    w2lConfig(.sample).php
 * Created: 2007-03-02
 * Version: 0.7
 *
 * Purpose:
 * This file contains all the installation-specific overrides of defaultsettings.
 *
 * License:
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

if ( !defined('MEDIAWIKI') ) {
        $msg  = 'To install Wiki2LaTeX, put the following line in LocalSettings.php:<br/>';
        $msg .= '<tt>require_once( $IP."/extensions/path_to_Wiki2LaTeX_files/wiki2latex.php" );</tt>';
        echo $msg;
        exit( 1 );
}

/*
 * Default Parserfunctions (CoreParserFunctions) are supported by default via Parser::initParsing();
 */

/*
$w2lExtParserFunctions = new ExtParserFunctions;
$w2lParserFunctions['expr']    = array( &$w2lExtParserFunctions, 'expr' );
$w2lParserFunctions['if']      = array( &$w2lExtParserFunctions, 'ifHook' );
$w2lParserFunctions['switch']  = array( &$w2lExtParserFunctions, 'switchHook' );
$w2lParserFunctions['ifeq']    = array( &$w2lExtParserFunctions, 'ifeq' );
$w2lParserFunctions['ifexpr']  = array( &$w2lExtParserFunctions, 'ifexpr' );
$w2lParserFunctions['ifexist'] = array( &$w2lExtParserFunctions, 'time' );
$w2lParserFunctions['rel2abs'] = array( &$w2lExtParserFunctions, 'rel2abs' );
$w2lParserFunctions['time']    = array( &$w2lExtParserFunctions, 'time' );
*/
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox