Page MenuHomePhabricator

pywikibot to group the same references
Open, Needs TriagePublic


Hello. I have been wondering if pywikibot can automatically group the same references in an article. For example, this edit was made by AutoWikiBrowser, showing that <ref>[ Sulawesi Barat Dalam Angka 2016], BPS</ref> was grouped in a ref name "Sulawesi Barat Dalam Angka 2016".

Looking at does not state that pywikibot can handle such thing. If it is possible, please add this functionality to the bot script. Thanks!

Event Timeline

Rachmat04 created this task.Jun 9 2018, 5:52 AM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptJun 9 2018, 5:52 AM

See also this java code from WPCleaner that does this task. Note that script need to handle ref group names.

Vvjjkkii renamed this task from pywikibot to group the same references to mcbaaaaaaa.Jul 1 2018, 1:05 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from mcbaaaaaaa to pywikibot to group the same references.Jul 2 2018, 3:02 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.