Cleanup I730624f4: Bug 40039 - Remove ConvertParser from ParserFunctions

Remove unused vars and dead entries for classes and tests

Change-Id: I0920f0294043fa1cca0ca5622fb7eae4a8c61fcb
This commit is contained in:
umherirrender 2012-09-08 19:30:30 +02:00
parent 7a3619ea8d
commit 99b150fab4
2 changed files with 0 additions and 15 deletions

View file

@ -29,18 +29,6 @@ $wgPFStringLengthLimit = 1000;
*/
$wgPFEnableStringFunctions = false;
/**
* The language for 'en' is actually 'en-us', which insists on using non-canonical translations
* of the SI base units ("meter" rather than "metre" and "liter" rather than "litre"). We
* can avoid contaminatng dialects by internally mapping languages by default; this is
* configurable so you can remove it if you like, or add other maps if that's useful.
* Essentially, if your wiki's $wgContLang appears as a key in this array, the value is
* what is used as the default language for {{#convert}} output.
*/
$wgPFUnitLanguageVariants = array(
'en' => 'en-gb'
);
/** REGISTRATION */
$wgExtensionCredits['parserhook'][] = array(
'path' => __FILE__,
@ -53,14 +41,12 @@ $wgExtensionCredits['parserhook'][] = array(
$wgAutoloadClasses['ExtParserFunctions'] = dirname( __FILE__ ) . '/ParserFunctions_body.php';
$wgAutoloadClasses['ExprParser'] = dirname( __FILE__ ) . '/Expr.php';
$wgAutoloadClasses['ConvertParser'] = dirname( __FILE__ ) . '/Convert.php';
$wgExtensionMessagesFiles['ParserFunctions'] = dirname( __FILE__ ) . '/ParserFunctions.i18n.php';
$wgExtensionMessagesFiles['ParserFunctionsMagic'] = dirname( __FILE__ ) . '/ParserFunctions.i18n.magic.php';
$wgParserTestFiles[] = dirname( __FILE__ ) . "/funcsParserTests.txt";
$wgParserTestFiles[] = dirname( __FILE__ ) . "/stringFunctionTests.txt";
$wgParserTestFiles[] = dirname( __FILE__ ) . "/convertTests.txt";
$wgHooks['ParserFirstCallInit'][] = 'wfRegisterParserFunctions';

View file

@ -2,7 +2,6 @@
class ExtParserFunctions {
static $mExprParser;
static $mConvertParser;
static $mTimeCache = array();
static $mTimeChars = 0;
static $mMaxTimeChars = 6000; # ~10 seconds