|
MediaWiki master
|
Module based on local JavaScript/CSS files. More...
Inherits MediaWiki\ResourceLoader\Module.
Inherited by MediaWiki\ResourceLoader\CodexModule, MediaWiki\ResourceLoader\ForeignApiModule, MediaWiki\ResourceLoader\OOUIFileModule, and MediaWiki\ResourceLoader\SkinModule.

Public Member Functions | ||||
| __construct (array $options=[], ?string $localBasePath=null, ?string $remoteBasePath=null) | ||||
| Construct a new module from an options array. | ||||
| enableModuleContentVersion () | ||||
| Disable module content versioning. | ||||
| getAllStyleFiles () | ||||
| Get all style files and all skin style files used by this module. | ||||
| getDefinitionSummary (Context $context) | ||||
| Get the definition summary for this module. | ||||
| getDependencies (?Context $context=null) | ||||
| Get names of modules this module depends on. | ||||
| getFlip (Context $context) | ||||
| Get whether CSS for this module should be flipped. | ||||
| getGroup () | ||||
| Get the name of the group this module should be loaded in. | ||||
| getMessages () | ||||
| Get message keys used by this module. | ||||
| getPackageFiles (Context $context) | ||||
| Resolve the package files definition and generate the content of each package file. | ||||
| getScript (Context $context) | ||||
| Get all JS for this module for a given language and skin.Includes all relevant JS except loader scripts.For multi-file modules where require() is used to load one file from another file, this should return an array structured as follows: [
'files' => [
'file1.js' => [ 'type' => 'script', 'content' => 'JS code' ],
'file2.js' => [ 'type' => 'script', 'content' => 'JS code' ],
'data.json' => [ 'type' => 'data', 'content' => array ]
],
'main' => 'file1.js'
]
For plain concatenated scripts, this can either return a string, or an associative array similar to the one used for package files: [
'plainScripts' => [
[ 'content' => 'JS code' ],
[ 'content' => 'JS code' ],
],
]
| ||||
| getSkipFunction () | ||||
| getStyleFiles (Context $context) | ||||
| Get a list of file paths for all styles in this module, in order of proper inclusion. | ||||
| getStyles (Context $context) | ||||
| Get all styles for a given context. | ||||
| getStyleSheetLang ( $path) | ||||
| Infer the stylesheet language from a stylesheet file path. | ||||
| getStyleURLsForDebug (Context $context) | ||||
| getTemplates () | ||||
| Get content of named templates for this module. | ||||
| getType () | ||||
| Get the module's load type. | ||||
| readStyleFiles (array $styles, Context $context) | ||||
| Read the contents of a list of CSS files and remap and concatenate these. | ||||
| requiresES6 () | ||||
Whether the module requires ES6 support in the client.If the client does not support ES6, attempting to load a module that requires ES6 will result in an error.
| ||||
| setSkinStylesOverride (array $moduleSkinStyles) | ||||
| Provide overrides for skinStyles to modules that support that. | ||||
| shouldSkipStructureTest () | ||||
Whether to skip the structure test ResourcesTest::testRespond() for this module.
| ||||
| supportsURLLoading () | ||||
Public Member Functions inherited from MediaWiki\ResourceLoader\Module | ||||
| getConfig () | ||||
| getDeprecationWarning () | ||||
| Get the deprecation warning, if any. | ||||
| getHeaders (Context $context) | ||||
| Get headers to send as part of a module web response. | ||||
| getModuleContent (Context $context) | ||||
| Get an array of this module's resources. | ||||
| getName () | ||||
| Get this module's name. | ||||
| getOrigin () | ||||
| Get this module's origin. | ||||
| getSkins () | ||||
| Get list of skins for which this module must be available to load. | ||||
| getSource () | ||||
| Get the source of this module. | ||||
| getVersionHash (Context $context) | ||||
| Get a string identifying the current version of this module in a given context. | ||||
| isKnownEmpty (Context $context) | ||||
| Check whether this module is known to be empty. | ||||
| setConfig (Config $config) | ||||
| setFileDependencies (Context $context, array $paths) | ||||
| Set the indirect dependencies for this module pursuant to the skin/language context. | ||||
| setHookContainer (HookContainer $hookContainer) | ||||
| setLogger (LoggerInterface $logger) | ||||
| setMessageBlob ( $blob, $lang) | ||||
| Set in-object cache for message blobs. | ||||
| setName ( $name) | ||||
| Set this module's name. | ||||
| shouldEmbedModule (Context $context) | ||||
| Check whether this module should be embedded rather than linked. | ||||
Static Public Member Functions | |
| static | extractBasePaths (array $options=[], $localBasePath=null, $remoteBasePath=null) |
| Extract a pair of local and remote base paths from module definition information. | |
| static | getPackageFileType ( $path) |
| Infer the file type from a package file path. | |
Static Public Member Functions inherited from MediaWiki\ResourceLoader\Module | |
| static | expandRelativePaths (array $filePaths) |
| Expand directories relative to $IP. | |
| static | getRelativePaths (array $filePaths) |
| Make file paths relative to MediaWiki directory. | |
| static | getVary (Context $context) |
| Get vary string. | |
Protected Member Functions | ||||
| compileLessString ( $style, $stylePath, Context $context) | ||||
| Compile a LESS string into CSS. | ||||
| getAllSkinStyleFiles () | ||||
| Get a list of file paths for all skin style files in the module, for all available skins. | ||||
| getLessVars (Context $context) | ||||
| Get language-specific LESS variables for this module. | ||||
| getLocalPath ( $path) | ||||
| getMessageBlob (Context $context) | ||||
Get the hash of the message blob.
| ||||
| getPath ( $path) | ||||
| getRemotePath ( $path) | ||||
| getSkinStyleFiles ( $skinName) | ||||
| Get a list of file paths for all skin styles in the module used by the skin. | ||||
| processStyle ( $style, $styleLang, $path, Context $context) | ||||
| Process a CSS/LESS string. | ||||
| readStyleFile ( $path, Context $context) | ||||
| Read and process a style file. | ||||
| stripBom ( $input) | ||||
| Take an input string and remove the UTF-8 BOM character if present. | ||||
Protected Member Functions inherited from MediaWiki\ResourceLoader\Module | ||||
| buildContent (Context $context) | ||||
| Bundle all resources attached to this module into an array. | ||||
| getFileDependencies (Context $context) | ||||
| Get the indirect dependencies for this module pursuant to the skin/language context. | ||||
| getHookRunner () | ||||
| Get a HookRunner for running core hooks. | ||||
| getLogger () | ||||
| getPreloadLinks (Context $context) | ||||
| Get a list of resources that web browsers may preload. | ||||
| parseVueContent (Context $context, string $content) | ||||
| saveFileDependencies (Context $context, array $curFileRefs) | ||||
| Save the indirect dependencies for this module pursuant to the skin/language context. | ||||
| validateScriptFile ( $fileName, $contents) | ||||
| Validate a user-provided JavaScript blob. | ||||
Static Protected Member Functions | |
| static | tryForKey (array $list, $key, $fallback=null) |
| Get a list of element that match a key, optionally using a fallback key. | |
Static Protected Member Functions inherited from MediaWiki\ResourceLoader\Module | |
| static | safeFileHash ( $filePath) |
| Compute a non-cryptographic string hash of a file's contents. | |
Protected Attributes | |
| bool | $debugRaw = true |
| Link to raw files in debug mode. | |
| array< int, string|FilePath > | $debugScripts = [] |
| List of paths to JavaScript files to include in debug mode. | |
| string[] | $dependencies = [] |
| List of modules this module depends on. | |
| null string | $group = null |
| Name of group to load this module in. | |
| bool | $hasGeneratedStyles = false |
| Whether getStyleURLsForDebug should return raw file paths, or return load.php urls. | |
| array< string, array< int, string|FilePath > > | $languageScripts = [] |
| Lists of JavaScript files by language code. | |
| array | $lessMessages = [] |
| string | $localBasePath = '' |
| Local base path, see __construct() | |
| string[] | $localFileRefs = [] |
| Place where readStyleFile() tracks file dependencies. | |
| string[] | $messages = [] |
| List of message keys used by this module. | |
| string[] | $missingLocalFileRefs = [] |
| Place where readStyleFile() tracks file dependencies for non-existent files. | |
| bool | $noflip = false |
| Whether CSSJanus flipping should be skipped for this module. | |
| null array | $packageFiles = null |
Packaged files definition, to bundle and make available client-side via require(). | |
| string | $remoteBasePath = '' |
| Remote base path, see __construct() | |
| array< int, string|FilePath > | $scripts = [] |
| List of JavaScript file paths to always include. | |
| array< string, array< int, string|FilePath > > | $skinScripts = [] |
| Lists of JavaScript files by skin name. | |
| array< string, array< int, string|FilePath > > | $skinStyles = [] |
| Lists of CSS files by skin name. | |
| null string | $skipFunction = null |
| File name containing the body of the skip function. | |
| bool | $skipStructureTest = false |
| Whether to skip the structure test ResourcesTest::testRespond() | |
| array< int, string|FilePath > | $styles = [] |
| List of CSS file files to always include. | |
| array< int|string, string|FilePath > | $templates = [] |
| List of the named templates used by this module. | |
Protected Attributes inherited from MediaWiki\ResourceLoader\Module | |
| Config | $config |
| array | $contents = [] |
| Map of (context hash => cached module content) | |
| string bool | $deprecated = false |
| Deprecation string or true if deprecated; false otherwise. | |
| array | $fileDeps = [] |
| Map of (variant => indirect file dependencies) | |
| LoggerInterface | $logger |
| array | $msgBlobs = [] |
| Map of (language => in-object cache for message blob) | |
| string null | $name = null |
| Module name. | |
| int | $origin = self::ORIGIN_CORE_SITEWIDE |
| Script and style modules form a hierarchy of trustworthiness, with core modules like skins and jQuery as most trustworthy, and user scripts as least trustworthy. | |
| string[] null | $skins = null |
| Skin names. | |
| array | $versionHash = [] |
| Map of (context hash => cached module version hash) | |
Module based on local JavaScript/CSS files.
The following public methods can query the database:
Definition at line 39 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::__construct | ( | array | $options = [], |
| ?string | $localBasePath = null, | ||
| ?string | $remoteBasePath = null ) |
Construct a new module from an options array.
| array | $options | See $wgResourceModules for the available options. |
| string | null | $localBasePath | Base path to prepend to all local paths in $options. Defaults to MW_INSTALL_PATH |
| string | null | $remoteBasePath | Base path to prepend to all remote paths in $options. Defaults to $wgResourceBasePath |
Definition at line 156 of file FileModule.php.
References MediaWiki\ResourceLoader\FileModule\$localBasePath, MediaWiki\ResourceLoader\FileModule\$remoteBasePath, MediaWiki\ResourceLoader\FileModule\extractBasePaths(), and MediaWiki\ResourceLoader\FileModule\getPath().
|
protected |
Compile a LESS string into CSS.
Keeps track of all used files and adds them to localFileRefs.
| string | $style | LESS source to compile |
| string | $stylePath | File path of LESS source, used for resolving relative file paths |
| Context | $context | Context in which to generate script |
Definition at line 1147 of file FileModule.php.
References $path, CACHE_HASH, MediaWiki\ResourceLoader\Context\getResourceLoader(), and MediaWiki\ResourceLoader\Context\getSkin().
| MediaWiki\ResourceLoader\FileModule::enableModuleContentVersion | ( | ) |
Disable module content versioning.
This class uses getDefinitionSummary() instead, to avoid filesystem overhead involved with building the full module content inside a startup request.
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 597 of file FileModule.php.
|
static |
Extract a pair of local and remote base paths from module definition information.
Implementation note: the amount of global state used in this function is staggering.
| array | $options | Module definition |
| string | null | $localBasePath | Path to use if not provided in module definition. Defaults to MW_INSTALL_PATH |
| string | null | $remoteBasePath | Path to use if not provided in module definition. Defaults to $wgResourceBasePath |
Definition at line 262 of file FileModule.php.
References MediaWiki\ResourceLoader\FileModule\$localBasePath, MediaWiki\ResourceLoader\FileModule\$remoteBasePath, MediaWiki\MainConfigNames\ExtensionAssetsPath, MediaWiki\MediaWikiServices\getInstance(), MediaWiki\MainConfigNames\ResourceBasePath, and MediaWiki\MainConfigNames\StylePath.
Referenced by MediaWiki\ResourceLoader\FileModule\__construct(), MediaWiki\ResourceLoader\SkinModule\getFeatureFilePaths(), and MediaWiki\ResourceLoader\getThemePaths().
|
protected |
Get a list of file paths for all skin style files in the module, for all available skins.
Definition at line 975 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getAllStyleFiles | ( | ) |
Get all style files and all skin style files used by this module.
Definition at line 997 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getDefinitionSummary | ( | Context | $context | ) |
Get the definition summary for this module.
| Context | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Reimplemented in MediaWiki\ResourceLoader\CodexModule, and MediaWiki\ResourceLoader\SkinModule.
Definition at line 669 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getDependencies | ( | ?Context | $context = null | ) |
Get names of modules this module depends on.
| Context | null | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Reimplemented in MediaWiki\ResourceLoader\ForeignApiModule.
Definition at line 555 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getFlip | ( | Context | $context | ) |
Get whether CSS for this module should be flipped.
| Context | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 1110 of file FileModule.php.
References MediaWiki\ResourceLoader\Context\getDirection().
| MediaWiki\ResourceLoader\FileModule::getGroup | ( | ) |
Get the name of the group this module should be loaded in.
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 545 of file FileModule.php.
|
protected |
Get language-specific LESS variables for this module.
| Context | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Reimplemented in MediaWiki\ResourceLoader\SkinModule.
Definition at line 520 of file FileModule.php.
|
protected |
| string | FilePath | $path |
Definition at line 746 of file FileModule.php.
References $path.
|
protected |
Get the hash of the message blob.
| Context | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 465 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getMessages | ( | ) |
Get message keys used by this module.
Reimplemented from MediaWiki\ResourceLoader\Module.
Reimplemented in MediaWiki\ResourceLoader\CodexModule.
Definition at line 444 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getPackageFiles | ( | Context | $context | ) |
Resolve the package files definition and generate the content of each package file.
| Context | $context |
Reimplemented in MediaWiki\ResourceLoader\CodexModule.
Definition at line 1463 of file FileModule.php.
References MediaWiki\ResourceLoader\Context\getHash().
Referenced by MediaWiki\ResourceLoader\FileModule\getScript(), and MediaWiki\ResourceLoader\FileModule\getStyles().
|
static |
Infer the file type from a package file path.
| string | $path |
Definition at line 793 of file FileModule.php.
References $path.
|
protected |
| string | FilePath | $path |
Definition at line 734 of file FileModule.php.
References $path.
Referenced by MediaWiki\ResourceLoader\FileModule\__construct().
|
protected |
| string | FilePath | $path |
Definition at line 761 of file FileModule.php.
References $path.
Referenced by MediaWiki\ResourceLoader\FileModule\getStyleURLsForDebug().
| MediaWiki\ResourceLoader\FileModule::getScript | ( | Context | $context | ) |
Get all JS for this module for a given language and skin.Includes all relevant JS except loader scripts.For multi-file modules where require() is used to load one file from another file, this should return an array structured as follows:
For plain concatenated scripts, this can either return a string, or an associative array similar to the one used for package files:
| Context | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 313 of file FileModule.php.
References MediaWiki\ResourceLoader\FileModule\$packageFiles, and MediaWiki\ResourceLoader\FileModule\getPackageFiles().
|
protected |
Get a list of file paths for all skin styles in the module used by the skin.
| string | $skinName | The name of the skin |
Definition at line 963 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getSkipFunction | ( | ) |
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 576 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getStyleFiles | ( | Context | $context | ) |
Get a list of file paths for all styles in this module, in order of proper inclusion.
| Context | $context |
Reimplemented in MediaWiki\ResourceLoader\CodexModule.
Definition at line 947 of file FileModule.php.
References MediaWiki\ResourceLoader\Context\getSkin().
Referenced by MediaWiki\ResourceLoader\FileModule\getStyles(), and MediaWiki\ResourceLoader\FileModule\getStyleURLsForDebug().
| MediaWiki\ResourceLoader\FileModule::getStyles | ( | Context | $context | ) |
Get all styles for a given context.
| Context | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Reimplemented in MediaWiki\ResourceLoader\SkinModule.
Definition at line 386 of file FileModule.php.
References MediaWiki\ResourceLoader\FileModule\$packageFiles, MediaWiki\ResourceLoader\FileModule\$styles, MediaWiki\ResourceLoader\FileModule\getPackageFiles(), MediaWiki\ResourceLoader\FileModule\getStyleFiles(), MediaWiki\ResourceLoader\FileModule\processStyle(), MediaWiki\ResourceLoader\FileModule\readStyleFiles(), and MediaWiki\ResourceLoader\Module\saveFileDependencies().
| MediaWiki\ResourceLoader\FileModule::getStyleSheetLang | ( | $path | ) |
Infer the stylesheet language from a stylesheet file path.
| string | $path |
Definition at line 783 of file FileModule.php.
References $path.
| MediaWiki\ResourceLoader\FileModule::getStyleURLsForDebug | ( | Context | $context | ) |
| Context | $context |
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 418 of file FileModule.php.
References MediaWiki\ResourceLoader\Module\getConfig(), MediaWiki\ResourceLoader\FileModule\getRemotePath(), and MediaWiki\ResourceLoader\FileModule\getStyleFiles().
| MediaWiki\ResourceLoader\FileModule::getTemplates | ( | ) |
Get content of named templates for this module.
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 1214 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::getType | ( | ) |
Get the module's load type.
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 1120 of file FileModule.php.
|
protected |
Process a CSS/LESS string.
This method performs the following processing steps:
| string | $style | CSS or LESS code |
| string | $styleLang | Language of $style code ('css' or 'less') |
| string | FilePath | $path | Path to code file, used for resolving relative file paths |
| Context | $context |
Reimplemented in MediaWiki\ResourceLoader\CodexModule.
Definition at line 1071 of file FileModule.php.
References $path.
Referenced by MediaWiki\ResourceLoader\FileModule\getStyles().
|
protected |
Read and process a style file.
Reads a file from disk and runs it through processStyle().
This method can be used as a callback for array_map()
| string | FilePath | $path | Path of style file to read |
| Context | $context |
Definition at line 1047 of file FileModule.php.
References $path.
| MediaWiki\ResourceLoader\FileModule::readStyleFiles | ( | array | $styles, |
| Context | $context ) |
Read the contents of a list of CSS files and remap and concatenate these.
| array<string,array<int,string|FilePath>> | $styles Map of media type to file paths | |
| Context | $context |
Definition at line 1022 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\FileModule\getStyles().
| MediaWiki\ResourceLoader\FileModule::requiresES6 | ( | ) |
Whether the module requires ES6 support in the client.If the client does not support ES6, attempting to load a module that requires ES6 will result in an error.
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 585 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::setSkinStylesOverride | ( | array | $moduleSkinStyles | ) |
Provide overrides for skinStyles to modules that support that.
This MUST be called after self::setName().
| array | $moduleSkinStyles |
Reimplemented from MediaWiki\ResourceLoader\Module.
Reimplemented in MediaWiki\ResourceLoader\OOUIFileModule.
Definition at line 905 of file FileModule.php.
References $path.
| MediaWiki\ResourceLoader\FileModule::shouldSkipStructureTest | ( | ) |
Whether to skip the structure test ResourcesTest::testRespond() for this module.
Reimplemented from MediaWiki\ResourceLoader\Module.
Definition at line 355 of file FileModule.php.
|
protected |
Take an input string and remove the UTF-8 BOM character if present.
We need to remove these after reading a file, because we concatenate our files and the BOM character is not valid in the middle of a string. We already assume UTF-8 everywhere, so this should be safe.
| string | $input |
Definition at line 1560 of file FileModule.php.
| MediaWiki\ResourceLoader\FileModule::supportsURLLoading | ( | ) |
Reimplemented from MediaWiki\ResourceLoader\Module.
Reimplemented in MediaWiki\ResourceLoader\CodexModule.
Definition at line 342 of file FileModule.php.
|
staticprotected |
Get a list of element that match a key, optionally using a fallback key.
| array[] | $list | List of lists to select from |
| string | $key | Key to look for in $list |
| string | null | $fallback | Key to look for in $list if $key doesn't exist |
Definition at line 834 of file FileModule.php.
References $fallback.
|
protected |
Link to raw files in debug mode.
Definition at line 119 of file FileModule.php.
|
protected |
List of paths to JavaScript files to include in debug mode.
Definition at line 64 of file FileModule.php.
|
protected |
List of modules this module depends on.
Definition at line 100 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\ForeignApiModule\getDependencies().
|
protected |
Name of group to load this module in.
Definition at line 116 of file FileModule.php.
|
protected |
Whether getStyleURLsForDebug should return raw file paths, or return load.php urls.
Definition at line 131 of file FileModule.php.
|
protected |
Lists of JavaScript files by language code.
Definition at line 54 of file FileModule.php.
|
protected |
Definition at line 145 of file FileModule.php.
|
protected |
Local base path, see __construct()
Definition at line 41 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\CodexModule\__construct(), MediaWiki\ResourceLoader\SkinModule\__construct(), MediaWiki\ResourceLoader\FileModule\__construct(), and MediaWiki\ResourceLoader\FileModule\extractBasePaths().
|
protected |
Place where readStyleFile() tracks file dependencies.
Definition at line 136 of file FileModule.php.
|
protected |
List of message keys used by this module.
Definition at line 110 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\SkinModule\__construct(), and MediaWiki\ResourceLoader\SkinModule\applyFeaturesCompatibility().
|
protected |
Place where readStyleFile() tracks file dependencies for non-existent files.
Used in tests to detect missing dependencies.
Definition at line 142 of file FileModule.php.
|
protected |
Whether CSSJanus flipping should be skipped for this module.
Definition at line 122 of file FileModule.php.
|
protected |
Packaged files definition, to bundle and make available client-side via require().
Definition at line 83 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\FileModule\getScript(), and MediaWiki\ResourceLoader\FileModule\getStyles().
|
protected |
Remote base path, see __construct()
Definition at line 44 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\CodexModule\__construct(), MediaWiki\ResourceLoader\SkinModule\__construct(), MediaWiki\ResourceLoader\FileModule\__construct(), and MediaWiki\ResourceLoader\FileModule\extractBasePaths().
|
protected |
List of JavaScript file paths to always include.
Definition at line 49 of file FileModule.php.
|
protected |
Lists of JavaScript files by skin name.
Definition at line 59 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\OOUIFileModule\__construct().
|
protected |
Lists of CSS files by skin name.
Definition at line 74 of file FileModule.php.
|
protected |
File name containing the body of the skip function.
Definition at line 105 of file FileModule.php.
|
protected |
Whether to skip the structure test ResourcesTest::testRespond()
Definition at line 125 of file FileModule.php.
|
protected |
List of CSS file files to always include.
Definition at line 69 of file FileModule.php.
Referenced by MediaWiki\ResourceLoader\FileModule\getStyles().
|
protected |
List of the named templates used by this module.
Definition at line 113 of file FileModule.php.