[bugfix] Enable misspelling.py for several sites using wikidata
- collect misspelling categories from wikidata items Q8644265 or Q9195708. This enables the script for additional sites - prefer templates over categories if misspelling_templates can be found by its sitename. - use usual BaseBot option handling with MisspellingRobot. Therfore use kwargs for the options. Unfortunately DisambiguationRobot does not have a compatible interface. Therefore call SingleSiteBot.__init__ first and pass the options back to MisspellingRobot's super().__init__ but call their parameter by its name. - enable kwargs with DisambiguationRobot and only set self.generator if the positional argument for generator is useful and not None - rename createPageGenerator to generator which is used directly by run method. Bug: T94681 Bug: T258859 Change-Id: I0eaca5b35435984be5e7516e7e5dc8ebba21cf5e
X
xqt committed
1d4d3ea2dbc3ee8959db98c91fea09bc0f41e9da
Parent: b406a7e