Feature Requests item #3588222, was opened at 2012-11-17 13:33 Message generated for change (Comment added) made by mpaa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3588222...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Next Release (example) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Support of preload param in page.get()
Initial Comment: Would it be nice to support 'inprop': 'preload' for 'prop': 'info' when calling query GetData() to get text even if page is does not exist.
It could be added as argument to page.get(..., preload = False) and used to return data['query']['pages']["-1"]['preload'] with something like: if data['query']['pages'].keys()[0] == "-1": if 'missing' in pageInfo: if preload: ....
That would be useful when trying to get text in still not created page. This kind of pages are quite common on en:Wikisource, due text layer being already present in used djvu files.
E.g. [Page:Debates in the Several State Conventions, v1.djvu/189].
Thanks and bye
----------------------------------------------------------------------
Comment By: mpaa (mpaa) Date: 2012-11-17 13:37
Message: Sorry, was logged off when submitted this. mpaa
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3588222...