Hi Max,

have you tried
https://en.wikipedia.org/wiki/Special:RecentChangesLinked/Category:Cite_doi_templates
?

Cheers,

Daniel
--
http://www.naturkundemuseum-berlin.de/en/institution/mitarbeiter/mietchen-daniel/
https://en.wikipedia.org/wiki/User:Daniel_Mietchen/Publications
http://okfn.org
http://wikimedia.org


On Wed, May 21, 2014 at 2:03 AM, Maximilian Klein <isa...@gmail.com> wrote:
> Hello All,
>
> I'm working on the Open-Access Signalling Project[1], which aims to signal
> and badge when a reference in Wikipedia is Open Access source. I'm writing
> the bot at the moment to do this, and I'm encountering a question - how do I
> keep track of the values of the template {{Cite doi | doi=value}}, in as
> close to real-time as possible?
>
> The most efficient approach I can come up with is to query the SQL servers
> on Labs in constant loop, returning the results of "What transcludes {{Cite
> doi}}" and seeing if the last_edited timestamp is newer than previous? If
> the last_edit is newer, then get the content of the page and see if the
> {{Cite_doi}} value has changed, checking against a local database.
>
> This seems horribly inefficient still. Is there a hook to know when a
> template on a page has been edited, rather than having to check every time
> the page has been edited?
>
> This is possibly not the right list for this question. If not, which other
> would you suggest? Wikitech-l did not seem right either?
>
> Thanks in advance,
>
> Max Klein
> ‽ http://notconfusing.com/
>
> [1]
> https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Open_Access/Signalling_OA-ness
>
> _______________________________________________
> Wiki-research-l mailing list
> Wiki-research-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
>

_______________________________________________
Wiki-research-l mailing list
Wiki-research-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wiki-research-l

Reply via email to