-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy button to open linked Wikidata item #311
Comments
OK can you explain how that can be done? How do you even retrieve name of that "linked Wikidata item" |
https://www.wikidata.org/wiki/Special:ItemByTitle/enwiki/Berlin for example would work :) |
But it would also be cool to only show the link if the article is actually linked to a wikidata item. |
I don't know if this is possible to bundle and I don't even know the API call, that link you gave me is definitely not an API :P Given that wikidata is very WMF specific thing, this should be made as an extension, but that's just a self-note |
Well, this is the link the button would need to link to ;) But no, not really an API. is there currently an API query that is made for each diff the user looks at?
A Wikidata support extension could generally be quite a good idea. |
@addshore there is several API calls done for each diff, this one is done for each https://github.com/huggle/huggle3-qt-lx/blob/master/src/huggle_core/wikiedit.cpp#L611 |
there are 2 api calls at least since MW no longer support obtaining of diff via same query as revision info, we also do other separate API queries, for each diff we also retrieve info about user who made it, their talk page (to parse warnings) and also page history to find who is founder of page |
@addshore if you are coming to hackathon this year we could create this extension in JS engine ;) |
While patrolling enwiki vandalism it would be great to be able to quickly open Wikidata for the respected article to allow checking of facts, for example when a data of birth is changed, i want to go to wikidata, look at the references and see what is actually right.
The text was updated successfully, but these errors were encountered: