| ChongDae closed this task as "Resolved". ChongDae claimed this task. ChongDae added a comment. |
I find that "recurse" option can handle the depth limit. Close this request.
from page.py:
@param recurse: if not False or 0, also iterate subcategories of
subcategories. If an int, limit recursion to this number of
levels. (Example: recurse=1 will iterate direct subcats and
first-level sub-sub-cats, but no deeper.)
@type recurse: int or boolTASK DETAIL
EMAIL PREFERENCES
To: ChongDae
Cc: Framawiki, Aklapper, ChongDae, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Framawiki, Aklapper, ChongDae, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
