Kaynağa Gözat

Remove image_display_resize.

pull/10/merge
Ben Kurtovic 8 yıl önce
ebeveyn
işleme
83b7e46dca
2 değiştirilmiş dosya ile 2 ekleme ve 38 silme
  1. +2
    -4
      README.md
  2. +0
    -34
      tasks/image_display_resize.py

+ 2
- 4
README.md Dosyayı Görüntüle

@@ -73,8 +73,8 @@ Bot Tasks
violations using the bot's built-in copyvio checking support. Takes multiple
config values, including connection info for a MySQL database to store
processed pages and a cache (disabled by default; usable by the
[toolserver interface](https://toolserver.org/~earwig/copyvios)). A script to
create the database is in `tasks/schema/afc_copyvios.sql`.
[web interface](https://tools.wmflabs.org/copyvios)). A script to create the
database is in `tasks/schema/afc_copyvios.sql`.

- **afc_dailycats**: creates daily, monthly, and yearly categories for AFC.

@@ -101,7 +101,5 @@ Bot Tasks
config values, including MySQL database info. A script to create the database
is in `tasks/schema/drn_clerkbot.sql`.

- **image_display_resize**: resizes upscaled portraits in infoboxes.

- **infobox_station**: replaces specific deprecated infoboxes following a
template discussion.

+ 0
- 34
tasks/image_display_resize.py Dosyayı Görüntüle

@@ -1,34 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2014 Ben Kurtovic <ben.kurtovic@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

from earwigbot.tasks import Task

class ImageDisplayResize(Task):
"""A task to resize upscaled portraits in infoboxes."""
name = "image_display_resize"
number = 13

def setup(self):
pass

def run(self, **kwargs):
pass

Yükleniyor…
İptal
Kaydet