Thanks XaosFlux and Gergo,
Gergo: Diego is working on the templates in his userspace, but our plan is
to move them to the template namespace when we're done testing, etc.
Thanks again for the quick turnaround on this!
- J
On Tue, Mar 10, 2020 at 11:14 AM Gergo Tisza <gtisza(a)wikimedia.org> wrote:
Hi Diego!
On Tue, Mar 10, 2020 at 9:28 AM Diego Quintana <hello(a)diegoquintana.com>
wrote:
So my question is, could you change my CSS page’s
content model to
sanitized-css, or is there a way to create a new .css page and have it be
sanitized-css from its creation.
The content model is usually determined by the namespace when the page is
created, and stays the same after that (administrators can change it, as
you say). So you can create the page in the Template namespace with a .css
extension, which will make it a sanitized-css page, and then move it
elsewhere.
In my opinion it's better to keep such pages in the template namespace
though. User CSS subpages in particular are not ideal because they are
protected from editing by anyone other than the owner, making it difficult
to collaborate on them.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Jonathan T. Morgan
Senior Design Researcher
Wikimedia Foundation
User:Jmorgan (WMF) <https://meta.wikimedia.org/wiki/User:Jmorgan_(WMF)>
(Uses He/Him)
*Please note that I do not expect a response from you on evenings or
weekends*