mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-15 03:35:47 +00:00
a859a0c0b7
* 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 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
hooks.txt | ||
package-lock.json | ||
package.json | ||
README.md |
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.