Extension:Wiki2LaTeX/Development/w2lConfig.sample.php

<?php /* * Created on 02.03.2007 * * 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') ) die;

// Here is the place for your personal configuration. Values should be copied // from w2lDefaultConfig.php.

// Uncomment following lines to enable enhanced Parserfunctions provided by the extension Parserfunctions. /* $w2lExtParserFunctions = new ExtParserFunctions; $w2l_pFunctions['expr']   = array( &$w2lExtParserFunctions, 'expr' ); $w2l_pFunctions['if']     = array( &$w2lExtParserFunctions, 'ifHook' ); $w2l_pFunctions['switch'] = array( &$w2lExtParserFunctions, 'switchHook' ); $w2l_pFunctions['ifeq']   = array( &$w2lExtParserFunctions, 'ifeq' ); $w2l_pFunctions['ifexpr'] = array( &$w2lExtParserFunctions, 'ifexpr' ); $w2l_pFunctions['ifexist'] = array( &$w2lExtParserFunctions, 'time' ); $w2l_pFunctions['rel2abs'] = array( &$w2lExtParserFunctions, 'rel2abs' ); $w2l_pFunctions['time']   = array( &$w2lExtParserFunctions, 'time' );