Last modified: 2008-04-16 19:56:48 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 T3208, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: Low enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  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: ---


Attachments

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
Firefox.

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
http://en.wikipedia.org/wiki/MediaWiki_talk:Monobook.css#diff_style_suggestions.
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.


Navigation
Links