On Sunday 01 February 2004 22:12, David Friedland wrote:
Gabriel Wicke wrote:
I don't think this would be desirable- all
structural needs like
empahsizing, indenting, lists,.. are provided as wiki markup, the styling
should be done with a better system-wide stylesheet. Which styling
options do you miss?
I'd like to be able to specify a specific large font size via something
like
<span style="font-size:36px"> ʃ </span>
on the page about that character (in the example, the esh character,
which is part of IPA), or to set one of the other font properties on a
page about say, font properties in CSS, like
<span style="color:red"> this is red text </span>
<span style="color:blue"> and this is blue text </span>
which is the "correct" way to do it, as <font> tags have been deprecated
in HTML since 1997 (7 years!), as are things like <big> and <center>,
and yet these deprecated tags seem to be how such formatting is done on
Wikipedia right now.
Why is that important? These tags are easier to use. If major browsers drop
support for them, we could easily convert them to respective span tags.
http://www.w3.org/TR/WD-html40-970708/appendix/changes.html
(note this is the oldest spec in which <font> and <center> are
deprecated, not the most recent version)
In fact, I would argue that Wikipedia policy should be towards
compliance with standards, and <font> and <center> tags should NOT be
allowed, as they are deprecated from the HTML spec (and not permitted at
all in XHTML).
I think that Wikipedia policy should be towards ease of use. Font and center
tags are de facto standard.
Furthermore, we can already do stuff like this using
<div> tags, but
each time the style changes it makes a new paragraph. While I
wholeheartedly agree that we need more robust system-wide stylesheets,
but when we do, the correct way to apply such styles would be via a
<span> tag, as in
<span class="styleXYZ"> Text in that style </span>
or whatever. Perhaps there should be a wiki markup for <span> tags, but
there isn't one yet. We already allow non-wiki formatting via <div> and
<center> and <font>, and since <span> tags are the correct way to do
things that we now do via <font> tags, I don't see the harm in allowing
<span> tags.
This is an interesting feature, and I don't see why should span tags not be
added to the whitelist, though I think that there should be declared a policy
of consistence and that span tags must not be used instead font and center.
Perhaps a third type of Wiki markup (after [[]] and {{}}) could be introduced
for such purposes:
<<color=red>>
<<size=24>> (or, even better, <<size=huge>>)
<<left>>, <<right>>, <<center>>
<<style=definition>>
Perhaps all tags could close with simple <</>>, I haven't seen it
elsewhere
but don't see why it would be a problem.