Skip to content

Commit

Permalink
Fix: archiver on nlwikibots checks only if linked, not if it is a tem…
Browse files Browse the repository at this point in the history
…plate (T350534)

Co-authored-by: Andre Koopal <andre@molens.org>
  • Loading branch information
frankgeerlings and akoopal committed Nov 4, 2023
1 parent ebce8c9 commit d94f775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bots/archivering/archivering.py
Expand Up @@ -468,7 +468,7 @@ def main():

pywikibot.output(u'\n>> %s:%s<<\n' % (family, lang))
referredPage = pywikibot.Page(pywikibot.Site(code=lang, fam=family), linkingPageTitle)
gen = referredPage.getReferences()
gen = referredPage.getReferences(only_template_inclusion=True)
preloadingGen = pagegenerators.PreloadingGenerator(gen, groupsize=40)
bot = ArchivingRobot(preloadingGen, time.time(), pywikibot.Site(code=lang, fam=family), linkingPageTitle, acceptall)
bot.run()
Expand Down

0 comments on commit d94f775

Please sign in to comment.