Go to file
libraryupgrader a859a0c0b7 build: Updating npm dependencies
* grunt: 1.1.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Additional changes:
* Consolidated .phpcs.xml encoding to "UTF-8" (T200956).
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the "composer phan" command to conveniently run phan.

Change-Id: Ibb4decbbdb3426be449a492488177669e4d02690
2021-05-14 05:01:29 +00:00
.phan Add phan 2019-05-01 16:06:46 +02:00
i18n Localisation updates from https://translatewiki.net. 2020-06-19 08:41:58 +02:00
includes Update use of css-sanitizer classes for PHP 8.0 compat 2021-01-08 21:28:30 +00:00
tests/phpunit Update use of css-sanitizer classes for PHP 8.0 compat 2021-01-08 21:28:30 +00:00
.eslintrc.json Use json extension for .eslintrc 2019-06-07 21:19:59 +02:00
.gitignore build: Updating eslint-utils to 1.4.2 2019-08-23 06:34:52 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:03:54 -07:00
.phpcs.xml build: Updating npm dependencies 2021-05-14 05:01:29 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 14:41:18 +00:00
composer.json build: Updating npm dependencies 2021-05-14 05:01:29 +00:00
COPYING Use wikimedia/css-sanitizer, and rewrite the hooking 2017-06-07 15:14:09 +00:00
extension.json Use RevisionRecordCallback in ParserOptions, require MW 1.35+ 2020-06-03 03:12:20 +00:00
Gruntfile.js build: Updating npm dependencies 2020-01-08 16:25:38 +00:00
hooks.txt Use wikimedia/css-sanitizer, and rewrite the hooking 2017-06-07 15:14:09 +00:00
package-lock.json build: Updating npm dependencies 2021-05-14 05:01:29 +00:00
package.json build: Updating npm dependencies 2021-05-14 05:01:29 +00:00
README.md Add a README 2020-04-30 11:44:33 -04:00

TemplateStyles

The TemplateStyles extension introduces a <templatestyles> tag to specify that a stylesheet should be loaded from a wiki page. Placing this in a template allows the template to have custom styles without having to place them in MediaWiki:Common.css.

For installation and setup instructions, see https://www.mediawiki.org/wiki/Extension:TemplateStyles.

For instructions on how to use the extension as an editor on a wiki, see https://www.mediawiki.org/wiki/Help:TemplateStyles.