Wikipedia:Bots/Requests for approval/PonoRoboT


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

PonoRoboT
Operator:

Time filed: 18:00, Tuesday, May 30, 2023 (UTC)

Function overview: Update Croatian settlement infoboxes with 2021 Census data.

Automatic, Supervised, or Manual: Fully supervised at first, then supervised on a random sample of edits (~10%) and all suspicious size changes.

Programming language(s): Python (my fork of mwparserfromhell; regex)

Source code available:

Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Croatia

Edit period(s): one time

Estimated number of pages affected: 3200

Namespace(s): Articles

Exclusion compliant (Yes/No): Yes

Function details: There's been a 10–15% population decline since the 2011 Croatian census. I have a bot (nearly) ready to update Infobox settlement population parameters (for settlements, municipalities and towns) and  (for municipalities and towns). The same bot (editcount) and the same data have been used for 7000 new transclusions of hr:Template:Croatian population data graph and, just recently, for 30 000 Wikidata QuickStatements. The bot will:
 * update (or add) the two parameters, and update
 * in some articles, blank the values of other parameters that have been previously used instead of the two
 * replace the reference in with the newly created, and if the old named reference is used outside of the template replace it with the full (old) citation

My preliminary tests were Special:Diff/1156055989, Special:Diff/1156056334, Special:Diff/1156054662.

Discussion

 * Hi. Where (and how) is the bot getting the updated census stats from? —usernamekiran (talk) 10:04, 31 May 2023 (UTC)
 * @Usernamekiran: in September 2022 the statistics bureau published their final results for 6700+ settlements as one xslx file (subst'ing the beforementioned template):


 * It took some time to match their data to hrwiki article names and WD Qids, but I'm quite confident I got everything right. Ponor (talk) 10:43, 31 May 2023 (UTC)
 * Thank you. —usernamekiran (talk) 10:47, 31 May 2023 (UTC)
 * Primefac (talk) 08:32, 7 June 2023 (UTC)
 * Link to relevant contributions No errors, no major issues encountered. Ponor (talk) 14:23, 14 September 2023 (UTC)
 * Primefac (talk) 09:56, 20 September 2023 (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 Bots/Noticeboard.