ソースを参照

Rename tasks, remove feed_dailycats, add image_display_resize.

tags/v0.1^2
Ben Kurtovic 12年前
コミット
17c99248ce
3個のファイルの変更7行の追加7行の削除
  1. +1
    -1
      earwigbot/tasks/blp_tag.py
  2. +5
    -5
      earwigbot/tasks/image_display_resize.py
  3. +1
    -1
      earwigbot/tasks/wrong_mime.py

earwigbot/tasks/blptag.py → earwigbot/tasks/blp_tag.py ファイルの表示

@@ -27,7 +27,7 @@ __all__ = ["Task"]
class Task(BaseTask):
"""A task to add |blp=yes to ``{{WPB}}`` or ``{{WPBS}}`` when it is used
along with ``{{WP Biography}}``."""
name = "blptag"
name = "blp_tag"

def setup(self):
pass

earwigbot/tasks/feed_dailycats.py → earwigbot/tasks/image_display_resize.py ファイルの表示

@@ -20,13 +20,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# 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):
pass

earwigbot/tasks/wrongmime.py → earwigbot/tasks/wrong_mime.py ファイルの表示

@@ -27,7 +27,7 @@ __all__ = ["Task"]
class Task(BaseTask):
"""A task to tag files whose extensions do not agree with their MIME
type."""
name = "wrongmime"
name = "wrong_mime"

def setup(self):
pass

読み込み中…
キャンセル
保存