Hi all, Others must have noticed this - is this a recognised issue? Basically: Given some article whose title is in title case (eg, Lyon Metro), you can type the lower case version in the go/search box, and still get there. However, if you link to [[lyon metro]] in an article, it will show up as a red link.
This has the effect that it's actually difficult to create the article *other* than going through the redlink - if you try and type in the name, you get silently redirected.
Would it be wrong to be redirected towards the other cased version instead of having a redlink?
Steve
Steve Bennett wrote:
This has the effect that it's actually difficult to create the article *other* than going through the redlink - if you try and type in the name, you get silently redirected.
Going through redlinks is how you create pages on a wiki.
-- brion vibber (brion @ pobox.com)
On 5/31/06, Brion Vibber brion@pobox.com wrote:
Steve Bennett wrote:
This has the effect that it's actually difficult to create the article *other* than going through the redlink - if you try and type in the name, you get silently redirected.
Going through redlinks is how you create pages on a wiki.
It's not the only way. You can type "weather in london" in the search box on the left side, and you'll be taken to an intermediate screen, where you can choose to create the page, or try searching again. I know you know that - I'm just being pedantic.
Seriously though, when you create an article, it's often a good idea to create redirects for the common case or accentless variations, if only to reduce the chance of a duplicate getting created. So, for the article "Lyon Métro", I would create "Lyon métro", "Lyon Metro" and "Lyon metro". Except, it's not actually possible to easily create "Lyon metro", except by going through the intermediate step of creating a page (or at least previewing it) with those fake redlinks in it.
To Platonides: Wikipedia is "cased". It's just that the first letter isn't case sensitive. However, "soap" and "SOAP" are definitely two different entries, for instance. It's just that the interface apparently does some primitive case resolving when there *aren't* too separate articles - type NOSTRADAMUS in the search box and it will take you (silently) to "Nostradamus". Make a link to [[NOSTRADAMUS]] in an article, and it will be a redlink (and clicking it will definitely not redirect silently).
Steve
Steve Bennett wrote:
On 5/31/06, Brion Vibber brion@pobox.com wrote:
Going through redlinks is how you create pages on a wiki.
It's not the only way... It's just that the interface apparently does some primitive case resolving when there *aren't* too separate articles - type NOSTRADAMUS in the search box and it will take you (silently) to "Nostradamus". Make a link to [[NOSTRADAMUS]] in an article, and it will be a redlink (and clicking it will definitely not redirect silently).
Although there is another way to get there -- just type NOSTRADAMUS into the browser's address bar.
Personally, I'd like it if the interface did a little *more* of that "primitive case resolving", because creating all those redirects seems like a waste of time, a task which could better be handled in software. Some work has been done on this over at en.wiktionary, although in a somewhat ad-hoc way.
[[Lyon Métro]] is a good example, because a hypothetical more-than-primitive search resolution process ought to handle presence/absence of diacritics, too. On the one hand this can quickly get nontrivial, but on the other hand the Unicode consortium has published some pretty concise normalization and collation algorithms which directly address this problem. (See e.g. UAX 15 "Unicode Normalization Forms" at http://www.unicode.org/reports/tr15/, and UTS10 "Unicode Collation Algorithm" at http://www.unicode.org/reports/tr10/.)
On 6/1/06, Steve Summit scs@eskimo.com wrote:
Although there is another way to get there -- just type NOSTRADAMUS into the browser's address bar.
No good for accents, punctuation etc.
Personally, I'd like it if the interface did a little *more* of that "primitive case resolving", because creating all those redirects seems like a waste of time, a task which could better be handled in software. Some work has been done on this over at en.wiktionary, although in a somewhat ad-hoc way.
Yep, but there is a fundamental issue which is that in *some* cases case is significant, and in others it isn't.
Without looking, do you know whether "Bell Tower" is the same thing as "Bell tower"? (no, I don't either).
On the other hand, there are definitely cases where case should be more significant: I noticed today that someone had linked to [[foreland]], whereas [[Foreland]] came up. There is currently no way to force [[foreland]] to give a redlink. You either have to unlink it entirely, link it and hope that someone will realise that they're not at the right article, or go to [[Foreland]] and add a red dablink (a very weird concept). All bad solutions.
The best solution would: a) be consistent between typing in the search box, and following a [[link]] b) propose choices when the exact choice wasn't found, involving diacritic and case allowances c) allow some way to indicate in a link that you don't want name resolving to take place
I'm sure we've all gone "name fishing" before - you don't know what a thing is called, but hope to use the most canonical name by adding (film) or (food) or something afterwards. In such cases you do definitely want some name resolving. If a thing by that name existst and it' sthe wrong thing...you'd like to turn it off somehow (triple brackets? eep...)
Steve
Steve Bennett wrote:
On 6/1/06, Steve Summit scs@eskimo.com wrote:
Although there is another way to get there -- just type NOSTRADAMUS into the browser's address bar.
No good for accents, punctuation etc.
No? It tends to work for me -- must be a browser thing. (But I think I agree, the "Go" box ought to work just like the address bar.)
Personally, I'd like it if the interface did a little *more* of that "primitive case resolving"...
Yep, but there is a fundamental issue which is that in *some* cases case is significant, and in others it isn't.
Yup.
Without looking, do you know whether "Bell Tower" is the same thing as "Bell tower"? (no, I don't either).
Well, the simplistic answer (but I would think the answer to go with) is that if they both exist they're different, but if not they're probably the same.
On the other hand, there are definitely cases where case should be more significant: I noticed today that someone had linked to [[foreland]], whereas [[Foreland]] came up.
But of course there, if nothing else, you're butting up against Wikipedia's special-casing (er, special uncasing) of the first character.
There is currently no way to force [[foreland]] to give a redlink.
Hmm.
You either have to unlink it entirely, link it and hope that someone will realise that they're not at the right article, or go to [[Foreland]] and add a red dablink (a very weird concept). All bad solutions.
I see what you mean, although I have to wonder if perhaps this is a problem that's not worth solving (law of diminishing returns, and all that).
The best solution would: a) be consistent between typing in the search box, and following a [[link]] b) propose choices when the exact choice wasn't found, involving diacritic and case allowances
Strictly speaking there are at least four cases: the search box when hitting "Go", the search box when hitting "Search", wikilinks, and incoming external links (or, equivalently, users typing directly into the address bar). At some point I want to sit down and map out exactly how these are the same and different, and exactly which sorts of fuzziness ought to apply where. (It's tempting to suggest that three out of the four ought to be identical in every respect, but there are enough weirdnesses lurking nearby that I'm not ready to make that assertion yet.)
There are also nuances depending on how likely it is that the user is searching for something that ought to exist, versus preparing to create something that doesn't exist. (This distinction is mostly aligned with wither the user is hitting the Noarticletext or Newarticletext page.) For example, if you map case too aggressively in the case where only one variant exists, you can make it impossible for anyone to ever create the other ones.
I'm sure we've all gone "name fishing" before - you don't know what a thing is called, but hope to use the most canonical name by adding (film) or (food) or something afterwards. In such cases you do definitely want some name resolving. If a thing by that name existst and it' sthe wrong thing...you'd like to turn it off somehow...
Well, when I go fishing in that way and get a false positive, it's always from the Go/Search box, and I just go back and hit Search instead of Go.
On 6/1/06, Steve Summit scs@eskimo.com wrote:
No good for accents, punctuation etc.
No? It tends to work for me -- must be a browser thing. (But I think I agree, the "Go" box ought to work just like the address bar.)
Heh, you're right - I never tried that. Firefox switches the accents back to %52 type notation.
Without looking, do you know whether "Bell Tower" is the same thing as "Bell tower"? (no, I don't either).
Well, the simplistic answer (but I would think the answer to go with) is that if they both exist they're different, but if not they're probably the same.
Maybe [[Bell Tower]] is a redirect to [[bell tower]]? I still haven't looked. :)
On the other hand, there are definitely cases where case should be more significant: I noticed today that someone had linked to [[foreland]], whereas [[Foreland]] came up.
But of course there, if nothing else, you're butting up against Wikipedia's special-casing (er, special uncasing) of the first character.
Yep.
You either have to unlink it entirely, link it and hope that someone will realise that they're not at the right article, or go to [[Foreland]] and add a red dablink (a very weird concept). All bad solutions.
I see what you mean, although I have to wonder if perhaps this is a problem that's not worth solving (law of diminishing returns, and all that).
I never said all of this was a *big* problem. Though it is one of those things that if it even affects 1 in 10,000 articles, that's 100 articles on the English Wikipedia...
Strictly speaking there are at least four cases: the search box when hitting "Go", the search box when hitting "Search", wikilinks, and incoming external links (or, equivalently, users typing directly into the address bar). At some point I want to sit down and map out exactly how these are the same and different, and exactly which sorts of fuzziness ought to apply where. (It's tempting to suggest that three out of the four ought to be identical in every respect, but there are enough weirdnesses lurking nearby that I'm not ready to make that assertion yet.)
Sounds good. I've previously expressed my frustration that "search" isn't even smart enough to return a direct match if it exists. The response given on this list was "use the go button". We could start by mapping out what kinds of fuzziness exist already.
There are also nuances depending on how likely it is that the user is searching for something that ought to exist, versus preparing to create something that doesn't exist. (This distinction is mostly aligned with wither the user is hitting the Noarticletext or Newarticletext page.) For example, if you map case too aggressively in the case where only one variant exists, you can make it impossible for anyone to ever create the other ones.
That's a good way of describing my original problem.
Well, when I go fishing in that way and get a false positive, it's always from the Go/Search box, and I just go back and hit Search instead of Go.
Oh, hadn't thought of that. Pleased to hear that Search's, uh, limitations, have a use. But the ramifications are a bit bizarre: "lyon metro" with Go button -> silent redirect "lyon metro" with Search button -> no match found, blue (!) link to "Lyon metro" which tells me that there's no article of this name, with another blue link to "Start the Lyon metro article". [[lyon metro]] in page text -> redlink to edit the page. http://en.wikipedia.org/wiki/Lyon_metro -> same effect as clicking the "Lyon metro" link in the Search case given just above.
Four different behaviours for the four different ways of trying to get to the same article with the same search text. Quite remarkable.
Steve
Steve Bennett wrote:
...I noticed today that someone had linked to [[foreland]], whereas [[Foreland]] came up. There is currently no way to force [[foreland]] to give a redlink. You either have to unlink it entirely, link it and hope that someone will realise that they're not at the right article, or go to [[Foreland]] and add a red dablink (a very weird concept). All bad solutions.
Actually, for what it's worth, I just thought of another way: [[The weather in London|foreland]]. (No, this isn't perfect, either.)
On 6/3/06, Steve Summit scs@eskimo.com wrote:
Steve Bennett wrote:
...I noticed today that someone had linked to [[foreland]], whereas [[Foreland]] came up. There is currently no way to force [[foreland]] to give a redlink. You either have to unlink it entirely, link it and hope that someone will realise that they're not at the right article, or go to [[Foreland]] and add a red dablink (a very weird concept). All bad solutions.
Actually, for what it's worth, I just thought of another way: [[The weather in London|foreland]]. (No, this isn't perfect, either.)
Heh, or linking to an article which redirects to the non-existant [[foreland]]? Never tried a red redirect...hmm.
Steve
To Platonides: Wikipedia is "cased". It's just that the first letter isn't case sensitive. However, "soap" and "SOAP" are definitely two different entries, for instance. It's just that the interface apparently does some primitive case resolving when there *aren't* too separate articles - type NOSTRADAMUS in the search box and it will take you (silently) to "Nostradamus". Make a link to [[NOSTRADAMUS]] in an article, and it will be a redlink (and clicking it will definitely not redirect silently).
Now i see the problem. I didn't realised as examples had different cas on first one too. In fact i almost never use the Go. I use to edit the address bar directly. When is use the wikipedia search is only with 'search'.
I guess you're talking about cased-projects, like wiktionaries...
Platonides wrote:
I guess you're talking about cased-projects, like wiktionaries...
Hoi, If anything using the case a word is normally written in a sentence, is the best example of the consistent use of case. Thanks, GerardM
Steve Bennett wrote:
Hi all, Others must have noticed this - is this a recognised issue? Basically: Given some article whose title is in title case (eg, Lyon Metro), you can type the lower case version in the go/search box, and still get there. However, if you link to [[lyon metro]] in an article, it will show up as a red link.
This has the effect that it's actually difficult to create the article *other* than going through the redlink - if you try and type in the name, you get silently redirected.
Would it be wrong to be redirected towards the other cased version instead of having a redlink?
Surely the most useful solution would be to make the Go button redirect non-silently, i.e. in the same way as a real redirect. A wikilink [[Lyon metro]] would still be a redlink, but typing "Lyon metro" in the Go box or the actual URL should bring up [[Lyon Metro]] with the note, "(redirected from _Lyon metro_)", where "Lyon metro" is, of course, a redlink. You can then use that to create the page if you wanted to.
Timwi
On 6/2/06, Timwi timwi@gmx.net wrote:
Surely the most useful solution would be to make the Go button redirect non-silently, i.e. in the same way as a real redirect. A wikilink [[Lyon metro]] would still be a redlink, but typing "Lyon metro" in the Go box or the actual URL should bring up [[Lyon Metro]] with the note, "(redirected from _Lyon metro_)", where "Lyon metro" is, of course, a redlink. You can then use that to create the page if you wanted to.
Yes...why didn't I think of that?
Steve
Incidentally, I just noticed that the current case massaging (Lyon metro -> Lyon Metro) is more complex than I thought. Anyone know the exact rules? It seems like these are possible:
SOME ARTICLE -> some article some article-> SOME ARTICLE (eg, sdi silently -> SDI) some article -> Some Article Some Article -> some article some ARTICLE -> some article (or Some Article) sOme artIclE -> some article (or Some Article)
*but* this isn't: some other article -/-> Some other Article (example: "departements of france" -/-> "Departements of France")
So it seems like it tries this: match name verbatim try lowercasing the entire search string try uppercasing the first letter of each word try uppercasing the entire search string
But that's it.
With a bit of testing (not at Wikipedia) I determined that the order is as above. That is, the search string "soMe artICLE" will match "Some Article" before it matches "SOME ARTICLE". This strikes me as another limitation: when the capitalisation of an article's title is ambiguous, no warning is displayed to the user. I guess we usually handle that situation with dablinks at the top of the page, but still...
Anyway, to improve the matching it would presumably be necessary to store some sort of canonical hash for each title, perhaps lowercased, and with all accents replaced by non-accented letters, or whatever. But there are probably better places to expend that effort. (like fixing search :))
Steve
On 6/2/06, Steve Bennett stevage@gmail.com wrote:
On 6/2/06, Timwi timwi@gmx.net wrote:
Surely the most useful solution would be to make the Go button redirect non-silently, i.e. in the same way as a real redirect. A wikilink [[Lyon metro]] would still be a redlink, but typing "Lyon metro" in the Go box or the actual URL should bring up [[Lyon Metro]] with the note, "(redirected from _Lyon metro_)", where "Lyon metro" is, of course, a redlink. You can then use that to create the page if you wanted to.
Yes...why didn't I think of that?
Steve
wikitech-l@lists.wikimedia.org