Last modified: 2008-04-16 19:56:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1208 - Enclose wikitext within <pre> tag in diffs
Enclose wikitext within <pre> tag in diffs
Status: RESOLVED DUPLICATE of bug 13466
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
All All
: Low enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-12-27 12:13 UTC by Wikipedia:en:User:Paddu
Modified: 2008-04-16 19:56 UTC (History)
1 user (show)

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


Description Wikipedia:en:User:Paddu 2004-12-27 12:13:25 UTC
This would make changes that just add or delete spaces or punctuation clearer.
With proportional fonts, punctuations take very less space, it is not clearly
evident what punctuations were added/removed.

Another (inferior, I'd say as punctuations would still take very less space)
approach is to replaces spaces with &nbsp; and underline the changes.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-11 23:07:25 UTC
The classes .diff-context, .diff-deletedline, and .diff-addedline are provided
for this purpose.  Adding ".diff-context, .diff-deletedline, .diff-addedline {
white-space: pre; }" to your CSS will show spacing, but will also stretch things
rather obscenely (just as the <pre> tag would).  { white-space: pre-wrap; }
would work, except that it appears not to be supported in the current version of

If you just want a monospace font, add ".diff-context, .diff-deletedline,
.diff-addedline { font-family: monospace; }" instead.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-11 23:25:35 UTC
Note: I have just proposed related stylesheet changes on enwiki at
Comment 3 Niklas Laxström 2008-04-16 19:56:48 UTC

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

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