Last modified: 2014-01-12 12:51:21 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 4473 - After "-" and "&shy" at the end of a line, no space should be added.
After "-" and "&shy" at the end of a line, no space should be added.
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement with 4 votes (vote)
: ---
Assigned To: Anjana S
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-03 23:54 UTC by Jofi
Modified: 2014-01-12 12:51 UTC (History)
1 user (show)

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


Attachments

Description Jofi 2006-01-03 23:54:20 UTC
To be able to keep the original line breaks of a text in the source code, it is
necessary to remove the space that is usually added if a newline starts, when
having a (soft) hyphen at the end of the line. Otherwise "twenty- three" instead
of "twenty-three" and "Wiki pedia" instead of "Wikipedia" (with soft hyphen) is
displayed.
This enhancement would be useful especially for Wikisource, where the line
breaks of an original text could be kept in the source and so the original
formating of the text could be displayed. This would also make proof reading
much easier.
Comment 1 Jofi 2006-02-03 23:59:28 UTC
To clarify it: If you have an original text like this:
Dies ist ein Beispieltext, der nur Test-
zwecken dient.
it is displayed in Wikisource like "Dies ist ein Beispieltext, der nur Test-
zwecken dient." Correct would be: "Dies ist ein Beispieltext, der nur
Testzwecken dient." (without "-" and empty space)
If adding this to the source text:
Dies ist ein Beispieltext, der nur Test­     (or anything else instead of "shy")
zwecken dient.
would result in the correct text when viewing the article, it were possible to
keep the original formatting in the source text and have nice text in the
article view.
Comment 2 Jofi 2006-02-04 00:03:07 UTC
The system added a line break: After "it is displayed in Wikisource like.." in
the 4th line it should be shown "Test- zwecken". That is what Mediawiki displays.
Comment 3 Brion Vibber 2006-02-04 02:00:16 UTC
­ is extremely unreliable in current browsers; behavior is inconsistent from 
vendor to vendor. I wouldn't expect this to work the way you want even if the newline 
were stripped.
Comment 4 Jofi 2006-02-07 00:29:00 UTC
Unfortunately I didn't explain it enough. It would be a nice additional feature
if ­ always worked, but what I would like to have is a possibility to keep
the original line break in the source text view and have nice text in the
article view. Therefore I would like to have a character/string that is not
displayed itself and "deletes" the empty space after it when there is a line
break in the source. This can be &shy; but could also be "<->" or something
else. It should just make possible that
exam<->
ple
in the sourcetext view results in "example" instead of "exam ple" in the article
view.
The same should be with "-" at the end of line in the source text:
twenty-
three
should result in "twenty-three" in the article view instead of "twenty- three"
Comment 5 Anjana S 2014-01-09 15:52:18 UTC
I would like to work on this bug.Can someone please assign this to me
Comment 6 Anjana S 2014-01-12 12:51:21 UTC
(In reply to comment #4)
> Unfortunately I didn't explain it enough. It would be a nice additional
> feature
> if &shy; always worked, but what I would like to have is a possibility to
> keep
> the original line break in the source text view and have nice text in the
> article view. Therefore I would like to have a character/string that is not
> displayed itself and "deletes" the empty space after it when there is a line
> break in the source. This can be &shy; but could also be "<->" or something
> else. It should just make possible that
> exam<->
> ple
> in the sourcetext view results in "example" instead of "exam ple" in the
> article
> view.
> The same should be with "-" at the end of line in the source text:
> twenty-
> three
> should result in "twenty-three" in the article view instead of "twenty-
> three"

I am assigned to this bug.Can you please figure out the link or the page where you found it.

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


Navigation
Links