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)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


Description Joris Gillis 2006-01-07 19:02:20 UTC
Wikipedians often use lines starting with one or more colons to indent a line:
: 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. (
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.