Operator: Tokenzero ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:22, Sunday, May 6, 2018 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: github
Function overview: Fill 'abbreviation' parameter in 'infobox journals' in trivial cases.
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Academic Journals
Edit period(s): twice a week
Estimated number of pages affected: roughly 80 once + 1 per week
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: The bot would handle
Category:Infobox journals with missing ISO 4 abbreviations in some easy cases, as requested by @
Headbomb:. Specifically, for every {{
infobox journal}} that has no or empty |abbreviation=
, it computes the
ISO 4 abbreviation using
the tool (already used by
TokenzeroBot) and would fill it into the infobox only if the computed abbreviation actually has nothing abbreviated (so it is equal to the title, up to removing 'a'/'the' and disambigs like '(journal)')). A common case is when the title is a single word, in which case ISO 4 specifies that the word should be left unabbreviated. (We display these trivial abbreviations to make it clear that this is ISO 4, to be consistent with existing filled infoboxes).
To be safe, I would skip pages where the infobox title and article title don't match. A single run would fix ~80 of the 900 pages in the category. Then it could run together with TokenzeroBot 2 (which runs ~twice a week), to handle newly created infoboxes. I tested the code on one edit, see example diff.
Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Headbomb { t · c · p · b} 19:10, 9 May 2018 (UTC) reply
Log
|
---|
--Filling "Iyyun" with abbrev "Iyyun" --Filling "Läkartidningen" with abbrev "Läkartidningen" --Filling "Landscope" with abbrev "Landscope" --Filling "The Laryngoscope" with abbrev "Laryngoscope" --Filling "Lethaia" with abbrev "Lethaia" --Filling "Literal Latte" with abbrev "Literal Latte" --Filling "Lituanus" with abbrev "Lituanus" --Filling "Lung India" with abbrev "Lung India" --Filling "Magallania" with abbrev "Magallania" --Filling "Manuscripta" with abbrev "Manuscripta" --Filling "Middle East Critique" with abbrev "Middle East Critique" --Filling "Middle East Policy" with abbrev "Middle East Policy" --Filling "Mikroglottika" with abbrev "Mikroglottika" --Filling "Mouseion" with abbrev "Mouseion" --Filling "MUSICultures" with abbrev "MUSICultures" --Filling "MycoKeys" with abbrev "MycoKeys" --Filling "Neurocase" with abbrev "Neurocase" --Filling "NeuroImage" with abbrev "NeuroImage" --Filling "The Neuroscientist" with abbrev "Neuroscientist" --Filling "New Blackfriars" with abbrev "New Blackfriars" --Filling "New West Indian Guide" with abbrev "New West Indian Guide" --Filling "Novi Plamen" with abbrev "Novi Plamen" --Filling "The Numismatist" with abbrev "Numismatist" --Filling "Palaeoworld" with abbrev "Palaeoworld" --Filling "Party Politics" with abbrev "Party Politics" --Filling "Pathologica" with abbrev "Pathologica" --Filling "Per Linguam" with abbrev "Per Linguam" --Filling "The Philosopher" with abbrev "Philosopher" --Filling "Phylon" with abbrev "Phylon" --Filling "The Pinch" with abbrev "Pinch" --Filling "The Plant Cell" with abbrev "Plant Cell" --Filling "Ploughshares" with abbrev "Ploughshares" --Filling "The Pomegranate" with abbrev "Pomegranate" --Filling "Praksis" with abbrev "Praksis" --Filling "Public Health Ethics" with abbrev "Public Health Ethics" --Filling "Semiotica" with abbrev "Semiotica" --Filling "Sexologies" with abbrev "Sexologies" --Filling "SNReview" with abbrev "SNReview" --Filling "Spaceflight" with abbrev "Spaceflight" --Filling "Stenopetala" with abbrev "Stenopetala" --Filling "StoryQuarterly" with abbrev "StoryQuarterly" --Filling "SubStance" with abbrev "SubStance" --Filling "Synthese" with abbrev "Synthese" --Filling "T'oung Pao" with abbrev "T'oung Pao" --Filling "Themelios" with abbrev "Themelios" --Filling "Third Text" with abbrev "Third Text" --Filling "Trajecta" with abbrev "Trajecta" --Filling "Vikublaðið" with abbrev "Vikublaðið" --Filling "Voting matters" with abbrev "Voting matters" --Filling "Water SA" with abbrev "Water SA" --Filling "Winterthur Portfolio" with abbrev "Winterthur Portfolio" |
Approved. Headbomb { t · c · p · b} 00:42, 18 June 2018 (UTC) reply