Re: [Wikidata-l] annotating red links

2015-02-12 Thread Smolenski Nikola
Citiranje Lydia Pintscher lydia.pintsc...@wikimedia.de:
 We can't really just put the link to the non existent article into the
 Wikidata item because the article might be created and then cover a
 completely unrelated topic. We already have this problem with red links on
 Wikipedia but it would be even worse on Wikidata.

Would it be acceptable if such links would somehow be singled out, for example
with the nonexisting badge I suggested? Then, it would be possible to
periodically check Articles that exist in Wikipedia but have nonexisting badge
on Wikidata and see if they cover appropriate topics.



___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Lydia Pintscher
I am also interested in solving this for the article placeholder feature
where we show date from Wikidata when no local article exists.
We can't really just put the link to the non existent article into the
Wikidata item because the article might be created and then cover a
completely unrelated topic. We already have this problem with red links on
Wikipedia but it would be even worse on Wikidata.
I think the way to go is to have the Wikidata identifier used in the link
on the article. Question is how to do that nicely. I am happy to see the
template experiment. Are people generally ok with the way it works?

Cheers
Lydia
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Amir E. Aharoni
implementationthoughts
The advantage of a template is that it doesn't touch core and doesn't
create new wiki syntax.

Maybe this template could be a Lua module built into the Wikibase Client
extension, so it wouldn't have to be lamely synchronized across hundreds of
projects?
/implementationthoughts


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

2015-02-12 12:12 GMT+02:00 Lydia Pintscher lydia.pintsc...@wikimedia.de:

 I am also interested in solving this for the article placeholder feature
 where we show date from Wikidata when no local article exists.
 We can't really just put the link to the non existent article into the
 Wikidata item because the article might be created and then cover a
 completely unrelated topic. We already have this problem with red links on
 Wikipedia but it would be even worse on Wikidata.
 I think the way to go is to have the Wikidata identifier used in the link
 on the article. Question is how to do that nicely. I am happy to see the
 template experiment. Are people generally ok with the way it works?

 Cheers
 Lydia

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Jane Darnell
I'm thinking it should be a combination of syntax in the page, but also in
the New Page create page. That page now directs you to the new Drafts
userspace, but I think it should direct you also to Wikidata. That page
says this now on enwiki:

Before creating an article, please read Wikipedia:Your first article.
You can also search for an existing article to which you can redirect this
title.
To experiment, please use the sandbox. To use a wizard to create an
article, see the Article wizard.
When creating an article, provide references to reliable published sources.
An article without references, especially a biography of a living person,
may be deleted.
You can also start your new article at Special:Mypage/XX. There, you
can develop the article with less risk of deletion, ask other editors to
help work on it, and move it into article space when it is ready.

On Thu, Feb 12, 2015 at 12:43 PM, Amir E. Aharoni 
amir.ahar...@mail.huji.ac.il wrote:

 The question is not so much where to point it, but how to put it into the
 wiki syntax of the page.


 --
 Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
 http://aharoni.wordpress.com
 ‪“We're living in pieces,
 I want to live in peace.” – T. Moore‬

 2015-02-12 13:05 GMT+02:00 Gerard Meijssen gerard.meijs...@gmail.com:

 Hoi,
 The obvious is painful. When you need a placeholder... Why not use
 Reasonator? It is just a call to the Wikidata item that is associated with
 the page.
 Thanks,
   Gerard

 On 12 February 2015 at 11:18, Amir E. Aharoni 
 amir.ahar...@mail.huji.ac.il wrote:

 implementationthoughts
 The advantage of a template is that it doesn't touch core and doesn't
 create new wiki syntax.

 Maybe this template could be a Lua module built into the Wikibase Client
 extension, so it wouldn't have to be lamely synchronized across hundreds of
 projects?
 /implementationthoughts


 --
 Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
 http://aharoni.wordpress.com
 ‪“We're living in pieces,
 I want to live in peace.” – T. Moore‬

 2015-02-12 12:12 GMT+02:00 Lydia Pintscher lydia.pintsc...@wikimedia.de
 :

 I am also interested in solving this for the article placeholder
 feature where we show date from Wikidata when no local article exists.
 We can't really just put the link to the non existent article into the
 Wikidata item because the article might be created and then cover a
 completely unrelated topic. We already have this problem with red links on
 Wikipedia but it would be even worse on Wikidata.
 I think the way to go is to have the Wikidata identifier used in the
 link on the article. Question is how to do that nicely. I am happy to see
 the template experiment. Are people generally ok with the way it works?

 Cheers
 Lydia

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Jane Darnell
Lydia,
Good question! To answer your question, I have no idea. There have been no
deletion discussions, but use of the template is limited at best. Here are
few more ways I used it:
https://nl.wikipedia.org/wiki/Eerebegraafplaats_Bloemendaal
https://en.wikipedia.org/wiki/Modern_Times:_Photography_in_the_20th_Century

