Task/s: Setting ISO-639 codes for languages, and adding English labels where they are not already present.
The ISO-639-1/2/3 codes were extracted from w:en:Template:Infobox language, and the labels come from the SIL ISO-639-3 database (specifically, the Name Index). If no English label is present, an arbitrary print name is chosen. The other print names will be added as aliases, even if there is already an English label. If there is a disagreement between any language codes already present on the page and the extracted data, no labels/aliases are touched and that code is not added. Also, the item will be marked as instance of (P31)language (Q34770).
--KleptomaniacViolet (talk) 17:57, 31 August 2013 (UTC)
Since no-one said 'no, that's stupid', I went ahead and did a test run on a sample of entries. The only serious hiccup was American English (Q7976) claiming to represent ISO-639-3 eng (not itself necessarily a problem) and so having 'English' added as an alias (actually a problem). So now the bot checks that each extracted code is unique before doing anything, and bails if it's not. Some example items it's touched: Cornish (Q25289), Mahongwe (Q35816), Bargam (Q4860543). KleptomaniacViolet (talk) 14:10, 1 September 2013 (UTC)
Support all looks good to me. Danrok (talk) 00:12, 4 September 2013 (UTC)
The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.