The soon-to-come third version of the usability extension, Citron, will be able
to collapse templates in the edit window:
http://usability.wikimedia.org/w/index.php?title=File:Updated_Citron_templates.pdf&page=1

The problem with this approach is that sometimes collapsing is harmful to the
readability of the wikitext. For example, huwiki has a template which looks like
this: "Water is generally thought to be wet, {{citation needed|text=though some
argue it is actually dry}}." That is, it can be used to select a specific part
of the text and mark it as problematic. There are many similar templates which
annotate a section of the text without breaking its flow; of you collapse the
template, the text becomes much harder to read.

The reason I'm asking about this is that we're just about to reorganize some
template parameter naming conventions, and would like to consider future
compatibility with Citron, and the only solution to the above problem I can
think of is to have a whitelist of template parameter names whose values will be
visible even in a collapsed state. (Being able to define such parameters with
per-template settings would be more flexible, but I suppose it is very expensive
to do so.) So, is there a chance Citron will have such a feature in the future
and there is value in giving all such parameters a common, distinctive,
non-numeric name?


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to