Re: [Wikitech-l] Disambiguation while editing

2009-10-01 Thread Bence Damokos
2009/10/1 Lars Aronsson l...@aronsson.se


 In the edit box, when I type [[John Doe]], I want some chance to
 verify that I'm linking to the right article, whether it is a
 disambiguation page, or by seeing the first sentence from that
 article.  I know I can preview my edit and click that link to
 see the page (or ctrl-click to make it appear in a new tab), but
 that method just seems sooo 2002.

 Is there some tool, button or gadget that does this trick? Perhaps
 some greasemonkey script?

 What it would do: From where the cursor stands in the edit box,
 search backwards for a [[ and then forwards to the following |
 or ]] which ever comes first (this covers the case that the
 cursor is inside the link brackets). Look up that article, show
 the first paragraph or 150 characters in a pop-up. If I click a
 link in the pop-up (a top link, or a disambig page), replace the
 link in the edit box so it points to that article.


The Navigation popups[1] has partially a functionality that does these: if
you select a link in the edit box it will display the first part of the
article in a popup; after saving if you hover over a disambig or redirect
link, you can choose to fix it with one click. I don't think it is possible
with it to do this fixing right from the edit box.

[1] http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups

Best regards,
Bence Damokos
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Disambiguation while editing

2009-10-01 Thread Tei
On Thu, Oct 1, 2009 at 12:37 AM, Lars Aronsson l...@aronsson.se wrote:

 In the edit box, when I type [[John Doe]], I want some chance to
 verify that I'm linking to the right article,

Humm?

I don't know the wikipedia, but on other wikis is like that:

Fire and forget.  You link [[Mr John Doe]].  Once is published you
notice is not a link, so you click, and make a redirection from [[Mr.
John Doe]] to the existing article [[Doc. John Doe]].

You can also make links that don't exist. Like in english expression
'[[a pocket full of horses]]', you don't need to link to articles
that exist.  On a wiki (I don't know wikipedia)  you don't have to
post correct or complete stuff. And having unpopulated links is a
invitation to others to create more articles or redirections.

I know Wikipedia has always been a strange wiki, so maybe thats not
how it works. I hate wikipedia a bit.

Also, the creation of a redirection from  [[Doc John Doe]] and [[John
Doe]] to  [[Dr John Doe]] is content. Maybe a dude could be googling
Doc John and find the redirection one. Is a happy error that these
redirections are created.



-- 
--
ℱin del ℳensaje.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Disambiguation while editing

2009-10-01 Thread Andre Engels
On Thu, Oct 1, 2009 at 8:55 AM, Tei oscar.vi...@gmail.com wrote:
 On Thu, Oct 1, 2009 at 12:37 AM, Lars Aronsson l...@aronsson.se wrote:

 In the edit box, when I type [[John Doe]], I want some chance to
 verify that I'm linking to the right article,

 Humm?

 I don't know the wikipedia, but on other wikis is like that:

(snip)

The issue was about disambiguations, that is, the case where one term
has two meanings. [[John Doe]] may lead you to an article about
another person than you intended to, but with the same name. Or to a
page only specifying that there are several people by that name, and
giving you links to the various articles.


-- 
André Engels, andreeng...@gmail.com

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Disambiguation while editing

2009-10-01 Thread Steve Bennett
On 10/1/09, Magnus Manske magnusman...@googlemail.com wrote:
 Meanwhile, I wrote a simple JS that tells you when the cursor (in edit
  mode) is within a red link, or if it's a disambiguation page, it
  offers replace-links to click on. That should answer the problem of
  the OP. Could do redirects as well, but didn't want to overload it...

IMHO, you should overload it. You write lots of brilliant little
tools that do distinct jobs. You should combine them into big chunks
of really useful functionality, the Magnus toolbelt or something.
Then more people would come across more of these features and demand
that they be integrated into MediaWiki...

Steve

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Disambiguation while editing

2009-10-01 Thread Platonides
Lars Aronsson wrote:
 In the edit box, when I type [[John Doe]], I want some chance to 
 verify that I'm linking to the right article, whether it is a 
 disambiguation page, or by seeing the first sentence from that 
 article.  I know I can preview my edit and click that link to 
 see the page (or ctrl-click to make it appear in a new tab), but 
 that method just seems sooo 2002.

Bug 8339: show them with a different color so you can spot them directly
at preview.
https://bugzilla.wikimedia.org/show_bug.cgi?id=8339


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Disambiguation while editing

2009-10-01 Thread Brion Vibber
On 9/30/09 7:30 PM, Steve Bennett wrote:
 On 10/1/09, Brion Vibberbr...@wikimedia.org  wrote:
 I'm pretty sure the usability kids have something to this effect up
   their sleeves, hiding somewhere.

 Heh, I was wondering if this would start to become the new meme. We
 don't need to fix that gui, the usability team will take care of it!

Oh things need fixin' all right. :) Just want to make sure that efforts 
are combined, not duplicated.

-- brion

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Disambiguation while editing

2009-09-30 Thread Steve Bennett
On 10/1/09, Lars Aronsson l...@aronsson.se wrote:
  What it would do: From where the cursor stands in the edit box,
  search backwards for a [[ and then forwards to the following |
  or ]] which ever comes first (this covers the case that the
  cursor is inside the link brackets). Look up that article, show
  the first paragraph or 150 characters in a pop-up. If I click a
  link in the pop-up (a top link, or a disambig page), replace the
  link in the edit box so it points to that article.

Sounds very well described. Would be useful to a lot of people, so if
it gets developed, maybe it should be deployed in the sitewide
javascript?

Steve

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Disambiguation while editing

2009-09-30 Thread Brion Vibber
On 9/30/09 3:37 PM, Lars Aronsson wrote:
 What it would do: From where the cursor stands in the edit box,
 search backwards for a [[ and then forwards to the following |
 or ]] which ever comes first (this covers the case that the
 cursor is inside the link brackets). Look up that article, show
 the first paragraph or 150 characters in a pop-up. If I click a
 link in the pop-up (a top link, or a disambig page), replace the
 link in the edit box so it points to that article.

I'm pretty sure the usability kids have something to this effect up 
their sleeves, hiding somewhere.

-- brion

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Disambiguation while editing

2009-09-30 Thread Steve Bennett
On 10/1/09, Brion Vibber br...@wikimedia.org wrote:
 I'm pretty sure the usability kids have something to this effect up
  their sleeves, hiding somewhere.

Heh, I was wondering if this would start to become the new meme. We
don't need to fix that gui, the usability team will take care of it!

You're probably right, of course. I wonder what the best way to double
check these assumptions is.

Steve

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l