Partial revert r87006, for bug 28745

This commit is contained in:
Sam Reed 2011-04-29 10:44:56 +00:00
parent 2eabab9229
commit 4149f66a7d

View file

@ -1,6 +1,7 @@
<?php
if ( !defined( 'MEDIAWIKI' ) ) die();
global $wgContLang, $wgContLanguageCode, $wgCiteDefaultText;
$dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
$code = $wgContLang->lc( $wgContLanguageCode );
$file = file_exists( "${dir}cite_text-$code" ) ? "${dir}cite_text-$code" : "${dir}cite_text";