Page MenuHomePhabricator doesn't check existing "autogenerated" tags
Open, Needs TriagePublic


For example, have a look at the diff:

The bot assigned ref-tags "autogenerated2", "autogenerated3", "autogenerated4" but those refnames were already used in the article and that resulted in the error - the same refname assigned to different links.

Fortunately, the bot fix it itself during the next edits:

But I think it will be more correct to check existing refnames before they are assigned by the script

Event Timeline

Rubin16 created this task.Mar 5 2016, 1:45 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptMar 5 2016, 1:45 PM
Dalba removed a subscriber: Pywikibot.Mar 5 2016, 1:51 PM
id = 1
while self.autogen + str(id) in foundRefNames:
    id += 1