Ninovolador added a comment.

  In T358635#9584134 <https://phabricator.wikimedia.org/T358635#9584134>, @Xqt 
wrote:
  
  > In T358635#9583971 <https://phabricator.wikimedia.org/T358635#9583971>, 
@Ninovolador wrote:
  >
  >> In T358635#9583360 <https://phabricator.wikimedia.org/T358635#9583360>, 
@Xqt wrote:
  >>
  >>> @Ninovolador: you mean that the content is loaded anyway even that flag 
is set to False?
  >>
  >> It doesn't work at all. It does not work as a genetator. No prompt or 
console output, just hangs
  >
  > No, it works, for example:
  >
  >   >>> import pywikibot
  >   >>> from pywikibot.proofreadpage import IndexPage
  >   >>> site = pywikibot.Site('wikisource:en')
  >   >>> ip = IndexPage(site, 'index:Popular Science Monthly Volume 1.djvu')
  >   >>> gen = ip.page_gen(content=False)
  >   >>> next(gen)
  >   ProofreadPage('Page:Popular Science Monthly Volume 1.djvu/2')
  >
  > Maybe it needs a lot of time to load all the pages. But this is due to the 
sorting funtion; propose to remove that in 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1007342
  
  I see! I gave it a couple of minutes and didn't worked. It's strange that 
when i set content=True is almost instantaneous.
  
  But thanks for the patch!

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

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

To: Ninovolador
Cc: Mpaa, Xqt, Aklapper, pywikibot-bugs-list, Ninovolador, mevo, PotsdamLamb, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to