Last modified: 2014-02-01 18:18:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62406, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60406 - site.loadrevisions(): None is returned if no Page param is passed
site.loadrevisions(): None is returned if no Page param is passed
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-24 20:43 UTC by Mpaa
Modified: 2014-02-01 18:18 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mpaa 2014-01-24 20:43:10 UTC
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.

Try:
>>> import pywikibot
>>> s = pywikibot.Site('nl', 'wikipedia')
>>> s.loadrevisions(revids=[39557838, 39484879])
Comment 1 Gerrit Notification Bot 2014-01-28 20:41:12 UTC
Change 109955 had a related patch set uploaded by Mpaa:
(Bug 60406) - site.loadrevisions(): None is returned if no Page param is passed

https://gerrit.wikimedia.org/r/109955
Comment 2 Gerrit Notification Bot 2014-02-01 18:18:32 UTC
Change 109955 merged by jenkins-bot:
(Bug 60406) - site.loadrevisions(): None is returned if no Page param is passed

https://gerrit.wikimedia.org/r/109955

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links