Bug 474964 - Install TemplateStyles extension
Summary: Install TemplateStyles extension
Status: RESOLVED FIXED
Alias: None
Product: KDE MediaWiki
Classification: Websites
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: carl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 01:57 UTC by Andrew Shark
Modified: 2023-10-21 21:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shark 2023-09-28 01:57:36 UTC
I want to add a template with headed code and with syntax highlighting.
Here is a page: https://community.kde.org/Template:Hc-hl

There should be applied a custom style for the element generated by syntaxhighlight tag. More precisely, a pre tag under the div. See [here](https://phabricator.wikimedia.org/T347527) for details.

It requires the wiki instance to have [TemplateStyles](https://www.mediawiki.org/wiki/Help:TemplateStyles) extension. After it is installed, it will be possible to change the [page's content model](https://community.kde.org/index.php?title=Template:Hc-hl/styles.css&action=info) to "Sanitized CSS".

STEPS TO REPRODUCE
1. Visit https://community.kde.org/Special:Version
2. Search for TemplateStyles extension

OBSERVED RESULT
There is no such extension

EXPECTED RESULT
There should be that extension.

ADDITIONAL INFORMATION
See the example page content model: https://www.mediawiki.org/w/index.php?title=Template:Stylish/styles.css&action=info
See the MediaWiki has TemplateStyles extension: https://www.mediawiki.org/wiki/Special:Version
Comment 1 Ben Cooksley 2023-10-21 21:18:50 UTC
This has now been deployed on all KDE Wikis.