jayvdb created this task.
jayvdb added projects: Pywikibot-Flow, Pywikibot-core.
Herald added subscribers: Zppix, Aklapper.

TASK DESCRIPTION

As first encountered, Board.topics does not respect the limit argument.

from pywikibot.flow import Board
site = pywikibot.Site('test', 'test')
board = Board(site, 'Talk:Sandbox')
topics_list = page.topics(limit=2)
for topic in topics_list:
    print(topic)

returns an unlimited list, except that it fails midway with T138306: Broken topics on test wiki that the API doesnt believe exists:

[[test:Topic:T63mvwp0c7chy9c3]]
[[test:Topic:T5y39gw54bnw2ice]]
[[test:Topic:T40a7hu3rdj1w3kv]]
[[test:Topic:T2d0esp9nk0tvt2z]]
[[test:Topic:T2d0bc2kfgj5z7d2]]
...

TASK DETAIL
https://phabricator.wikimedia.org/T138307

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, Zppix, darthbhyrava, pywikibot-bugs-list, happy5214, jayvdb, Mdupont, Mattflaschen-WMF, Quiddity
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to