Ninovolador added a comment.

  @Xqt: wow thanks! that was fast. 
  I was doing some more testing and apparently you need to trigger the function 
`_get_page_mappings` somehow for this to work (I was doing it by printing the 
index number of pages), otherwise it throws an exception. Apparently this is 
done with a decorator but I couldn't get it to work for the page_gen function.
  
  As for the hardcoded ql of 1 (non proofread) : I wasn't sure either but it 
seems right. If I want to get all the non-proofread pages, that includes both 
new pages and pages explicitly marked as non-proofread. If I only want the 
existing ones, I can add the `only_existing` filter as well

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

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

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to