Last modified: 2006-01-07 19:03:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6522, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4522 - definition list abused for indentation purposes
definition list abused for indentation purposes
Status: RESOLVED DUPLICATE of bug 4521
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.6.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Help:L...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-07 19:02 UTC by Joris Gillis
Modified: 2006-01-07 19:03 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Joris Gillis 2006-01-07 19:02:20 UTC
Wikipedians often use lines starting with one or more colons to indent a line:
e.g.
: this line is indented
:: double indented

I recently noticed that the generated HTML contains a definition list (<dl/>).
Obviously this is not a good means to indent text. (http://www.w3.org/TR/html401/struct/lists.html#h-
10.3)
Apparently, the mediawiki-syntax for defintion lists (;term : def) is being abused for visual effects.

I suggest that a <div style="margin-left: 2em"></div> is used instead of <dl><dd></dd></dl>, whenever 
a colon is found without a preceding semicolon.


keywords: indentation colon semicolon dl dt dd definition list abuse parser
Comment 1 Brion Vibber 2006-01-07 19:03:58 UTC

*** This bug has been marked as a duplicate of 4521 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links