Last modified: 2011-10-10 18:20:18 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 8871 - changing format within a link (without piping it [[like this|like ''this'']])
changing format within a link (without piping it [[like this|like ''this'']])
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-04 05:33 UTC by Charlotte Webb
Modified: 2011-10-10 18:20 UTC (History)
3 users (show)

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


Description Charlotte Webb 2007-02-04 05:33:58 UTC
I've been noticing a lot of edits like this:
Where the effect of piping the link is only to make it partly italic and partly not.

So then I wondered, for the first example, why can't we write:
   [[''Hard Candy'' (album)]]
to make the words "Hard Candy" italic, leaving the word "(album)" normal format.
Currently this would produce a red link, to a title with two pairs of actual
apostrophes. But, I can't think of any legitimate title that would contain an
apostrophe followed by another apostrophe. Generally if somebody does that they
meant to use a quotation mark.

So I was wondering if we could change the interpretation of wiki-text to ignore
grouped apostrophes when determining the target of a link, and use them as
format instructions instead.

(for example, [[RMS ''Titanic'']] would be half-italic and still point to
"RMS_Titanic" "RMS_%27%27Titanic%27%27")

Comment 1 Charlotte Webb 2007-02-04 05:35:36 UTC
(for example, [[RMS ''Titanic'']] would be half-italic and still point to
"RMS_Titanic" "RMS_%27%27Titanic%27%27")

(can we get a preview button for bugzilla by any chance?)
Comment 2 Charlotte Webb 2007-02-04 05:52:03 UTC
correction, such a link does not actually point to anything, see

But apparently it does in the edit summary for some reason
Comment 3 Rob Church 2007-02-04 17:35:38 UTC
Actually, there are some languages which use double apostrophes or a very
similar character combination in their titles; it caused a bit of annoyance when
fixing up the link handling code in early 2006. 
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-02-04 17:49:41 UTC
Neapolitan?  I thought they were using some kind of workaround for that, though.  Do they actually 
have titles containing literally "''"?
Comment 5 Niklas Laxström 2010-09-21 07:44:26 UTC
Yes they did at least, I don't know what they do nowdays. I'm in favor of wontfixing this  bug, since being able to link to articles is more important that shortcut for styling the links, unless you can think of a way having both.

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