Jane

On Thu, Feb 12, 2015 at 11:12 AM, Lydia Pintscher 
lydia.pintsc...@wikimedia.de wrote:

 I am also interested in solving this for the article placeholder feature
 where we show date from Wikidata when no local article exists.
 We can't really just put the link to the non existent article into the
 Wikidata item because the article might be created and then cover a
 completely unrelated topic. We already have this problem with red links on
 Wikipedia but it would be even worse on Wikidata.
 I think the way to go is to have the Wikidata identifier used in the link
 on the article. Question is how to do that nicely. I am happy to see the
 template experiment. Are people generally ok with the way it works?

 Cheers
 Lydia

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Amir E. Aharoni
The question is not so much where to point it, but how to put it into the
wiki syntax of the page.


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

2015-02-12 13:05 GMT+02:00 Gerard Meijssen gerard.meijs...@gmail.com:

 Hoi,
 The obvious is painful. When you need a placeholder... Why not use
 Reasonator? It is just a call to the Wikidata item that is associated with
 the page.
 Thanks,
   Gerard

 On 12 February 2015 at 11:18, Amir E. Aharoni 
 amir.ahar...@mail.huji.ac.il wrote:

 implementationthoughts
 The advantage of a template is that it doesn't touch core and doesn't
 create new wiki syntax.

 Maybe this template could be a Lua module built into the Wikibase Client
 extension, so it wouldn't have to be lamely synchronized across hundreds of
 projects?
 /implementationthoughts


 --
 Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
 http://aharoni.wordpress.com
 ‪“We're living in pieces,
 I want to live in peace.” – T. Moore‬

 2015-02-12 12:12 GMT+02:00 Lydia Pintscher lydia.pintsc...@wikimedia.de
 :

 I am also interested in solving this for the article placeholder feature
 where we show date from Wikidata when no local article exists.
 We can't really just put the link to the non existent article into the
 Wikidata item because the article might be created and then cover a
 completely unrelated topic. We already have this problem with red links on
 Wikipedia but it would be even worse on Wikidata.
 I think the way to go is to have the Wikidata identifier used in the
 link on the article. Question is how to do that nicely. I am happy to see
 the template experiment. Are people generally ok with the way it works?

 Cheers
 Lydia

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Ricordisamoa

Il 11/02/2015 22:08, Amir E. Aharoni ha scritto:
2015-02-11 22:14 GMT+02:00 Ricordisamoa ricordisa...@openmailbox.org 
mailto:ricordisa...@openmailbox.org:

 Adding non-existing pages to Wikidata items?
 Using a syntax like [Q42[notexistingpagetitle]]?

Is this a suggestion for possible syntax or something that actually 
works somewhere?
It is only a humble attempt at designing a syntax that should be 
familiar with most wikitexters but shouldn't break the existing content 
corpus :-)


