Wikipedia:Bots/Requests for approval/Bibcode Bot 2


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was

Bibcode Bot 2
Operator:

Time filed: 20:58, Wednesday, October 4, 2017 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python/pywikipedia

Source code available: Ask

Function overview: Update old bibcodes to current bibcodes

Links to relevant discussions (where appropriate):

Edit period(s): Couple of times a month

Estimated number of pages affected: ~100-1000

Namespace(s): Mainspace/Template/Wikikpedia spaces mostly

Exclusion compliant (Yes/No): No

Function details:

Some citations have old/outdated bibcodes, e.g. The bot will query the ADSABS database with the listed bibcode and compare with the bibcode listed on ADSABS. If the bibcodes are different, then will should update the bibcode to the one found on the ADSABS database. This will mostly affect 'temporary' bibcodes like those based on arxiv preprints, but will also update other 'old' bibcodes to 'modern' ones.

Don't really see this as substantially different than the first BRFA, but I figured I'd file one for good form. I figure speedy approval is appropriate, since I'll be doing testing once I get the updated code from User:&Delta; anyway.

Discussion

 * Hmmm...So why exactly do these conversion need to be done? If the old links are still functional, why change them?— CYBERPOWER  ( Message ) 23:09, 4 October 2017 (UTC)
 * Because they're not the canonical bibcode (the principle of least astonishment applies), and old ones eventually gets deprecated. Headbomb {t · c · p · b} 23:11, 4 October 2017 (UTC)
 * Alright then. No disrespect to beta, but this should still go through a trial.  — CYBERPOWER  ( Message ) 23:14, 4 October 2017 (UTC)
 * Fair enough. Might be tricky to do a clean run of 50 bibcode updates, but I can do a run that'll find something to update during its 50 edits. Headbomb {t · c · p · b} 23:17, 4 October 2017 (UTC)
 * This is currently on hold due to ADSADS database issues. Investigating. But the bot code did work. See contribs search for "updating" in the edit summaries. The first 10 or so edits had a bug related to ampersands (e.g. ) but that's been fixed. Headbomb {t · c · p · b} 21:46, 8 October 2017 (UTC)


 * — CYBER POWER  ( Trick or Treat) 16:34, 17 October 2017 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.