Last modified: 2004-09-03 19:42:08 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 314 - '''bold text''' glitch when word preceeded by an apostrophe
'''bold text''' glitch when word preceeded by an apostrophe
Status: RESOLVED DUPLICATE of bug 295
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-03 03:19 UTC by Timwi
Modified: 2004-09-03 19:42 UTC (History)
1 user (show)

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


Attachments

Description Timwi 2004-09-03 03:19:55 UTC
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=948549&group_id=34373&atid=411192
Originally submitted by fabiform (fabiform)  2004-05-05 17:22


The wikimarkup for bolding a word preceeded by an
apostrophe (very very common in French) includes the
apostrophe in the bold section, and is even more broken
for italicised words.

If I want to bold the headword in the article "homme",
I type:
L''''homme''' est

This renders as
L<b>'homme</b> est

The problem is even worse if trying to italicise:

L'''homme'' est

Renders as:

L<b>homme<i> est
so the leading apostrophe is totally lost, and "est" is
rendered as bold italic, rather than plain text.

On fr.wikipedia I've seen three ways that people deal
with the problem:

1) ignore the fact that the leading apostrophe is bolded
2) add a space between the L' and the word so that the
wikimarkup renders properly, but this is incorrect
grammatically, and allows a word to be split at a line
break
3) use the <b> and <i> tags instead

------------------------- Additional comments ------------------------
Date: 2004-05-20 12:06
Sender: SF user jeluf

Fixed for bold in MediaWiki 1.3.ALPHA
See http://phase3.mormo.org/index.php/Ticktest

Hard to do this "right" for italic.
* make software render L' ''homme'' as L'homme.
   Might  break things in other languages, though, e.g.
          Jens' ''Meine Autobiografie''  
   in German should not be linked
* use a new tag, like L'_''homme''
* use the  tag instead
-------------------------------------------------
Date: 2004-08-06 19:50
Sender: SF user magnus_manske

Added an option ($fixLbug) to brute-force replace L' or l'
with L' in CVS HEAD
-------------------------------------------------
Date: 2004-09-03 05:08
Sender: SF user timwi

This bug has been migrated to MediaZilla:
http://bugzilla.wikipedia.org/show_bug.cgi?id=295
Please leave additional comments or attachments there.
Comment 1 Timwi 2004-09-03 19:42:08 UTC

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

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


Navigation
Links