User:Avenue/Interwiki links
There has been some confusion and disagreement about what to do since Wikidata began to support interwiki links on Commons, in late September 2013. (See e.g. Commons:Village pump#Wikidata is here! and d:Wikidata:Requests for comment/Commons links.) I think part of the problem has been that we didn't have a clear picture of what interwiki links Commons had already.
I have examined the interwiki links in the sidebar (sometimes called interlanguage links) of a small random sample of 150 categories and 50 galleries. These were selected by just clicking on Special:Random/Category and Special:Random repeatedly. For some categories, we have a corresponding gallery, and vice versa.
If both a category and gallery link to the same Wikipedia page, Wikidata sitelinks currently cannot handle this, because they only allow one Commons sitelink per item. I therefore examined the interwiki links in the gallery corresponding to each category in the sample (when one existed), and likewise for categories corresponding to the sampled galleries, to see how many had such clashes.
Results
editMost categories (around 80%) did not have interwiki links. In contrast, 70% of galleries did have interwiki links.
All interwiki links in galleries pointed to Wikipedia articles, but only about 10% of Commons categories with interwiki links pointed to Wikipedia categories. The vast majority linked to Wikipedia articles instead.
Around half the galleries with interwiki links had a corresponding category that also linked to Wikipedia articles.
Only 4 pages (less than 2%) had been linked to Wikidata, all by bots, and all already had existing interwiki links specified in the page markup.
Categories
editOf the 150 categories sampled, I found that 31 had interwiki links, of which 28 were to Wikipedia articles. Just 3 of those categories had a corresponding gallery, of which 1 had interwiki links. Of the 119 categories without interwiki links, 3 had a corresponding gallery, and 2 of these had interwiki links.
For sampled categories | Interwiki links from gallery | |||
Interwiki links from category | Article | None | No corresponding gallery | Total |
Article | 1
|
2
|
25
|
28
|
Category | 3
|
3
| ||
None | 2
|
1
|
116
|
119
|
Total | 3
|
3
|
144
|
150
|
Galleries
editOf the 50 galleries sampled, I found that 35 had interwiki links (all to articles). Of those 35, all but 2 had a corresponding category. Of those 33 categories, 17 had interwiki links to articles, 15 had no interwiki links, and just 1 had interwiki links to categories. Among the 15 galleries without interwiki links, all but 3 had a corresponding category. Five of these 12 categories had interwiki links, 4 to articles and 1 to categories.
For sampled galleries | Interwiki links from gallery | ||
Interwiki links from category | Article | None | Total |
Article | 17
|
4
|
21
|
Category | 1
|
1
|
2
|
None | 15
|
7
|
22
|
No corresponding category | 2
|
3
|
5
|
Total | 35
|
15
|
50
|