Explorar el Código

Mark WikiProjectTagger edits as minor.

tags/v0.3
Ben Kurtovic hace 7 años
padre
commit
e41a178c05
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      earwigbot/tasks/wikiproject_tagger.py

+ 1
- 1
earwigbot/tasks/wikiproject_tagger.py Ver fichero

@@ -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*."""


Cargando…
Cancelar
Guardar