But yeah, something like this - something that includes the title of a 
page that doesn't exist in this wiki, but may some to exist some day, 
and the Q number.


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Ricordisamoa

Il 12/02/2015 11:23, Amir E. Aharoni ha scritto:
 The other is to extend the link syntax similar to image syntax, for 
example
 with [[Article Name|Alternate Text|wd=Q1234]]. This should be 
minimally disruptive

 to the editors.

Yes - this would be more or less perfect, but it would require changes 
in core MediaWiki. If nothing else works, then it's possible, but 
seems harder to get through in practice.



Wouldn't it be feasible by means of a hook?


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬



___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-12 Thread Jane Darnell
Amir,

The most important thing to consider when you look at the burden to the
community is the Bonnie  Clyde problem where it gets to be the choice of
a few editors (maybe just one?) on any given Wikipedia. I noticed that the
English Wikipedia only has one article for both Q11629 the art of painting
and Q3305213 the physical object, whereas both probably need about 5
articles each (container article and subarticles; so eg. 1)
Q3305213 painting, 1.1)oil painting 1.2) miniature 1.3) watercolor, etc).
The enwiki article is currently linked to the Wikidata item for the art of
painting and the English Wikipedia has no article for the physical object.
This strange situation is probably caused by the fact that both meanings
are covered by the same word in English, which is of course not the case in
other languages. When I created an article in the English Wikipedia for
painting (object), it just got redirected to the other one, and I was
accused of disruptive editing. Now this redirect is become one of the
many hanging redirects in Wikidata that should be deleted.

In the pre-Wikidata world, people tended to stuff articles full of every
lemma that was not encyclopedia worthy in and of itself. In the English
Wikipedia there is even a merge template for that. Today, in the
post-Wikidata world we are concentrating on getting the most info possible
into a mobile-sized screen, so we favor condensed chunks of twitter-style
info, rather than pages of text. I see this in my watchlist from the number
of changes to lead paragraphs. Everyone seems to just concentrate on the
lead these days, because that is what Google is serving to searchers.

In conclusion, though I share your dream, after considering this problem
from many angles I think the best interim solution is to do nothing. A
cultural revolution is taking place in Wikipedia, whereby people are slowly
realizing that breadth (range of articles on any given subject) is more
important than length (depth of any given article on its own subject). Let
that revolution take place, one article at a time, at the pace granted by
the policies of any given Wikipedia.

Jane

