mirror of
https://github.com/octfx/mediawiki-extensions-TemplateStylesExtender.git
synced 2024-12-11 00:01:23 +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`
|
||||
* `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.
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "TemplateStylesExtender",
|
||||
"version": "0.0.1",
|
||||
"version": "1.0.0",
|
||||
"author": [
|
||||
"Octfx"
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue