Last modified: 2011-03-13 18:05:15 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 T20000, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18000 - Whitespace following fuzzy marks should be removed during fuzzy mark removal
Whitespace following fuzzy marks should be removed during fuzzy mark removal
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Niklas Laxström
: patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-16 10:38 UTC by Purodha Blissenbach
Modified: 2011-03-13 18:05 UTC (History)
2 users (show)

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


Attachments
Patch against r48433 removing whitespace following fuzzy marks when fuzzy marks are stripped. (4.59 KB, patch)
2009-03-16 10:38 UTC, Purodha Blissenbach
Details
Patch against r48446 removing specific whitespace following fuzzy marks when fuzzy marks are stripped. (4.70 KB, patch)
2009-03-16 17:51 UTC, Purodha Blissenbach
Details

Description Purodha Blissenbach 2009-03-16 10:38:02 UTC
Created attachment 5935 [details]
Patch against r48433 removing whitespace following fuzzy marks when fuzzy marks are stripped.

When fuzzy marks are stripped for export, whitespace following them should be, too.
Currently, messages cannot have leading whitespace, except, when sneaking through
behind a fuzzy mark.

There is a patch attached, which I was not able to test.
It should solve the problem in many cases, at least. I cannot tell
for sure, I got them all, though.

I found astonishingly many places that appeared to me needing to be changed.
Maybe, it's worth collecting them into a central subroutine or method.
Comment 1 Purodha Blissenbach 2009-03-16 17:51:12 UTC
Created attachment 5936 [details]
Patch against r48446 removing specific whitespace following fuzzy marks when fuzzy marks are stripped. 

Some whitespace is allowed. Stripping should only remove leading line endings, vertical tabs, and NULs. TABs and spaces are kept.
Comment 2 Siebrand Mazeland 2010-07-06 21:14:25 UTC
Closed WONTFIX. This isn't going to work ever. This would also remove leading space that were put there on purpose for fuzzied messages. !!FUZZY!! not meant to be added on a line by itself, but as the first text in a message, with the outdated part following directly.

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


Navigation
Links