Some days ago, I added a couple of empty links on my user page. They showed, so I enclosed them in <nowiki> so that they would be passed through as HTML and be invisible. I just checked and they are visible. Was something changed?
phma
Pierre Abbat wrote:
Some days ago, I added a couple of empty links on my user page. They showed, so I enclosed them in <nowiki> so that they would be passed through as HTML and be invisible. I just checked and they are visible. Was something changed?
<Nowiki> no longer passes through arbitrary HTML. Think Javascript... Java... ActiveX... (shudder!)
Since HTML is for our purposes a subset of wikicode, it ought not to be allowed as ''code'' inside a <nowiki>...</nowiki> block. Hence, the < and > characters inside such a block are passed through as the character entities < and > so that the ''text'' is not interpreted by your browser as HTML ''code''.
Unless, of course, you have a better idea.
-- brion vibber (brion @ pobox.com)
On 8/7/02 10:25 PM, "Brion VIBBER" brion@pobox.com wrote:
Pierre Abbat wrote:
Some days ago, I added a couple of empty links on my user page. They showed, so I enclosed them in <nowiki> so that they would be passed through as HTML and be invisible. I just checked and they are visible. Was something changed?
<Nowiki> no longer passes through arbitrary HTML. Think Javascript... Java... ActiveX... (shudder!)
Since HTML is for our purposes a subset of wikicode, it ought not to be allowed as ''code'' inside a <nowiki>...</nowiki> block. Hence, the < and > characters inside such a block are passed through as the character entities < and > so that the ''text'' is not interpreted by your browser as HTML ''code''.
Unless, of course, you have a better idea.
That broke my work on Sainfoin:
http://www.wikipedia.com/w/wiki.phtml?title=Sainfoin&oldid=143534
The Cunctator wrote:
That broke my work on Sainfoin:
http://www.wikipedia.com/w/wiki.phtml?title=Sainfoin&oldid=143534
It was broken HTML in any case; the <style> element is illegal except in the <head>...</head> section. On top of that, it was missing the required "type" attribute.
As has been hinted at previously, we should have a standard method of including style sheet information, preferably that can be applied to many articles simultaneously. For instance, a magic [[style:]] namespace (or if that's trouble, something else).
-- brion vibber (brion @ pobox.com)
wikipedia-l@lists.wikimedia.org