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()
this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser and also has some character encoding functions and other locale stuff The current user interface language is instantiated as and the local content language as $wgContLang
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