@@ -27,7 +27,7 @@ __all__ = ["Task"] | |||||
class Task(BaseTask): | class Task(BaseTask): | ||||
"""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 = "blptag" | |||||
name = "blp_tag" | |||||
def setup(self): | def setup(self): | ||||
pass | pass |
@@ -20,13 +20,13 @@ | |||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
# SOFTWARE. | # SOFTWARE. | ||||
from earwigbot.tasks import BaseTask | |||||
from earwigbot.tasks import Task | |||||
__all__ = ["Task"] | |||||
__all__ = ["ImageDisplayResize"] | |||||
class Task(BaseTask): | |||||
"""A task to create daily categories for [[WP:FEED]].""" | |||||
name = "feed_dailycats" | |||||
class ImageDisplayResize(Task): | |||||
"""A task to resize upscaled portraits in infoboxes.""" | |||||
name = "image_display_resize" | |||||
def setup(self): | def setup(self): | ||||
pass | pass |
@@ -27,7 +27,7 @@ __all__ = ["Task"] | |||||
class Task(BaseTask): | class Task(BaseTask): | ||||
"""A task to tag files whose extensions do not agree with their MIME | """A task to tag files whose extensions do not agree with their MIME | ||||
type.""" | type.""" | ||||
name = "wrongmime" | |||||
name = "wrong_mime" | |||||
def setup(self): | def setup(self): | ||||
pass | pass |