https://bugzilla.wikimedia.org/show_bug.cgi?id=4521
S. McCandlish <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Colon (:) should not output |Colon (:) & semicolon (;) |as HTML definition list |shouldn't output as HTML |when used for indentation |definition list when used | |for indentation, boldfacing --- Comment #29 from S. McCandlish <[email protected]> 2010-07-25 21:10:28 UTC --- Updating bug title to reflect related problem. Colon is output as a definition list definition (dd element), and semicolon, often abused for boldfacing and creating pseudo-headings, outputs a definition list term (dt element). Both of these should be replaced with CSS, at least if they are not in an actual definition list. There are three ways to handle this: 1) Stop connecting this wikimarkup in any way to definition lists (which would have to be HTML-coded manually, like blockquotes and various other things that MediaWiki doesn't have special wikimarkup for). 2) Have the parser test the conditions of the markup, such that if the material is formatted like: ;A1 :A2 ;B1 :B2 it is treated as a definition list, but if it has blank lines between any of these, or a ; without one or more :'s or vice versa, or otherwise doesn't fit this pattern, treat it as CSS-styled, non-list text. 3) Always treat this markup as CSS-style regular prose, unless it is inside an explicit HTML dl element, in which case always treat it as a definition list (regardless of whitespacing and regardless of missing definitions or terms). 4) Or some combination of these. I'm marginally against option 1, and feel that 3 should usually apply (always apply in the case of explicit dl markup), but can't see anything wrong with MW doing some very limited guesswork as in option 2. -- 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
