mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-12-14 00:19:17 +00:00
Partial revert r87006, for bug 28745
This commit is contained in:
parent
2eabab9229
commit
4149f66a7d
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if ( !defined( 'MEDIAWIKI' ) ) die();
|
if ( !defined( 'MEDIAWIKI' ) ) die();
|
||||||
|
|
||||||
|
global $wgContLang, $wgContLanguageCode, $wgCiteDefaultText;
|
||||||
$dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
|
$dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
|
||||||
$code = $wgContLang->lc( $wgContLanguageCode );
|
$code = $wgContLang->lc( $wgContLanguageCode );
|
||||||
$file = file_exists( "${dir}cite_text-$code" ) ? "${dir}cite_text-$code" : "${dir}cite_text";
|
$file = file_exists( "${dir}cite_text-$code" ) ? "${dir}cite_text-$code" : "${dir}cite_text";
|
||||||
|
|
Loading…
Reference in a new issue