MediaWiki master
OOUIModule.php File Reference

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...

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

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file OOUIModule.php.