https://bugzilla.wikimedia.org/show_bug.cgi?id=16336





--- Comment #1 from Markus Krötzsch <[EMAIL PROTECTED]>  2008-11-17 15:28:44 
UTC ---
Aha, so you refer to CSS tags on wiki pages (as opposed to having them on
Special:Browse or the like). It seems that this feature could already be
realized using templates rather easily, e.g. one could have a template
containing

<p class="{{{1}}}">[[{{{1}}}::{{{2}}}]]</p>

which is used like {{p-smw|SomeProperty|This text is tagged with the
"SomeProperty" property.}}

This would give you full control over the markup without any extension to SMW.
Making this a built-in feature of SMW would be much more complicated. You would
need a dedicated way for determining when to use p, h1 or whatever, and you
would need to have a way of escaping symbols that are allowed in property names
but not in CSS classes. I am much in favor of the manual solution unless there
are strong arguments against it.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to