On Thu, Feb 12, 2015 at 8:58 AM, Amir E. Aharoni 
amir.ahar...@mail.huji.ac.il wrote:

 Yeah, looking into labels is certainly something that I considered, but
 that is by definition only a guess and not as bulletproof as Q numbers.

 We considered doing stuff like:
 * [[not-yet-written article about Douglas Adams|Douglas Adams]]!-- wd:
 Q42 --
 * [[not-yet-written article about Douglas Adams#Q42|Douglas Adams]]

 ... and this would kinda work, but would be leave a lot of mess to the
 community editors to clean up. The template way, suggested by Gerard, is
 similar and seems slightly less messy to me. But only slightly.

 (If anybody cares, the relevant task in ContentTranslation is
 https://phabricator.wikimedia.org/T88580 .)


 --
 Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
 http://aharoni.wordpress.com
 ‪“We're living in pieces,
 I want to live in peace.” – T. Moore‬

 2015-02-12 7:51 GMT+02:00 Maarten Dammers maar...@mdammers.nl:

 Hi Amir,

 Amir E. Aharoni schreef op 11-2-2015 om 13:12:

 If I may dream for a moment, this should be something that can be used
 in all Wikipedias, and without copying this template everywhere, but built
 into the site's software :)

 Exactly, the template based approach doesn't scale at all. You have to
 somehow make it automatic. One thing I thought about is adding suggested
 sitelinks to Wikidata. The software would encounter a red link and would
 look in Wikidata if it can find an item with a suggested sitelink of the
 same title. Huge software overhaul so I don't see that happening.

 Another approach that is probably already possible right now:
 * Take an article with a red link
 * Look at the links in the article in other languages.
 * If you find a link that points to another article which has the same
 label as the red link in the same language, link to it

 I wonder how many good results that would give.

 Maarten


 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


[Wikidata-l] annotating red links

2015-02-11 Thread Amir E. Aharoni
Hi,

TL;DR: How can a red link be annotated in a semantic way with a foreign
article title or a Wikidata Q item number?

Imagine: I'm writing a Wikipedia article in Russian. There's a red link in
it. I don't have time to write the target article for that link now, but
I'm sure that it should exist. In fact, that article does exist in the
English Wikipedia.

I want the link to be red (fr the usual wiki reasons), but until the
Russian article is written, I want to give the software a hint about which
topic it is supposed to be about. Telling it the English article name would
be one way to do it. Giving it the Wikidata Q item number would be an even
better way to do it.

Unfortunately, MediaWiki does not currently have true syntax to do either.
(Correct me if I'm wrong.)

Some Wikipedias may have templates that do something like this (e.g.
Russian: https://ru.wikipedia.org/wiki/Template:En ). But there's nothing
that is uniform to all projects.

*Why* is it useful to give the software this hint in the first place? Most
simplistically, it's useful to the reader - in case that reader knows
English, she can at least read something.

But there's something bigger. When the ContentTranslation extension
translates links, it automatically adapts links that can be found. What to
do about those that can't be auto-adapted? It frequently happens when
Wikipedians translate articles that many links in the created articles turn
out to be red. We'd love to get ContentTranslation to help the translators
make those articles by writing relevant articles with as few clicks as
possible, and that is only possible by annotating the red links with the
topics to which they belong.

So, any ideas?
What do other Wikipedias for such annotation?
Is it imaginable to add wiki syntax for such a thing?
Can anybody think of a hack that reuses the current [[link]] syntax to add
such annotation?

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-11 Thread Jane Darnell
Hi Amir,
We created a template in the English Wikipedia for this and I used it here:
https://en.wikipedia.org/wiki/Koekkoek

I also just stumbled across this, which is also acceptable here:
https://en.wikipedia.org/wiki/Wauters

The first method keeps the enwiki link red, which is what you want, but the
wrapper leads you to Wikidata or to Reasonator.

The second method leads you to an article in the language that you may
recognize by the prefix, but the color difference from blue is too subtle
to notice. It would be nice if we had a gadget that made these orange, the
way I have a gadget now that makes redirects look green.

Jane

On Wed, Feb 11, 2015 at 8:26 PM, Amir E. Aharoni 
amir.ahar...@mail.huji.ac.il wrote:

 Hi,

 TL;DR: How can a red link be annotated in a semantic way with a foreign
 article title or a Wikidata Q item number?

 Imagine: I'm writing a Wikipedia article in Russian. There's a red link in
 it. I don't have time to write the target article for that link now, but
 I'm sure that it should exist. In fact, that article does exist in the
 English Wikipedia.

 I want the link to be red (fr the usual wiki reasons), but until the
 Russian article is written, I want to give the software a hint about which
 topic it is supposed to be about. Telling it the English article name would
 be one way to do it. Giving it the Wikidata Q item number would be an even
 better way to do it.

 Unfortunately, MediaWiki does not currently have true syntax to do either.
 (Correct me if I'm wrong.)

 Some Wikipedias may have templates that do something like this (e.g.
 Russian: https://ru.wikipedia.org/wiki/Template:En ). But there's nothing
 that is uniform to all projects.

 *Why* is it useful to give the software this hint in the first place? Most
 simplistically, it's useful to the reader - in case that reader knows
 English, she can at least read something.

 But there's something bigger. When the ContentTranslation extension
 translates links, it automatically adapts links that can be found. What to
 do about those that can't be auto-adapted? It frequently happens when
 Wikipedians translate articles that many links in the created articles turn
 out to be red. We'd love to get ContentTranslation to help the translators
 make those articles by writing relevant articles with as few clicks as
 possible, and that is only possible by annotating the red links with the
 topics to which they belong.

 So, any ideas?
 What do other Wikipedias for such annotation?
 Is it imaginable to add wiki syntax for such a thing?
 Can anybody think of a hack that reuses the current [[link]] syntax to add
 such annotation?

 --
 Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
 http://aharoni.wordpress.com
 ‪“We're living in pieces,
 I want to live in peace.” – T. Moore‬

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-11 Thread Amir E. Aharoni
2015-02-11 22:14 GMT+02:00 Ricordisamoa ricordisa...@openmailbox.org:
 Adding non-existing pages to Wikidata items?
 Using a syntax like [Q42[notexistingpagetitle]]?

Is this a suggestion for possible syntax or something that actually works
somewhere?

But yeah, something like this - something that includes the title of a page
that doesn't exist in this wiki, but may some to exist some day, and the Q
number.

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-11 Thread Amir E. Aharoni
Yes, Gerard and Jane - this looks like what I'm talking about.

If I may dream for a moment, this should be something that can be used in
all Wikipedias, and without copying this template everywhere, but built
into the site's software :)


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

2015-02-11 22:47 GMT+02:00 Gerard Meijssen gerard.meijs...@gmail.com:

 Hoi,
 Have a look at this article ...
 https://en.wikipedia.org/wiki/Herman_Skolnik_Award
 Thanks to Magnus for a blog post I am still to write.
 Thanks,
  GerardM

 On 11 February 2015 at 20:26, Amir E. Aharoni 
 amir.ahar...@mail.huji.ac.il wrote:

 Hi,

 TL;DR: How can a red link be annotated in a semantic way with a foreign
 article title or a Wikidata Q item number?

 Imagine: I'm writing a Wikipedia article in Russian. There's a red link
 in it. I don't have time to write the target article for that link now, but
 I'm sure that it should exist. In fact, that article does exist in the
 English Wikipedia.

 I want the link to be red (fr the usual wiki reasons), but until the
 Russian article is written, I want to give the software a hint about which
 topic it is supposed to be about. Telling it the English article name would
 be one way to do it. Giving it the Wikidata Q item number would be an even
 better way to do it.

 Unfortunately, MediaWiki does not currently have true syntax to do
 either. (Correct me if I'm wrong.)

 Some Wikipedias may have templates that do something like this (e.g.
 Russian: https://ru.wikipedia.org/wiki/Template:En ). But there's
 nothing that is uniform to all projects.

 *Why* is it useful to give the software this hint in the first place?
 Most simplistically, it's useful to the reader - in case that reader knows
 English, she can at least read something.

 But there's something bigger. When the ContentTranslation extension
 translates links, it automatically adapts links that can be found. What to
 do about those that can't be auto-adapted? It frequently happens when
 Wikipedians translate articles that many links in the created articles turn
 out to be red. We'd love to get ContentTranslation to help the translators
 make those articles by writing relevant articles with as few clicks as
 possible, and that is only possible by annotating the red links with the
 topics to which they belong.

 So, any ideas?
 What do other Wikipedias for such annotation?
 Is it imaginable to add wiki syntax for such a thing?
 Can anybody think of a hack that reuses the current [[link]] syntax to
 add such annotation?

 --
 Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
 http://aharoni.wordpress.com
 ‪“We're living in pieces,
 I want to live in peace.” – T. Moore‬

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-11 Thread Ricordisamoa

Il 11/02/2015 20:26, Amir E. Aharoni ha scritto:

Hi,

TL;DR: How can a red link be annotated in a semantic way with a 
foreign article title or a Wikidata Q item number?


Imagine: I'm writing a Wikipedia article in Russian. There's a red 
link in it. I don't have time to write the target article for that 
link now, but I'm sure that it should exist. In fact, that article 
does exist in the English Wikipedia.


I want the link to be red (fr the usual wiki reasons), but until the 
Russian article is written, I want to give the software a hint about 
which topic it is supposed to be about. Telling it the English article 
name would be one way to do it. Giving it the Wikidata Q item number 
would be an even better way to do it.


Unfortunately, MediaWiki does not currently have true syntax to do 
either. (Correct me if I'm wrong.)


Some Wikipedias may have templates that do something like this (e.g. 
Russian: https://ru.wikipedia.org/wiki/Template:En ). But there's 
nothing that is uniform to all projects.


*Why* is it useful to give the software this hint in the first place? 
Most simplistically, it's useful to the reader - in case that reader 
knows English, she can at least read something.


But there's something bigger. When the ContentTranslation extension 
translates links, it automatically adapts links that can be found. 
What to do about those that can't be auto-adapted? It frequently 
happens when Wikipedians translate articles that many links in the 
created articles turn out to be red. We'd love to get 
ContentTranslation to help the translators make those articles by 
writing relevant articles with as few clicks as possible, and that is 
only possible by annotating the red links with the topics to which 
they belong.


So, any ideas?
What do other Wikipedias for such annotation?
Is it imaginable to add wiki syntax for such a thing?
Can anybody think of a hack that reuses the current [[link]] syntax to 
add such annotation?


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬


Adding non-existing pages to Wikidata items?
Using a syntax like [Q42[notexistingpagetitle]]?

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-11 Thread Amir E. Aharoni
Yeah, looking into labels is certainly something that I considered, but
that is by definition only a guess and not as bulletproof as Q numbers.

We considered doing stuff like:
* [[not-yet-written article about Douglas Adams|Douglas Adams]]!-- wd: Q42
--
* [[not-yet-written article about Douglas Adams#Q42|Douglas Adams]]

... and this would kinda work, but would be leave a lot of mess to the
community editors to clean up. The template way, suggested by Gerard, is
similar and seems slightly less messy to me. But only slightly.

(If anybody cares, the relevant task in ContentTranslation is
https://phabricator.wikimedia.org/T88580 .)


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

2015-02-12 7:51 GMT+02:00 Maarten Dammers maar...@mdammers.nl:

 Hi Amir,

 Amir E. Aharoni schreef op 11-2-2015 om 13:12:

 If I may dream for a moment, this should be something that can be used in
 all Wikipedias, and without copying this template everywhere, but built
 into the site's software :)

 Exactly, the template based approach doesn't scale at all. You have to
 somehow make it automatic. One thing I thought about is adding suggested
 sitelinks to Wikidata. The software would encounter a red link and would
 look in Wikidata if it can find an item with a suggested sitelink of the
 same title. Huge software overhaul so I don't see that happening.

 Another approach that is probably already possible right now:
 * Take an article with a red link
 * Look at the links in the article in other languages.
 * If you find a link that points to another article which has the same
 label as the red link in the same language, link to it

 I wonder how many good results that would give.

 Maarten


 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] annotating red links

2015-02-11 Thread Maarten Dammers

Hi Amir,

Amir E. Aharoni schreef op 11-2-2015 om 13:12:
If I may dream for a moment, this should be something that can be used 
in all Wikipedias, and without copying this template everywhere, but 
built into the site's software :)
Exactly, the template based approach doesn't scale at all. You have to 
somehow make it automatic. One thing I thought about is adding suggested 
sitelinks to Wikidata. The software would encounter a red link and would 
look in Wikidata if it can find an item with a suggested sitelink of the 
same title. Huge software overhaul so I don't see that happening.


Another approach that is probably already possible right now:
* Take an article with a red link
* Look at the links in the article in other languages.
* If you find a link that points to another article which has the same 
label as the red link in the same language, link to it


I wonder how many good results that would give.

Maarten

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l