mirror of
https://github.com/octfx/mediawiki-extensions-TemplateStylesExtender.git
synced 2025-01-06 03:56:38 +00:00
dist: Release v1.0.0
This commit is contained in:
parent
37e873bdd0
commit
fc9c739912
19
README.md
19
README.md
|
@ -8,3 +8,22 @@ Extends Extension:TemplateStyles by the following new matchers:
|
||||||
* `ruby-align`
|
* `ruby-align`
|
||||||
* `scroll-margin-*`, `scroll-padding-*`
|
* `scroll-margin-*`, `scroll-padding-*`
|
||||||
* `pointer-events`
|
* `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.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mediawiki/template-styles-extender",
|
"name": "mediawiki/template-styles-extender",
|
||||||
"version": "0.0.1",
|
"version": "1.0.0",
|
||||||
"type": "mediawiki-extension",
|
"type": "mediawiki-extension",
|
||||||
"description": "Extends TemplateStyles with new CSS properties",
|
"description": "Extends TemplateStyles with new CSS properties",
|
||||||
"homepage": "http://www.mediawiki.org/wiki/Extension:TemplateStylesExtender",
|
"homepage": "http://www.mediawiki.org/wiki/Extension:TemplateStylesExtender",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "TemplateStylesExtender",
|
"name": "TemplateStylesExtender",
|
||||||
"version": "0.0.1",
|
"version": "1.0.0",
|
||||||
"author": [
|
"author": [
|
||||||
"Octfx"
|
"Octfx"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue