Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Yardım
Giriş Yap
ben
/
earwigbot
şunun yansıması
https://github.com/earwig/earwigbot
İzle
1
Yıldızla
1
Çatalla
0
Kod
Sürümler
4
Aktivite
Kaynağa Gözat
Remove useless __all__ from commands and tasks.
tags/v0.1^2
Ben Kurtovic
12 yıl önce
ebeveyn
e9be04de37
işleme
844e3a5f8e
35 değiştirilmiş dosya
ile
0 ekleme
ve
70 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+0
-2
earwigbot/commands/afc_pending.py
+0
-2
earwigbot/commands/afc_report.py
+0
-2
earwigbot/commands/afc_status.py
+0
-2
earwigbot/commands/afc_submissions.py
+0
-2
earwigbot/commands/calc.py
+0
-2
earwigbot/commands/chanops.py
+0
-2
earwigbot/commands/crypt.py
+0
-2
earwigbot/commands/ctcp.py
+0
-2
earwigbot/commands/editcount.py
+0
-2
earwigbot/commands/geolocate.py
+0
-2
earwigbot/commands/git.py
+0
-2
earwigbot/commands/help.py
+0
-2
earwigbot/commands/langcode.py
+0
-2
earwigbot/commands/link.py
+0
-2
earwigbot/commands/notes.py
+0
-2
earwigbot/commands/praise.py
+0
-2
earwigbot/commands/quit.py
+0
-2
earwigbot/commands/registration.py
+0
-2
earwigbot/commands/remind.py
+0
-2
earwigbot/commands/replag.py
+0
-2
earwigbot/commands/rights.py
+0
-2
earwigbot/commands/test.py
+0
-2
earwigbot/commands/threads.py
+0
-2
earwigbot/commands/time.py
+0
-2
earwigbot/commands/trout.py
+0
-2
earwigbot/tasks/afc_catdelink.py
+0
-2
earwigbot/tasks/afc_copyvios.py
+0
-2
earwigbot/tasks/afc_dailycats.py
+0
-2
earwigbot/tasks/afc_history.py
+0
-2
earwigbot/tasks/afc_statistics.py
+0
-2
earwigbot/tasks/afc_undated.py
+0
-2
earwigbot/tasks/blp_tag.py
+0
-2
earwigbot/tasks/image_display_resize.py
+0
-2
earwigbot/tasks/wikiproject_tagger.py
+0
-2
earwigbot/tasks/wrong_mime.py
+ 0
- 2
earwigbot/commands/afc_pending.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.commands import Command
__all__ = ["AFCPending"]
class AFCPending(Command):
"""Link the user to the pending AFC submissions page and category."""
name = "pending"
+ 0
- 2
earwigbot/commands/afc_report.py
Dosyayı Görüntüle
@@ -23,8 +23,6 @@
from earwigbot import wiki
from earwigbot.commands import Command
__all__ = ["AFCReport"]
class AFCReport(Command):
"""Get information about an AFC submission by name."""
name = "report"
+ 0
- 2
earwigbot/commands/afc_status.py
Dosyayı Görüntüle
@@ -24,8 +24,6 @@ import re
from earwigbot.commands import Command
__all__ = ["AFCStatus"]
class AFCStatus(Command):
"""Get the number of pending AfC submissions, open redirect requests, and
open file upload requests."""
+ 0
- 2
earwigbot/commands/afc_submissions.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.commands import Command
__all__ = ["AFCSubmissions"]
class AFCSubmissions(Command):
"""Link the user directly to some pending AFC submissions."""
name = "submissions"
+ 0
- 2
earwigbot/commands/calc.py
Dosyayı Görüntüle
@@ -25,8 +25,6 @@ import urllib
from earwigbot.commands import Command
__all__ = ["Calc"]
class Calc(Command):
"""A somewhat advanced calculator: see http://futureboy.us/fsp/frink.fsp
for details."""
+ 0
- 2
earwigbot/commands/chanops.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.commands import Command
__all__ = ["ChanOps"]
class ChanOps(Command):
"""Voice, devoice, op, or deop users in the channel, or join or part from
other channels."""
+ 0
- 2
earwigbot/commands/crypt.py
Dosyayı Görüntüle
@@ -26,8 +26,6 @@ from Crypto.Cipher import Blowfish
from earwigbot.commands import Command
__all__ = ["Crypt"]
class Crypt(Command):
"""Provides hash functions with !hash (!hash list for supported algorithms)
and Blowfish encryption with !encrypt and !decrypt."""
+ 0
- 2
earwigbot/commands/ctcp.py
Dosyayı Görüntüle
@@ -26,8 +26,6 @@ import time
from earwigbot import __version__
from earwigbot.commands import Command
__all__ = ["CTCP"]
class CTCP(Command):
"""Not an actual command; this module implements responses to the CTCP
requests PING, TIME, and VERSION."""
+ 0
- 2
earwigbot/commands/editcount.py
Dosyayı Görüntüle
@@ -25,8 +25,6 @@ from urllib import quote_plus
from earwigbot import exceptions
from earwigbot.commands import Command
__all__ = ["Editcount"]
class Editcount(Command):
"""Return a user's edit count."""
name = "editcount"
+ 0
- 2
earwigbot/commands/geolocate.py
Dosyayı Görüntüle
@@ -25,8 +25,6 @@ import urllib2
from earwigbot.commands import Command
__all__ = ["Geolocate"]
class Geolocate(Command):
"""Geolocate an IP address (via http://ipinfodb.com/)."""
name = "geolocate"
+ 0
- 2
earwigbot/commands/git.py
Dosyayı Görüntüle
@@ -26,8 +26,6 @@ import git
from earwigbot.commands import Command
__all__ = ["Git"]
class Git(Command):
"""Commands to interface with the bot's git repository; use '!git' for a
sub-command list."""
+ 0
- 2
earwigbot/commands/help.py
Dosyayı Görüntüle
@@ -24,8 +24,6 @@ import re
from earwigbot.commands import Command
__all__ = ["Help"]
class Help(Command):
"""Displays help information."""
name = "help"
+ 0
- 2
earwigbot/commands/langcode.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.commands import Command
__all__ = ["Langcode"]
class Langcode(Command):
"""Convert a language code into its name and a list of WMF sites in that
language."""
+ 0
- 2
earwigbot/commands/link.py
Dosyayı Görüntüle
@@ -25,8 +25,6 @@ from urllib import quote
from earwigbot.commands import Command
__all__ = ["Link"]
class Link(Command):
"""Convert a Wikipedia page name into a URL."""
name = "link"
+ 0
- 2
earwigbot/commands/notes.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.commands import Command
__all__ = ["Notes"]
class Notes(Command):
"""A mini IRC-based wiki for storing notes, tips, and reminders."""
name = "notes"
+ 0
- 2
earwigbot/commands/praise.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.commands import Command
__all__ = ["Praise"]
class Praise(Command):
"""Praise people!"""
name = "praise"
+ 0
- 2
earwigbot/commands/quit.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.commands import Command
__all__ = ["Quit"]
class Quit(Command):
"""Quit, restart, or reload components from the bot. Only the owners can
run this command."""
+ 0
- 2
earwigbot/commands/registration.py
Dosyayı Görüntüle
@@ -25,8 +25,6 @@ import time
from earwigbot import exceptions
from earwigbot.commands import Command
__all__ = ["Registration"]
class Registration(Command):
"""Return when a user registered."""
name = "registration"
+ 0
- 2
earwigbot/commands/remind.py
Dosyayı Görüntüle
@@ -25,8 +25,6 @@ import time
from earwigbot.commands import Command
__all__ = ["Remind"]
class Remind(Command):
"""Set a message to be repeated to you in a certain amount of time."""
name = "remind"
+ 0
- 2
earwigbot/commands/replag.py
Dosyayı Görüntüle
@@ -26,8 +26,6 @@ import oursql
from earwigbot.commands import Command
__all__ = ["Replag"]
class Replag(Command):
"""Return the replag for a specific database on the Toolserver."""
name = "replag"
+ 0
- 2
earwigbot/commands/rights.py
Dosyayı Görüntüle
@@ -23,8 +23,6 @@
from earwigbot import exceptions
from earwigbot.commands import Command
__all__ = ["Rights"]
class Rights(Command):
"""Retrieve a list of rights for a given username."""
name = "rights"
+ 0
- 2
earwigbot/commands/test.py
Dosyayı Görüntüle
@@ -24,8 +24,6 @@ import random
from earwigbot.commands import Command
__all__ = ["Test"]
class Test(Command):
"""Test the bot!"""
name = "test"
+ 0
- 2
earwigbot/commands/threads.py
Dosyayı Görüntüle
@@ -25,8 +25,6 @@ import re
from earwigbot.commands import Command
__all__ = ["Threads"]
class Threads(Command):
"""Manage wiki tasks from IRC, and check on thread status."""
name = "threads"
+ 0
- 2
earwigbot/commands/time.py
Dosyayı Görüntüle
@@ -31,8 +31,6 @@ except ImportError:
from earwigbot.commands import Command
__all__ = ["Time"]
class Time(Command):
"""Report the current time in any timezone (UTC default), or in beats."""
name = "time"
+ 0
- 2
earwigbot/commands/trout.py
Dosyayı Görüntüle
@@ -24,8 +24,6 @@ from unicodedata import normalize
from earwigbot.commands import Command
__all__ = ["Trout"]
class Trout(Command):
"""Slap someone with a trout, or related fish."""
name = "trout"
+ 0
- 2
earwigbot/tasks/afc_catdelink.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.tasks import Task
__all__ = ["AFCCatDelink"]
class AFCCatDelink(Task):
"""A task to delink mainspace categories in declined [[WP:AFC]]
submissions."""
+ 0
- 2
earwigbot/tasks/afc_copyvios.py
Dosyayı Görüntüle
@@ -28,8 +28,6 @@ import oursql
from earwigbot.tasks import Task
__all__ = ["AFCCopyvios"]
class AFCCopyvios(Task):
"""A task to check newly-edited [[WP:AFC]] submissions for copyright
violations."""
+ 0
- 2
earwigbot/tasks/afc_dailycats.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.tasks import Task
__all__ = ["AFCDailyCats"]
class AFCDailyCats(Task):
""" A task to create daily categories for [[WP:AFC]]."""
name = "afc_dailycats"
+ 0
- 2
earwigbot/tasks/afc_history.py
Dosyayı Görüntüle
@@ -34,8 +34,6 @@ import oursql
from earwigbot import wiki
from earwigbot.tasks import Task
__all__ = ["AFCHistory"]
class AFCHistory(Task):
"""A task to generate charts about AfC submissions over time.
+ 0
- 2
earwigbot/tasks/afc_statistics.py
Dosyayı Görüntüle
@@ -32,8 +32,6 @@ from earwigbot import exceptions
from earwigbot import wiki
from earwigbot.tasks import Task
__all__ = ["AFCStatistics"]
class AFCStatistics(Task):
"""A task to generate statistics for WikiProject Articles for Creation.
+ 0
- 2
earwigbot/tasks/afc_undated.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.tasks import Task
__all__ = ["AFCUndated"]
class AFCUndated(Task):
"""A task to clear [[Category:Undated AfC submissions]]."""
name = "afc_undated"
+ 0
- 2
earwigbot/tasks/blp_tag.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.tasks import Task
__all__ = ["BLPTag"]
class BLPTag(Task):
"""A task to add |blp=yes to ``{{WPB}}`` or ``{{WPBS}}`` when it is used
along with ``{{WP Biography}}``."""
+ 0
- 2
earwigbot/tasks/image_display_resize.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.tasks import Task
__all__ = ["ImageDisplayResize"]
class ImageDisplayResize(Task):
"""A task to resize upscaled portraits in infoboxes."""
name = "image_display_resize"
+ 0
- 2
earwigbot/tasks/wikiproject_tagger.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.tasks import Task
__all__ = ["WikiProjectTagger"]
class WikiProjectTagger(Task):
"""A task to tag talk pages with WikiProject Banners."""
name = "wikiproject_tagger"
+ 0
- 2
earwigbot/tasks/wrong_mime.py
Dosyayı Görüntüle
@@ -22,8 +22,6 @@
from earwigbot.tasks import Task
__all__ = ["WrongMIME"]
class WrongMIME(Task):
"""A task to tag files whose extensions do not agree with their MIME
type."""
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet