8 Commits (isekai)

Author SHA1 Message Date
Perry Fraser 0cafe062cb Use correct namespace for ResourceLoader\Context
Bug: T308718
Change-Id: Ifdd538086388fc044cba86d2ebb1d7ebb9850506
3 years ago
Reedy 7db015d4fc Namespace skin
Change-Id: I5e11ad1d99850b72f57d8bff3bef9cdb5c403229
3 years ago
Reedy 1160c07841 Drop support for MW < 1.36
Compatibility policy is rel

Change-Id: Icc8ab4f74ec8b81f049b53e705deca8d5bb937bd
3 years ago
DannyS712 eb971c2d91 TimelessVariablesModule: clean up constructor indentation
Change-Id: I40c7393d1778a05f05bb8a384883550e47f3eacb
3 years ago
Alexander Vorwerk 4e4e6ba8bb Use constant MW_VERSION instead of deprecated global $wgVersion
Change-Id: I612dcdd63f4908cc2b3a6123191a16f4bd7c4452
3 years ago
jdlrobson f804f27167 Restore Timeless 1.35 support
Change-Id: I882f4d76df4c437ad6cc5883c243ec08a40f34fb
4 years ago
Timo Tijhof 8ddbd36d25 Merge 'skins.timeless.misc' back into 'skins.timeless'
Follows-up f450f7e13 and 1bb12ffaae which introduce and
explaine that module's need based on what I believe was a
misunderstanding.

Specifying an options object (e.g. with a "media" key) is optional
for a stylesheet, and a module can have any number of CSS or LESS
files that are packaged together. The syntax for this was designed
for PHP and unfortunately does not translate elegantly to JSON,
but it does work. In PHP, examples of this can be found that look
as follows:

 'styles' => [
   'foo.css',
   'bar.css' => [ 'media' => 'print' ],
   'quux.css',
 ],

Other examples of this in JSON can be found in Nostalgia.git
and ArticlePlaceholder.git.

Change-Id: Ie2a39a79c0892a1c5699a05071216eb5fe660bc1
5 years ago
Isarra b1901210d9 Migrate backdrop image style generation to set a variable we use in
the LESS instead of adding the styles prebaked

Bug: T223112
Change-Id: I773dbd9bd6d318144685d691e72627a00906472b
5 years ago