Parcourir la source

Mark WikiProjectTagger edits as minor.

tags/v0.3
Ben Kurtovic il y a 7 ans
Parent
révision
e41a178c05
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      earwigbot/tasks/wikiproject_tagger.py

+ 1
- 1
earwigbot/tasks/wikiproject_tagger.py Voir le fichier

@@ -304,7 +304,7 @@ class WikiProjectTagger(Task):
self.logger.debug(u"[DRY RUN] Banner: %s", banner)
else:
summary = job.summary.replace("$3", banner)
page.edit(text, self.make_summary(summary))
page.edit(text, self.make_summary(summary), minor=True)

def make_banner(self, job, code=None):
"""Return banner text to add based on a *job* and a page's *code*."""


Chargement…
Annuler
Enregistrer