Wikipedia:Bots/Requests for approval/Dexbot 12: Difference between revisions
→Dexbot 12: DEFAULTSORT key |
→Discussion: re |
||
Line 49: | Line 49: | ||
<!-- This is not a vote. It is a discussion --> |
<!-- This is not a vote. It is a 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? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 20:49, 10 September 2021 (UTC) |
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? -- [[User:WOSlinker|WOSlinker]] ([[User talk: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 [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 16:21, 11 September 2021 (UTC) |
Revision as of 16:21, 11 September 2021
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Ladsgroup (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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 [1] and [2] and [3]
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)