Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions.

This commit is contained in:
Siebrand Mazeland 2008-11-26 23:17:15 +00:00
parent 6ad709a092
commit b5f50008cb

View file

@ -33,9 +33,11 @@ $wgExtensionCredits['parserhook'][] = array(
'descriptionmsg' => 'cite_desc',
'url' => 'http://www.mediawiki.org/wiki/Extension:Cite/Cite.php'
);
$wgParserTestFiles[] = dirname( __FILE__ ) . "/citeParserTests.txt";
$wgExtensionMessagesFiles['Cite'] = dirname( __FILE__ ) . "/Cite.i18n.php";
$wgAutoloadClasses['Cite'] = dirname( __FILE__ ) . "/Cite_body.php";
$dir = dirname(__FILE__) . '/';
$wgParserTestFiles[] = $dir . "citeParserTests.txt";
$wgExtensionMessagesFiles['Cite'] = $dir . "Cite.i18n.php";
$wgAutoloadClasses['Cite'] = $dir . "Cite_body.php";
$wgSpecialPageGroups['Cite'] = 'pagetools';
define( 'CITE_DEFAULT_GROUP', '');