wpoa / OA-signalling

A project to coordinate implementing a system to signal whether references cited on Wikipedia are free to reuse
https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Open_Access/Signalling_OA-ness
GNU General Public License v3.0
20 stars 4 forks source link

Refurbish Re-CitationBot #127

Open Daniel-Mietchen opened 8 years ago

Daniel-Mietchen commented 8 years ago

Re-CitationBot currently does three main things:

Over time, it is also to take on part or all of the following functions:

There are a number of issues around that, which we will explore in more detail later. Some of the more urgent ones:

Pinging #118.

Daniel-Mietchen commented 8 years ago

To get started, I am now giving the bot a test run and documenting what happens.

notconfusing commented 8 years ago

I think the invalid mediawiki version is an error I encountered before that requires an update of pywikibot @difranco On 11 Dec 2015 4:06 p.m., "Daniel Mietchen" notifications@github.com wrote:

To get started, I am now giving the bot a test run and documenting what happens.

— Reply to this email directly or view it on GitHub https://github.com/wpoa/OA-signalling/issues/127#issuecomment-164062353.

difranco commented 8 years ago

I've sat down with Max and we've figured this out. Moving on to the improvements.

difranco commented 8 years ago

I've made a quick update to cocytus to check for license data on added DOIs against the crossref api, just logs for now, next step would be to have it stick them in the appropriate part of the recitation-bot queue.

[futures 9643ec5] add checking crossref api for license info

difranco commented 8 years ago

I'm looking at the other Feb. milestone in the proposal doc right now, "February 2016: Citation information from Wikidata can be transcluded into English Wikipedia and English Wikisource through Wikidata-supported {{Cite doi}} templates"

To come up with the approach I need to take I'm reviewing how the {{cite doi}} templates work and trying to find the relevant pywikibot documentation. I found some signs that this is in flux / has been deprecated in favor of {{cite journal|doi}} and that the relevant distinction is that this changes from making one template per doi to a single journal template that references other documents by doi. Not sure yet what state the data is in or what implications these two ways things have been done might have. Lengthy discussion which I am trying to assimilate the upshots of at https://en.wikipedia.org/wiki/Template_talk:Cite_doi/Archive_1#RfC:_Should_Template:cite_doi_cease_creating_a_separate_subpage_for_each_DOI.3F

Would appreciate any pointers you can provide to quality information on this, @Daniel-Mietchen and @notconfusing

Daniel-Mietchen commented 8 years ago

Yes, the {{Cite doi}} template has been deprecated on the English Wikipedia, and citations are handled instead through Module:Citation/CS1, which is used indirectly via citation templates that the community liked better than the {{Cite doi}} ones. A version of Module:Citation/CS1 also exists on the English Wikisource. As far as I can tell, those templates and modules do not make use of Wikidata yet, at least not for bibliographic metadata.

Closer to our goals of pulling bibliographic information from Wikidata is thus Module:Cite on the English Wikipedia, but it is in a very raw state and while good for experimentation in user or project namespaces, it is not fit for the article namespace yet.

We have a similar Lua module on the French Wikipedia that has begun to be used in templates in their main namespace, even though it still needs quite some work, and we have another such Lua module on Wikidata itself that has some basic functionality:

My approach would be to start improving Module:Cite on Wikidata first, so that all test articles display correctly first on Wikidata, then improve its counterpart on the English Wikipedia and then the English Wikisource (once a Lua module works fine on one wiki, getting it to work on another wiki is relatively straightforward), while keeping an eye on how things develop on the French Wikipedia.

In doing this, we might get help from places like Wikipedia:Lua/Requests but I haven't tried that yet.