jayvdb created this task. jayvdb added subscribers: Aklapper, pywikibot-bugs-list, jayvdb. jayvdb added projects: Documentation, Pywikibot-documentation, pywikibot-core.
TASK DESCRIPTION There are many errors during the sphinx documentation generation. Currently the errors are: * pywikibot.FilePage.getFileVersionHistory:6: ERROR: Unexpected indentation. * pywikibot.ItemPage.set_redirect_target:7-8: ERROR: Unexpected indentation. * pywikibot.WikidataBot.user_edit_entity:8-14: WARNING: Field list ends without a blank line; unexpected unindent. * pywikibot.exceptions:32: ERROR: Unexpected indentation. * pywikibot.pagegenerators:52: ERROR: Unexpected indentation. * pywikibot.pagegenerators:56: ERROR: Unexpected indentation. * pywikibot.pagegenerators.GoogleSearchPageGenerator.queryGoogle:5: ERROR: Unexpected indentation. * pywikibot.site.APISite.blockuser:8-11: ERROR: Unexpected indentation. * pywikibot.site.APISite.blocks:3: ERROR: Unknown target name: "api:query". * pywikibot.comms.rcstream.RcListenerThread:24: ERROR: Unexpected indentation. * pywikibot.tools.ContextManagerWrapper:9: ERROR: Unexpected indentation. * pywikibot.tools.MediaWikiVersion:13: ERROR: Unexpected indentation. There are a bunch of test classes that have changed name, causing errors. Almost errors: * WARNING: error while formatting arguments for pywikibot.UserActionRefuse: 'function' object has no attribute '__mro__' * WARNING: error while formatting arguments for pywikibot.data.api.CategoryPageGenerator: 'function' object has no attribute '__mro__' * WARNING: error while formatting arguments for pywikibot.data.api.ImagePageGenerator: 'function' object has no attribute '__mro__' * tests/archivebot_tests.rst:9: WARNING: invalid signature for automethod ('tests.archivebot_tests::TestArchiveBot.test_archivebot_zh-yue') TASK DETAIL https://phabricator.wikimedia.org/T112491 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: jayvdb, pywikibot-bugs-list, Aklapper, Spage _______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs