Changeset View
Changeset View
Standalone View
Standalone View
tools/rhyne-wyse/families/agora_family.py
- This file was added.
| #!/usr/bin/env python3 | |||||
| # ------------------------------------------------------------- | |||||
| # Rhyne-Wise | |||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |||||
| # Project: Nasqueron | |||||
| # Description: Pywikibot configuration | |||||
| # License: BSD-2-Clause | |||||
| # Site: Nasqueron Agora | |||||
| # ------------------------------------------------------------- | |||||
| from pywikibot import family | |||||
| class Family(family.Family): # noqa: D101 | |||||
| name = "agora" | |||||
| langs = { | |||||
| "agora": "agora.nasqueron.org", | |||||
| } | |||||
| def scriptpath(self, code): | |||||
| return { | |||||
| "agora": "", | |||||
| }[code] | |||||
| def protocol(self, code): | |||||
| return { | |||||
| "agora": "https", | |||||
| }[code] | |||||
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator