Operator: Trialpears ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 10:26, Monday, November 4, 2019 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: Standard pywikibot
Function overview: Adding automatically generated short descriptions to some biographies
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Short descriptions#Automatic biography short descriptions
Edit period(s): One time run
Estimated number of pages affected: 200,000+
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: As discussed at Wikipedia talk:WikiProject Short descriptions#Automatic biography short descriptions, I've created a set of regular expressions to extract short descriptions of the form "[Nationality] [Career]" from the first sentance of the article lead. The main conditions on the generated short description is that they procede "[Name] is/was a/an", starts with a nationality on my list of nationalities and is at most 40 characters long as recommend by WP:SHORTDESC. If it doesn't fulfill these criteria the bot skips the article and attempts the same process for the next article. Using these criteria about 20% of biographies can get a short description based on my tests at User:Trialpears/Automatic biography short descriptions where 202 out of 1000 attempts generated a short description. This sample was considered acceptable for automatic application by the participants in the discussion linked above.
bots=PearBOT 5
parameter to facilitate tracking as discussed at
WT:WPSHORTDESC. ‑‑
Trialpears (
talk) 06:52, 12 November 2019 (UTC)
reply
Approved. Primefac ( talk) 18:41, 30 December 2019 (UTC) reply
Operator: Trialpears ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 10:26, Monday, November 4, 2019 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: Standard pywikibot
Function overview: Adding automatically generated short descriptions to some biographies
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Short descriptions#Automatic biography short descriptions
Edit period(s): One time run
Estimated number of pages affected: 200,000+
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: As discussed at Wikipedia talk:WikiProject Short descriptions#Automatic biography short descriptions, I've created a set of regular expressions to extract short descriptions of the form "[Nationality] [Career]" from the first sentance of the article lead. The main conditions on the generated short description is that they procede "[Name] is/was a/an", starts with a nationality on my list of nationalities and is at most 40 characters long as recommend by WP:SHORTDESC. If it doesn't fulfill these criteria the bot skips the article and attempts the same process for the next article. Using these criteria about 20% of biographies can get a short description based on my tests at User:Trialpears/Automatic biography short descriptions where 202 out of 1000 attempts generated a short description. This sample was considered acceptable for automatic application by the participants in the discussion linked above.
bots=PearBOT 5
parameter to facilitate tracking as discussed at
WT:WPSHORTDESC. ‑‑
Trialpears (
talk) 06:52, 12 November 2019 (UTC)
reply
Approved. Primefac ( talk) 18:41, 30 December 2019 (UTC) reply