BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Bootstrap Namespace Reference

Classes

class  BootstrapManager
 
class  ResourceLoaderBootstrapModule
 

Detailed Description

ResourceLoader module based on local JavaScript/LESS files.

Different to the behaviour of ResourceLoaderFileModule this module compiles all LESS files in one compile context.

It recognizes the following additional fields in $wgResourceModules:

  • styles: array of LESS file names (with or without extension .less)
  • variables: array of key value pairs representing LESS variables, that will be added to the LESS script after all files imports, i.e. that may override any variable set in style files
  • paths: array of paths to search for style files; all these paths together represent one virtual file base and will be searched for a style file; this means it is not possible to include two LESS files with the same name even if in different paths