Xqt added a comment.

  > The problem is that, for my use case, I really just want page titles, but I 
guess since Pywikibot wants to generate all the page objects using all the 
metadata, there is no way around this error currently.
  
  `CategorizedPageGenerator `does not load the content by default. To get it 
you have to use `content=False` as parameter or use an explicit cat.get() later.
  
  > there can be a large amount of data returned ... in the case of a Commons 
category, potentially 500 of them at once
  
  By default the maximum query increment of data is retrieved which depends on 
the membership of user groups. You may decrease the maximum query increment by 
the `step` parameter in your `user-config.py`; this parameter is also available 
as global `-step` option if your script calls `pywikibot.handle_args()` for all 
command line options refer the basic.py sample script for that.
  
  @Dominicbm: could yo verify whether decreasing the query increment has any 
effect. It could help to implement a generic solution for this issue.

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

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

To: Xqt
Cc: Xqt, Aklapper, pywikibot-bugs-list, Dominicbm, JohnsonLee01, Dijkstra, 
Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to