MediaWiki master
OOUIModule.php File Reference

Go to the source code of this file.

Namespaces

namespace  MediaWiki\ResourceLoader
 

Functions

static MediaWiki\ResourceLoader::getSkinThemeMap ()
 Return a map of skin names (in lowercase) to OOUI theme names, defining which theme a given skin should use.
 
 MediaWiki\ResourceLoader::getThemeImagesPath ( $theme, $module)
 
 MediaWiki\ResourceLoader::getThemePath ( $theme, $kind, $module)
 Return a path to load given module of given theme from.
 
static MediaWiki\ResourceLoader::getThemePaths ()
 Return a map of theme names to lists of paths from which a given theme should be loaded.
 
 MediaWiki\ResourceLoader::getThemeScriptsPath ( $theme, $module)
 
 MediaWiki\ResourceLoader::getThemeStylesPath ( $theme, $module)
 

Variables

static string[] MediaWiki\ResourceLoader::$builtinSkinThemeMap
 Note that keys must be lowercase, values TitleCase.
 
static string[][] MediaWiki\ResourceLoader::$builtinThemePaths
 Note that keys must be TitleCase.
 
static string[] MediaWiki\ResourceLoader::$knownImagesModules
 
static string[] MediaWiki\ResourceLoader::$knownStylesModules = [ 'core', 'widgets', 'toolbars', 'windows' ]
 
trait MediaWiki\ResourceLoader::OOUIModule
 Convenience methods for dealing with OOUI themes and their relations to MW skins.
 

Detailed Description

Note
GPL-2.0-or-later

Definition in file OOUIModule.php.