@@ -20,13 +20,13 @@ It should also be possible to add the module definition to the `extension.json`
20
20
of a MediaWiki extension. See
21
21
[ Developing_with_ResourceLoader] ( https://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoader )
22
22
23
- There are some additional keys, that may be used:
23
+ Some additional keys may be used:
24
24
* ` class ` :
25
25
This is mandatory. It selects the class to be used for the module. For
26
- SCSS the value has to be ` 'SCSS\\ResourceLoaderSCSSModule' `
26
+ SCSS, the value has to be ` 'SCSS\\ResourceLoaderSCSSModule' `
27
27
* ` styles ` :
28
- Not really an additional key, but it has extended semantics. This key
29
- contains the list of style files of the module. Each file can optionally be
28
+ It is not an additional key, but it has extended semantics. This key
29
+ contains the list of the module's style files . Each file can optionally be
30
30
given a position to influence the order in which the files are compiled.
31
31
Allowed values for the position are
32
32
1. `beforeFunctions`
@@ -41,21 +41,21 @@ There are some additional keys, that may be used:
41
41
42
42
If no position is given, `main` will be assumed.
43
43
44
- All files of one module will be compiled together, i.e. variables, mixins
45
- etc. will be shared between them.
44
+ All files of one module will be compiled together, i.e., variables, mixins
45
+ etc., will be shared between them.
46
46
47
47
* ` variables ` :
48
48
An array of variables and values to override the SCSS variables in the
49
- style files. This allows changing values (e.g. colors, fonts, margins)
49
+ style files. This allows changing values (e.g., colors, fonts, margins)
50
50
without having to modify the actual style files.
51
51
* ` cacheTriggers ` :
52
52
Compiling SCSS is expensive, so compiled results are cached. This option
53
- lists files that when changed will trigger a flushing of the cache and
54
- re-compiling the style files.
53
+ lists files that, when changed, will trigger flushing of the cache and
54
+ re-compiling of the style files.
55
55
56
56
All files on this list will be checked for each web request. To minimizes the
57
- load on the file system and the time to build the page it is not advisable
58
- to just add all style files to this list.
57
+ load on the file system and the time to build the page, it is not advisable
58
+ to add all style files to this list.
59
59
60
60
Here is an example definition:
61
61
``` php
@@ -89,15 +89,15 @@ compiler, which has some limitations. See the
89
89
90
90
### Cache type
91
91
92
- ` $egScssCacheType ` can be set to request a specific cache type to be used for
93
- the compiled styles. To disable caching of SCSS styles completely (e.g. during
94
- development), set ` $egScssCacheType = CACHE_NONE; ` . This should obviously never
95
- be done on a production site.
92
+ ` $egScssCacheType ` can be set to request a specific cache type for the compiled
93
+ styles. To disable caching of SCSS styles altogether (e.g., during development),
94
+ set ` $egScssCacheType = CACHE_NONE; ` . This should never be done on a production
95
+ site.
96
96
97
97
## Professional Support
98
98
99
- The SCSS extension is maintained by [ Professional. Wiki] ( https://professional.wiki ) .
100
- You can [ contract us] [ contact-form ] to help you with installation or customization of SCSS.
99
+ The SCSS extension is maintained by [ Professional Wiki] ( https://professional.wiki ) .
100
+ You can [ contract us] [ contact-form ] to help you install or customize SCSS.
101
101
We also do development work.
102
102
103
103
## Running the tests
@@ -180,7 +180,7 @@ Released on 2020-09-07
180
180
181
181
Released on 2020-09-07
182
182
183
- * Temporarily fixed the version of ` scssphp ` to 1.1.1 to avoid 1.2 bug
183
+ * Temporarily fixed the version of ` scssphp ` to 1.1.1 to avoid the 1.2 bug
184
184
185
185
### Version 2.0
186
186
@@ -191,4 +191,6 @@ Released on 2020-04-19
191
191
192
192
### Version 1.0
193
193
194
- Initial release
194
+ Released on 2019-04-28
195
+
196
+ * Initial release
0 commit comments