From fc9c739912b4c5c7d18724f3ee3f76b278148988 Mon Sep 17 00:00:00 2001 From: Hannes Date: Mon, 19 Jul 2021 14:09:25 +0200 Subject: [PATCH] dist: Release v1.0.0 --- README.md | 19 +++++++++++++++++++ composer.json | 2 +- extension.json | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 83e7c72..ac0fefc 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,22 @@ Extends Extension:TemplateStyles by the following new matchers: * `ruby-align` * `scroll-margin-*`, `scroll-padding-*` * `pointer-events` + +## Installation +Download the zip file from the [latest release](https://github.com/octfx/mediawiki-extensions-TemplateStylesExtender/releases/latest) page. + +Extract the folder to `extensions/TemplateStylesExtender`. +Add the following to `LocalSettings.php`: +``` +wfLoadExtension( 'TemplateStyles' ) +wfLoadExtension('TemplateStylesExtender') +``` + +## Configuration +`$wgTemplateStylesExtenderEnablePrefersColorScheme` +Default: `true` +Enables or disables `@media (prefers-color-scheme)` queries. + +`$wgTemplateStylesExtenderEnableCssVars` +Default: `true` +Enables or disables css variable support. diff --git a/composer.json b/composer.json index 57fb1eb..f55026b 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mediawiki/template-styles-extender", - "version": "0.0.1", + "version": "1.0.0", "type": "mediawiki-extension", "description": "Extends TemplateStyles with new CSS properties", "homepage": "http://www.mediawiki.org/wiki/Extension:TemplateStylesExtender", diff --git a/extension.json b/extension.json index b985bc7..ffedb89 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "TemplateStylesExtender", - "version": "0.0.1", + "version": "1.0.0", "author": [ "Octfx" ],