Hello. I'd like to create a small demo for TemplateStyles for our wiki users, when I solving some problems that are very painful to us and do not matter to other wikis. When I saw today that the extension is already deployed to mediawiki, I came here to write it, starting from stupid example and extending it, but it does not work. As I can see, because ns-2 does not create sanitized css files. What can I do? Use another namespace to play with? Ask an admin to use special:changecontentmodel (I even don't know if it will work)? What is the content of $wgTemplateStylesNamespaces
on MediaWiki at all? Thank you.
Topic on Help talk:TemplateStyles
Special:ChangeContentModel is the method to create sanitized CSS pages in cases where that doesn't happen automatically.
As the subject page notes this only works on the template namespace. Unless you can change the content model of a page.
You might want to use the beta wikis to experiment rather than create unnecessary template css here.
See examples on the page.
Thank you for your answer. Beta wiki is not a good choice, because it is not a part of global accounts, and I need that anyone could login from theirs account. Am I allowed to create a template for my purposes in Template namespace? Or: You said "unless". Am I allowed to ask an admin to convert one page in user namespace to be sanitized css, to work with it? Thank you.
test.wikipedia is part of the global account system and should have it.
As far as creating test template CSS here. Sure, it should be allowed. Much like how test lua modules are created as a subpage of a sandbox module. If in doubt one can ask in the central discussion area of this wiki.
For Admins, as long as it is within your user subpage it is likely that they won't mind. The problem of course is that both css and sanitized css pages end with CSS but behave differently.
You might want to use the beta wikis to experiment rather than create unnecessary templates here CSS but behave differently.
Oops, last section was pasted incorrectly.
Didn't know about testwiki global. Moved there. Thank you.