Wikipedia:Bots/Requests for approval/Dexbot 12


 * 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

Dexbot 12
Operator:

Time filed: 20:36, Friday, September 10, 2021 (UTC)

Function overview: Adding sortkey to categories based on pattern recognition of sister categories.

Automatic, Supervised, or Manual: Automatic

Programming language(s): python

Source code available: From pywikibot

Links to relevant discussions (where appropriate):

Edit period(s): Monthly

Estimated number of pages affected: A couple thousand categories every month

Namespace(s): Category

Exclusion compliant (Yes/No): Yes

Function details: Here is a link to some test edits and  and

Discussion
Test edits 1 & 2 were not actually needed due to the DEFAULTSORT already matching the key value. Is there anyway to also check what that is set to before deciding if an edit is needed? -- WOSlinker (talk) 20:49, 10 September 2021 (UTC)
 * You could do like https://en.wikipedia.org/w/api.php?action=query&titles=Category:People%20from%20Raunds&prop=pageprops&ppprop=defaultsort&formatversion=2 Anomie⚔ 16:21, 11 September 2021 (UTC)
 * @Anomie@WOSlinker Thanks. Fixed. Can you take a look at the recent edits? Special:Diff/1045097487 Special:Diff/1045097468 Special:Diff/1045097446 Special:Diff/1045097508 Ladsgroupoverleg 19:52, 18 September 2021 (UTC)
 * Please notify WikiProject Categories, and expand the function details a bit (does "sister categories" mean the categories in the category hierarchy having the same parent cat, or the other categories present on the same page?). – SD0001  (talk) 14:53, 20 September 2021 (UTC)
 * @SD0001 Former (sister as having the same parent). I will notify WikiProject Categories Ladsgroupoverleg 12:40, 22 September 2021 (UTC)
 * Done: Wikipedia_talk:WikiProject_Categories Ladsgroupoverleg 12:42, 22 September 2021 (UTC)
 * Would it be possible to link to the source code? I'd be interested in seeing the pattern recognition heuristics you're using. Colin M (talk) 16:46, 22 September 2021 (UTC)
 * @Colin M It's pretty simple: Ladsgroupoverleg 13:47, 24 September 2021 (UTC)
 * For the trial edits, please link to this BRFA in the edit summary so that people know where to give feedback. – SD0001  (talk) 11:43, 28 September 2021 (UTC)
 * @SD0001 done Ladsgroupoverleg 15:36, 2 October 2021 (UTC)

Ladsgroupoverleg 21:10, 2 November 2021 (UTC)
 * Primefac (talk) 11:38, 11 November 2021 (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.