mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-12-04 20:18:12 +00:00
Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions.
This commit is contained in:
parent
6ad709a092
commit
b5f50008cb
8
Cite.php
8
Cite.php
|
@ -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', '');
|
||||
|
|
Loading…
Reference in a new issue