Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Register • News • History • How to • Sequences statistics • Template prototypes

User:HappyBot/primewiki family.py

From Prime-Wiki
Jump to: navigation, search
"""Family module for Prime-Wiki."""
from pywikibot import family


class Family(family.SingleSiteFamily):

    """Family class for Prime-Wiki."""

    name = 'primewiki'
    domain = 'www.rieselprime.de'
    code = 'en'

    def protocol(self, code):
        """Return https as the protocol for this family."""
        return 'https'

    def scriptpath(self, code):
        """Return the script path for this family."""
        return '/z'