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

--- Comment #5 from Daniel Friesen <[email protected]> 
2012-09-27 00:42:55 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> 
> > It's a bit of a hack but I did think of one way to handle this.
> > In HTML you use: <section>...</section>
> > In LST you use: <section begin=... />
> > 
> > This is actually perfect. An opening/closing tag has no meaning in LST. And 
> > we
> > don't support self-closing non self-closing elements in WikiText (if you 
> > write
> > <div ... /> it just gets escaped and output as plaintext).
> 
> Ugh. Since when we don't support self-closing elements?

I didn't know either. Until I saw someone add a parser test for that behaviour.
Though it looks like en.wp doesn't work that way right now. Either that's tidy
screwing around 

Either way <section /> in html is meaningless. There wouldn't be any harm in
letting LST have it.

> > So it might be a tiny little parser hack but it would be possible (even if 
> > we
> > recommend LST users to change their wikitext to use a new name) to make 
> > HTML5
> > section and LST section to work on the same wiki.
> 
> It's quite easy to run bot on all wikis to rename the tag and then drop its
> original meaning in favour of HTML5.

That assumes that every single wiki using LST knows how to use bots and how to
do this replacement properly. Bots are not simple to use. Frankly I know how to
use them and it would be really annoying for me to have to do that if I still
use LST.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to