Skip to content
Snippets Groups Projects
  1. Feb 10, 2017
  2. Feb 09, 2017
    • Gerry Weißbach's avatar
      Use the flavour system to create individual css files. Only the default... · ef36714b
      Gerry Weißbach authored
      Use the flavour system to create individual css files. Only the default flavour (style / style.ini) will have the default styles for interwiki and filetypes. There are two new events:
      
       1. CSS_STYLES_INCLUDED to modify the list of stylesheet files for a certain mediatype or prevent the mediatype or styles within it. This event is fired for the interwiki and filetypes too, to prevent that they are included
          * The Data that is being sent to the event contains: list of files or the keyword DW_DEFAULT for the interwiki / filetypes; the mediatype, the flavour, if the data should be encapsulated by a default @media and the encapsualation prefix (e.g. @media screen)
       2. CSS_CACHE_USE to prevent the use of a cached version of the CSS, just like the JS event that already exists.
      ef36714b
    • Gerry Weißbach's avatar
      Add flavours to template ini files. The template will now be checked for... · 82edff4d
      Gerry Weißbach authored
      Add flavours to template ini files. The template will now be checked for multiple ini files and inserts them as a custom flavours. The css.php can detect these flavours and reads the stylesheet + replacements from there. If the flavour is not the default one (style.ini), replacements are loaded from the default flavour first to ensure that the colours are available. Flavours can define their own set of replacements.
      82edff4d
    • Gerry Weißbach's avatar
      Remove type and caching mechanism. The cache will be checked later and the... · 8b3ff808
      Gerry Weißbach authored
      Remove type and caching mechanism. The cache will be checked later and the type will be replaced by an md5 hash of the list of style files.
      8b3ff808
  3. Feb 08, 2017
  4. Feb 07, 2017
  5. Feb 06, 2017
  6. Feb 05, 2017
  7. Feb 04, 2017
  8. Feb 03, 2017
  9. Jan 31, 2017
  10. Jan 30, 2017
  11. Jan 29, 2017
Loading