Disable PreloadingGenerator temporarily

PreloadingGenerator mixes up yielded Pages. This is very unconvenient
for semi-automatic workflow with manual checks as the articles of the
RedFams were not following each other.

Related Task: [FS#148](https://fs.golderweb.de/index.php?do=details&task_id=148)
This commit is contained in:
2017-08-24 12:23:17 +02:00
parent ec8f459db5
commit 3aa6c5fb1c

View File

@@ -115,8 +115,12 @@ class MarkPagesBot( CurrentPageBot ): # sets 'current_page' on each treat()
self.genFactory.gens.append( self.redfam_talkpages_generator() ) self.genFactory.gens.append( self.redfam_talkpages_generator() )
# Set generator to pass to super class # Set generator to pass to super class
self.gen = pagegenerators.PreloadingGenerator( # Since PreloadingGenerator mixis up the Pages, do not use it right now
self.genFactory.getCombinedGenerator() ) # (FS#148)
# We can do so for automatic runs (FS#150)
# self.gen = pagegenerators.PreloadingGenerator(
# self.genFactory.getCombinedGenerator() )
self.gen = self.genFactory.getCombinedGenerator()
def redfam_talkpages_generator( self ): def redfam_talkpages_generator( self ):
""" """