Talk:Main Page: Difference between revisions
Jump to navigation
Jump to search
(→TemplateStyles & CodeEditor: new section) |
m (→TemplateStyles & CodeEditor: oops) |
||
Line 10: | Line 10: | ||
== TemplateStyles & CodeEditor == | == TemplateStyles & CodeEditor == | ||
I've added [https://www.mediawiki.org/wiki/Extension:TemplateStyles TemplateStyles] and [https://www.mediawiki.org/wiki/Extension:CodeEditor CodeEditor] to the wiki, so styling the wiki could be less suffering. CodeEditor should be enabled automatically when editing | I've added [https://www.mediawiki.org/wiki/Extension:TemplateStyles TemplateStyles] and [https://www.mediawiki.org/wiki/Extension:CodeEditor CodeEditor] to the wiki, so styling the wiki could be less suffering. CodeEditor should be enabled automatically when editing non-main namespace pages with .css suffix (e.g. Template:Foo/styles.css). Though, the page may need to be changed to "Sanitized CSS" via [[Special:ChangeContentModel]] before they're usable in <code><nowiki><templatestyles src="..." /></nowiki></code> tag. -- [[User:0x99|0x99]] ([[User talk:0x99|talk]]) 20:23, 15 September 2023 (UTC) |
Revision as of 20:29, 15 September 2023
Previous discussions are archived at:
- Talk:Main Page/Archive 1 (January 18, 2011–February 27, 2011)
- Talk:Main Page/Archive 2 (February 28, 2011-April 25, 2011)
- Talk:Main Page/Archive 3 (April 25, 2011-March 14, 2012)
- Talk:Main Page/Archive 4 (March 15, 2012-April 27, 2017)
- Talk:Main Page/Archive 5 (April 27, 2017–September 19, 2017)
- Talk:Main Page/Archive 6 (September 20, 2017–September 16, 2023)
TemplateStyles & CodeEditor
I've added TemplateStyles and CodeEditor to the wiki, so styling the wiki could be less suffering. CodeEditor should be enabled automatically when editing non-main namespace pages with .css suffix (e.g. Template:Foo/styles.css). Though, the page may need to be changed to "Sanitized CSS" via Special:ChangeContentModel before they're usable in <templatestyles src="..." />
tag. -- 0x99 (talk) 20:23, 15 September 2023 (UTC)