remove apostrophe \' from $linkTrail (introduced in r36253)
Closed, ResolvedPublic


Author: charlottethewebb


Version: unspecified
Severity: enhancement

bzimport added a project: MediaWiki-Parser.Via ConduitNov 21 2014, 10:11 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz14655.
bzimport created this task.Via LegacyJun 26 2008, 4:28 PM
Raymond added a comment.Via ConduitJun 26 2008, 4:33 PM

No content?

bzimport added a comment.Via ConduitJun 26 2008, 4:40 PM

charlottethewebb wrote:

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).


bzimport added a comment.Via ConduitJun 26 2008, 4:42 PM

charlottethewebb wrote:

added intended title. I meant to type a backslash but it is on the top row for some reason.

bzimport added a comment.Via ConduitJun 26 2008, 4:49 PM

charlottethewebb wrote:

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?

Slomox added a comment.Via ConduitJun 26 2008, 5:07 PM

<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.

bzimport added a comment.Via ConduitJun 26 2008, 6:15 PM

ayg wrote:

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.

Slomox added a comment.Via ConduitJun 26 2008, 6:42 PM

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.

bzimport added a comment.Via ConduitJun 26 2008, 7:29 PM

charlottethewebb wrote:

If I write "[[Brion]]'s going to revert r36253", the "apostrophe ess" represents the word "is" and clearly is not an extension of "Brion".

aaron added a comment.Via ConduitJun 26 2008, 7:40 PM

I'd agree with simetrical on this one. The first time I read that comment it didn't make sense though :)

DanielFriesen added a comment.Via ConduitJun 27 2008, 3:46 AM

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.

DanielFriesen added a comment.Via ConduitJun 27 2008, 6:37 AM

Removed in r36693, more discussion in wikitech-l {[Wikitech-l] stuff outside the [[bracket]]s}

Add Comment