Last modified: 2008-06-27 06:37:23 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 14655 - remove apostrophe \' from $linkTrail (introduced in r36253)
remove apostrophe \' from $linkTrail (introduced in r36253)
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-06-26 16:28 UTC by Charlotte Webb
Modified: 2008-06-27 06:37 UTC (History)
4 users (show)

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


Description Charlotte Webb 2008-06-26 16:28:12 UTC
Comment 1 Raimond Spekking 2008-06-26 16:33:28 UTC
No content?
Comment 2 Charlotte Webb 2008-06-26 16:40:11 UTC
very sorry, my finger slipped onto the over-sized "Enter" button on this funky keyboard. tried to cancel but it was too late.

Intended message follows:

As Simetrical explained: "linktrail characters should be those that should *always* be included in the trail."

I don't think a feature intended for easy creation of plural links (or for changing nouns into verbs, adjectives, etc by adding a few extra letters) should automatically create potentially confusing possessive forms ("[[Foobar]]'s", etc.)

If I wanted [[Foobar]]'s to look like [[Foobar's]] I'd pipe it manually as [[Foobar|Foobar's]] but this would be a rare case in itself (like a restaurant named after a person, where only the person has an article, maybe??? but even that would be on the outer edge of likelihood).


Comment 3 Charlotte Webb 2008-06-26 16:42:17 UTC
added intended title. I meant to type a backslash but it is on the top row for some reason.
Comment 4 Charlotte Webb 2008-06-26 16:49:20 UTC
moreover if this is not fixed would I have to do some ugly code like [[Foobar]]<span/>'s to keep the "apostrophe ess" from being sucked into the link, or is there a better way?
Comment 5 Marcus Buck 2008-06-26 17:07:50 UTC
<nowiki/> is intended for this: [[Foobar]]<nowiki/>'s.

I think including apostrophes is a feature. The apostrophe and s are part of the word just like the plural-s is.
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-06-26 18:15:42 UTC
I agree with Charlotte, on reflection.  This is a bad change.  The target of the link should be described by the link text if not specifically overridden.  If I write [[spider]]s, then including the "s" would be correct, because the [[spider]] article is indeed about "spiders".  If I write [[spider]]ing, then the [[spider]] article would indeed be about "spidering", since that's what spiders do.  (Yes, it's a stupid example; pretend [[spider]] is about web spiders or something.)  But if I write [[spider]]'s, the [[spider]] article is not about "spider's".  Indeed, having an article about a possessive is silly, unless it's about the word itself or a proper noun, and in that case the title of the article should be [[spider's]] to begin with.

CC'ing Dantman, since he introduced this change.
Comment 7 Marcus Buck 2008-06-26 18:42:11 UTC
I don't understand the logic of your example, Simetrical. "X is about Y" sentences turn ungrammatical if you use genitives for Y, but I don't see the point, why linking the word turns bad cause of this. The purpose of linktrails is not, that the linked article should be about the whole word, but cause words linked only partially are "ugly". It's "style guide" reasons, not semantic ones. And genitive suffixes are part of words just like plural suffixes are.
Comment 8 Charlotte Webb 2008-06-26 19:29:14 UTC
If I write "[[Brion]]'s going to revert r36253", the "apostrophe ess" represents the word "is" and clearly is not an extension of "Brion".
Comment 9 Aaron Schulz 2008-06-26 19:40:50 UTC
I'd agree with simetrical on this one. The first time I read that comment it didn't make sense though :)
Comment 10 Daniel Friesen 2008-06-27 03:46:45 UTC
Perhaps someone could start a discussion on mediawiki-l to discuss the usefulness of including 's vs. excluding it.

Then we could get feedback from more than just a select few devs and a user or two. This is something I've heard complaints on that [[Foo]]'s is not linked in the past. So perhaps a wide group discussion would be best for determining. But the main complaint I hear is that [[Foo|Foo's]] when linking 's is correct is quite ugly and most wiki like to avoid doing unnecessary things like that.
Comment 11 Daniel Friesen 2008-06-27 06:37:23 UTC
Removed in r36693, more discussion in wikitech-l {[Wikitech-l] stuff outside the [[bracket]]s}

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