Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopaedia
Rake

Uiser:ScotsBot/Tasks

    Frae Wikipedia, the free beuk o knawledge
    <Uiser:ScotsBot

    ScotsBot is a maintenance bot designed to support content quality and language integrity on the Scots Wikipedia (sco.wiki). The bot focuses ontagging, reporting, and light normalization and doesnot delete pages, revert edits, or take administrative actions.

    Its primary goal is to reduce the maintenance burden on human editors and sysops by automating routine, low-risk tasks.

    Tasks

    [eedit |edit soorce]

    ScotsBot operates only within clearly defined limits and avoids any disruptive or irreversible actions.

    Task categoryDescriptionType
    Language taggingTags new articles as English-only or English-heavy based on lexical analysisStatic
    New article taggingAdds{{Stub}} and{{Unsoorced}} templates where appropriateStatic
    New user welcomingWelcomes new users after their first content editStatic
    Language reportsGenerates language reportsStatic
    ReportingGenerates periodic maintenance reports (e.g. Wikidata, unsourced)Dynamic
    Maintenance taggingAdds{{Unsoorced}} based on theunsourced reportDynamic
    Lexical normalizationApplies approved header replacements from anon-wiki whitelistDynamic
    Lexical normalizationApplies approved word replacements from anon-wiki whitelistDynamic
    User notificationsSends user warnings for non-Scots content creators (new articles only)Dynamic

    Settings

    [eedit |edit soorce]

    This section documents the bot’s current operational configuration.

    Basic settings

    [eedit |edit soorce]
    SKIP_GROUPS = ["sysop", "bot", "autopatrolled"]SKIP_USERS = [] STUB_SIZE_LIMIT = 380 UNSOURCED_MIN_SIZE = 300 VANDALISM_MIN_SIZE = 200

    Language settings

    [eedit |edit soorce]
    LANG_THRESHOLDS = {    "english": 0.90,           "english_heavy": 0.75,     "scots": 0.25          }

    Welcome settings

    [eedit |edit soorce]
    VETERAN_EDITS = 3VETERAN_MONTHS = 4

    Templates

    [eedit |edit soorce]
    TEMPLATES = {    "english_only": "No Scots",    "english_heavy": "Fix Scots",    "stub": "Stub",    "unsourced": "Unsoorced",    "disambiguation": "Disambiguation",    "welcome": f"Uiser:BZPN/Walcome",}EN_ONLY_WARNING_TEMPLATES = {    1: "Uw-naescots-en",    2: "",    3: "",    4: "",    5: "",}EN_HEAVY_WARNING_TEMPLATES = {    1: "Uw-naescots-en",    2: "",    3: "",    4: "",    5: "",}

    Edit summaries

    [eedit |edit soorce]
    SUMMARIES = {    "tag_en": "Markin article as [[WP:DICT|english-only]] ([[Wikipedia:Spellin an grammar|WP:SAG]])",    "tag_mixed": "Markin article as [[WP:DICT|english-heavy]] ([[Wikipedia:Spellin an grammar|WP:SAG]])",    "cleanup": "Lexical cleanup an header normalization (per [[User:BZPN/Whitelist.json|whitelist]])",    "stub": "Markin article as [[WP:STUB|stub]]",    "unsourced": "Markin article as [[WP:Verifiability|unsoorced]]",    "stub_and_unsourced": "Markin article as [[WP:Verifiability|unsoorced]] and [[WP:STUB|stub]]",    "warning": "User warning: non-Scots content",    "welcome_warning": "Walcome til Wikipedie! (non-Scots content in first edit)",    "welcome": "Walcome, til the Wikipedie!",    "language_report": "Updatin language report (remove fixed, add new)",    "wikidata_report": "Updatin Wikidata report (remove fixed, add new)",    "unsourced_report": "Updatin unsoorced report (remove fixed, add new)",    "uncategorized_report": "Updatin uncategorised report (remove fixed, add new)",}

    Reports

    [eedit |edit soorce]
    REPORTS_ENABLED = TrueWIKIDATA_REPORTS_ENABLED = False UNCATEGORIZED_REPORTS_ENABLED = False UNSOURCED_REPORTS_ENABLED = TrueREPORTS_PAGE_WIKIDATA = f"User:{BOT_USERNAME}/Wikidata_report"REPORTS_PAGE_UNSOURCED = f"User:{BOT_USERNAME}/Unsourced_report"REPORTS_PAGE_UNCATEGORIZED = f"User:{BOT_USERNAME}/Uncategorized_report"REPORTS_COUNT_LIMIT = 100REPORTS_ARCHIVE_LIMIT = 700REPORTS_INTERVAL_HOURS = 12LANGUAGE_REPORTS_ENABLED = TrueLANGUAGE_REPORTS_PAGE = f"User:{BOT_USERNAME}/Language_report"LANGUAGE_REPORTS_COUNT_LIMIT = 100LANGUAGE_REPORTS_ARCHIVE_LIMIT = 400LANGUAGE_REPORTS_INTERVAL_HOURS = 24

    Maintenance tagging

    [eedit |edit soorce]
    MAINTENANCE_TAGGING_ENABLED = TrueMAINTENANCE_TAGGING_INTERVAL_HOURS = 6MAINTENANCE_TAGGING_LIMIT = 10

    What the bot does NOT do

    [eedit |edit soorce]

    WarningScotsBotdoes not create language content of any kind.It does not generate Scots, translate text, rewrite sentences, correct grammar, or “Scotsify” articles. The bot willonly replace words or headers if, and only if, a specific replacement has been explicitly authorised on-wiki inUser:BZPN/Whitelist.json.If a replacement is not listed and approved, the bot willnever modify the text.

    • Doesnot revert edits
    • Doesnot sanction users
    • Doesnot modify article meaning or factual content
    • Doesnot apply language changes outside approved scopes

    What the bot DOES do

    [eedit |edit soorce]
    • Adds maintenance templates to articles that clearly meet established criteria
    • Adds tags to revisions that clearly meet established criteria
    • Tags language issues based on transparent, dictionary-based lexical analysis
    • Welcomes new contributors with an informational message
    • Generates maintenance reports to assist human editors
    • Applies approved lexical and header normalization strictly according to the on-wiki whitelist
    • Operates only in low-risk, reversible maintenance areas
    • Logs all actions for review

    Language detection

    [eedit |edit soorce]

    The bot classifies article language using dictionary-based lexical comparison. The system does not attempt to judge dialects or stylistic variation and is intended only as a maintenance aid.

    ClassificationThresholdAction
    English-only≥ 90% English{{No Scots}}
    English-heavy75-90% English{{Fix Scots}}
    English-mixed50% Englishlanguage reports mode only
    Scots≥ 25% ScotsEligible for normalization

    Thresholds are configurable but conservative by default.

    Whitelist configuration

    [eedit |edit soorce]

    All lexical replacements and header normalizations are controlled via an on-wiki JSON file:

    This ensures full transparency and community oversight.

    Whitelist structure

    [eedit |edit soorce]
    {  "lexical_replacements": [    { "find": "old_word", "replace": "new_word" }  ],  "header_replacements": {    "See also": "See forbye"  },  "allowed_templates": {    "Infobox": ["name"]  },  "features": {    "replace_in_captions": false  }}

    Automated reports

    [eedit |edit soorce]

    The ScotsBot generates a set of automated maintenance reports at regular intervals. These reports are intended to assist editors in identifying structural and content-related issues that are not handled automatically by the bot.

    Reports are updated cyclically and published on subpages of the bot user space.

    Report schedule

    [eedit |edit soorce]
    • Reports are generated every12 hours.
    • Each reporting cycle appends new entries up to a predefined limit.
    • Older entries are archived automatically once archive thresholds are reached.

    Types of reports

    [eedit |edit soorce]

    Wikidata report

    [eedit |edit soorce]
    • Page:User:ScotsBot/Wikidata report
    • Purpose: Lists articles that do not have an associated Wikidata item.
    • Inclusion criteria:
      • Main namespace articles only
      • No existing Wikidata sitelink

    Unsourced articles report

    [eedit |edit soorce]
    • Page:User:ScotsBot/Unsourced report
    • Purpose: Identifies articles that lack reliable sourcing.
    • Inclusion criteria:
      • Article size greater than or equal toUNSOURCED_MIN_SIZE
      • No<ref> tags detected
      • No recognized citation templates present
    • Exclusions:

    Uncategorized articles report

    [eedit |edit soorce]
    • Page:User:ScotsBot/Uncategorized report
    • Purpose: Tracks articles that are missing category assignments.
    • Inclusion criteria:
      • Main namespace articles
      • No[[Category:…]] links present

    Language report

    [eedit |edit soorce]
    • Page:User:ScotsBot/Language report
    • Purpose: Tracks articles that are written in heavy English or in English only.
    • Inclusion criteria:

    General behaviour

    [eedit |edit soorce]
    • Reports areadditive: new entries are appended and not removed unless archived.
    • Duplicate entries are avoided within the same report page.
    • The bot does not perform content edits while generating reports.

    Archiving

    [eedit |edit soorce]

    Archived report pages follow the naming pattern:User:ScotsBot/<Report_name>/Archive_<number>

    Bot workload

    [eedit |edit soorce]

    The chart illustrates the approximate distribution of ScotsBot’s daily processing time.Language report generation is the most resource-intensive task, as it involves dictionary-based lexical analysis across large numbers of articles and can take up to two hours per cycle.

    Approximate daily workload distribution of ScotsBot

      Language analysis and language reports (9%)
      Routine tagging, welcomes and live monitoring (87%)
      Unsourced articles report (2%)
      Archiving, logs and housekeeping tasks (1%)

    Templates

    [eedit |edit soorce]

    The bot uses the following templates:

    Source code

    [eedit |edit soorce]

    The bot's source code isavailable on GitHub. The bot runs on Wikimedia Cloud Services.

    Taen frae "https://sco.wikipedia.org/w/index.php?title=Uiser:ScotsBot/Tasks&oldid=913003"

    [8]ページ先頭

    ©2009-2026 Movatter.jp