pywikitools.resourcesbot.changes#

Contains the classes ChangeType, ChangeItem and ChangeLog that describe the list of changes on the 4training.net website since the last run of the resourcesbot.

Module Contents#

Classes#

ChangeType

The different types of changes that can happen.

ChangeItem

Holds the details of one change

ChangeLog

Holds all changes that happened in one language since the last resourcesbot run

class pywikitools.resourcesbot.changes.ChangeType#

Bases: enum.Enum

The different types of changes that can happen. Normally there wouldn’t be any deletions

class pywikitools.resourcesbot.changes.ChangeItem(worksheet: str, change_type: ChangeType)#

Holds the details of one change This shouldn’t be modified after creation (is there a way to enforce that?)

class pywikitools.resourcesbot.changes.ChangeLog#

Holds all changes that happened in one language since the last resourcesbot run