Last modified: 2012-01-22 18:56:24 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 T2286, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 286 - Diffs do not indicate change in leading whitespace
Diffs do not indicate change in leading whitespace
Status: RESOLVED DUPLICATE of bug 13466
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Lowest normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 305 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-03 03:07 UTC by Timwi
Modified: 2012-01-22 18:56 UTC (History)
4 users (show)

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


Attachments

Description Timwi 2004-09-03 03:07:20 UTC
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=959622&group_id=34373&atid=411192
Originally submitted by Gordon Tran (buffered)  2004-05-24 20:24


When adding the leading space for preformatted text, 
the diff will attempt to highlight the new space in red, 
which has no visible effect.

http://test.wikipedia.org/w/index.php?
title=TestWikipedia:Sandbox&curid=19088&diff=2213&oldi
d=2212
Comment 1 Timwi 2004-09-03 19:40:37 UTC
*** Bug 305 has been marked as a duplicate of this bug. ***
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-28 03:43:32 UTC
This can be fixed with

.diffchange { text-decoration: underline; }

or

.diffchange { background-color: something other than default; }

plus 

td.diff-addedline, td.diff-deletedline, td.diff-context {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
}

The latter point (which is a necessary component) will only work on some
browsers, however, such as Opera and Gecko-based browsers.  For a universal fix,
spaces would have to be converted automatically to  .  A stylesheet
solution packaged in by default would be better than nothing, though, in my
opinion, and next-gen browsers will hopefully all support pre-wrap (although IE
7 doesn't yet, at least).
Comment 3 Niklas Laxström 2008-04-16 19:55:33 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