Web browser: ---
            Bug ID: 60406
           Summary: site.loadrevisions(): None is returned in no Page
                    param is passed
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
    Classification: Unclassified
   Mobile Platform: ---

Passing revids without Page parameter does not return anything.
Since there is no use case for not passing the Page object, it should be made
mandatory and docstring updated.

>>> import pywikibot
>>> s = pywikibot.Site('nl', 'wikipedia')
>>> s.loadrevisions(revids=[39557838, 39484879])

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to