22 $langCodes = array_merge( [
$wgContLang->getCode() ],
24 foreach ( $langCodes as
$lang ) {
25 $langStyleFile =
'ext.cite.style.' .
$lang .
'.css';
27 if ( file_exists( $localPath ) ) {
28 $this->styles[] = $langStyleFile;
ResourceLoaderFileModule for adding the content language Cite CSS.
__construct( $options=[], $localBasePath=null, $remoteBasePath=null)
Constructs a new module from an options array.
ResourceLoader module based on local JavaScript/CSS files.
string $localBasePath
Local base path, see __construct()
string $remoteBasePath
Remote base path, see __construct()
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
if(!isset( $args[0])) $lang