Some Wikipedias use categories to find all articles which have a good or featured version in some other Wikipedia. This categories can and should be replaced by a special page on wikidata.org where one can enter a badge and a wiki and then gets all items which have a sitelink to that wiki which has the specified badge.
Description
Details
- Reference
- bz70209
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add SpecialPagesWithBadges | mediawiki/extensions/Wikibase | master | +417 -10 | |
Add SpecialPagesWithBadges | mediawiki/extensions/Wikibase | master | +28 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Amire80 | T70071 [Compact links] Prioritise interwikis to featured pages | |||
Declined | None | T70067 Tell in sitelink whether target is the "preferred" language for the topic/place of the article | |||
Resolved | Addshore | T42810 Wikibase badges (tracking) | |||
Resolved | Lydia_Pintscher | T110838 [Story] As a user I want to see all pages on a wiki having a specific badge assigned | |||
Open | None | T96040 Wikibase special pages (tracking) | |||
Resolved | Bene | T72209 [Task] Create a special page to query for badges | |||
Resolved | Bene | T72229 [Task] Store the badges of sitelinks in a queryable format |
Event Timeline
These wikis include French, Russian, Spanish, Catalan, and Portuguese.
It shouldn't be implemented in Wikibase client? like Special:UnconncetedPages
My reasoning is that the list you're implying can be obtained by getting Category:Featured articles directly but getting the list of articles in certain Wiki that their article in another Wiki is featured is not easy
No, the special page should be on the repo because this is the central place to query things. We might also create a special page on client which can query for all good or featured article on that particular wiki but I don't see the value such a special page would add to the special page on Wikidata.
This came up again on ptwiki.
https://pt.wikipedia.org/wiki/WP:Coordenação_robótica#Predefini.C3.A7.C3.B5es_substitu.C3.ADdas_pelo_Wikidata
How are other wikis working around this?
Is there a tool on Labs to provide this functionality? I didn't find anything related to badges in the directory of tools:
http://tools.wmflabs.org/hay/directory/#/search/badge
Would an i18n-based configuration work for Wikibase client?
E.g. MediaWiki:Wikibase-badge-category-featuredarticle would be Categoria:Voci in vetrina su $1 on itwiki, etc.
Helder: Bene was working on the task that is blocking this one. So some progress is being made.
A set of i18n messages, disabled by default, which, if set, would be rendered as categories based on the connected item's badges.
E.g. if MediaWiki:Wikibase-badge-category-featuredarticle is set to Featured articles on $1 and the item's dewiki sitelink has the featuredarticle badge, the page will get a Featured articles on dewiki category automatically.
This approach would be more similar to the one we're using on itwiki, but a special page may solve the problem too, and may be even more flexible.
Ah that makes sense. Is there a preference from anyone one way or the other? If so why?
I don't think anyone has a strong preference towards either. We just want to get rid of templates ASAP :)
Added more subscribers so they can have a say.
Still no tools. It might help to create an API, as that will let more developers access the data easily.
I cant see an API to query sitelinks filtered by 'with badges' and 'by language? e.g. I dont see a badges filter on:
https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities
Pywikibot has a patch for badges, which needs a bit of work. https://gerrit.wikimedia.org/r/#/c/131019/
The page doesn't work for me. All the options return zero results:
https://www.wikidata.org/wiki/Special:PagesWithBadges?badge=Q17437796
You need to run it on clients not repo, in repo you can simply go with whatlinkshere IIRC