Browse Source

Specify task numbers.

pull/15/head
Ben Kurtovic 11 years ago
parent
commit
e3e8c3769a
4 changed files with 4 additions and 0 deletions
  1. +1
    -0
      tasks/afc_catdelink.py
  2. +1
    -0
      tasks/afc_undated.py
  3. +1
    -0
      tasks/blp_tag.py
  4. +1
    -0
      tasks/image_display_resize.py

+ 1
- 0
tasks/afc_catdelink.py View File

@@ -26,6 +26,7 @@ class AFCCatDelink(Task):
"""A task to delink mainspace categories in declined [[WP:AFC]] """A task to delink mainspace categories in declined [[WP:AFC]]
submissions.""" submissions."""
name = "afc_catdelink" name = "afc_catdelink"
number = 8


def setup(self): def setup(self):
pass pass


+ 1
- 0
tasks/afc_undated.py View File

@@ -27,6 +27,7 @@ from earwigbot.tasks import Task
class AFCUndated(Task): class AFCUndated(Task):
"""A task to clear [[Category:Undated AfC submissions]].""" """A task to clear [[Category:Undated AfC submissions]]."""
name = "afc_undated" name = "afc_undated"
number = 5


def setup(self): def setup(self):
cfg = self.config.tasks.get(self.name, {}) cfg = self.config.tasks.get(self.name, {})


+ 1
- 0
tasks/blp_tag.py View File

@@ -26,6 +26,7 @@ class BLPTag(Task):
"""A task to add |blp=yes to ``{{WPB}}`` or ``{{WPBS}}`` when it is used """A task to add |blp=yes to ``{{WPB}}`` or ``{{WPBS}}`` when it is used
along with ``{{WP Biography}}``.""" along with ``{{WP Biography}}``."""
name = "blp_tag" name = "blp_tag"
number = 12


def setup(self): def setup(self):
pass pass


+ 1
- 0
tasks/image_display_resize.py View File

@@ -25,6 +25,7 @@ from earwigbot.tasks import Task
class ImageDisplayResize(Task): class ImageDisplayResize(Task):
"""A task to resize upscaled portraits in infoboxes.""" """A task to resize upscaled portraits in infoboxes."""
name = "image_display_resize" name = "image_display_resize"
number = 13


def setup(self): def setup(self):
pass pass


Loading…
Cancel
Save