[Bug 26909] Implement query-back or query-until to page back like paging forward with query-continue.
https://bugzilla.wikimedia.org/show_bug.cgi?id=26909 --- Comment #5 from Roan Kattouw 2011-01-25 18:52:28 UTC --- (In reply to comment #4) > But there's no 'dir' for properties > > http://www.mediawiki.org/w/api.php?action=query&titles=MediaWiki&prop=links&pllimit=2 > http://www.mediawiki.org/w/api.php?action=query&titles=MediaWiki&prop=links&pllimit=2&plcontinue=1|0|Developer%20hub Hmm, good point. We should have them there too. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26909] Implement query-back or query-until to page back like paging forward with query-continue.
https://bugzilla.wikimedia.org/show_bug.cgi?id=26909 --- Comment #4 from Krinkle 2011-01-25 09:56:16 UTC --- (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > by reversing the dir parameter and passing the same continue value (no > > > guarantee that this'll actually work). > > > > You mentioned this on IRC as well, but I have found no such parameter (tried > > different things and looked at the documentation). > > > It's not called 'dir', but 'apdir' for allpages, 'rvdir' for revisions, etc. For lists yes, but not for properties. For lists there's 'from' and 'dir': http://www.mediawiki.org/w/api.php?action=query&list=allpages http://www.mediawiki.org/w/api.php?action=query&list=allpages&apfrom=$wgAllowAnonymousMinor http://www.mediawiki.org/w/api.php?action=query&list=allpages&apfrom=$wgAllowAnonymousMinor&apdir=descending But there's no 'dir' for properties http://www.mediawiki.org/w/api.php?action=query&titles=MediaWiki&prop=links&pllimit=2 http://www.mediawiki.org/w/api.php?action=query&titles=MediaWiki&prop=links&pllimit=2&plcontinue=1|0|Developer%20hub -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26909] Implement query-back or query-until to page back like paging forward with query-continue.
https://bugzilla.wikimedia.org/show_bug.cgi?id=26909 --- Comment #3 from Roan Kattouw 2011-01-25 01:43:58 UTC --- (In reply to comment #2) > (In reply to comment #1) > > by reversing the dir parameter and passing the same continue value (no > > guarantee that this'll actually work). > > You mentioned this on IRC as well, but I have found no such parameter (tried > different things and looked at the documentation). > It's not called 'dir', but 'apdir' for allpages, 'rvdir' for revisions, etc. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26909] Implement query-back or query-until to page back like paging forward with query-continue.
https://bugzilla.wikimedia.org/show_bug.cgi?id=26909 --- Comment #2 from Krinkle 2011-01-25 01:39:04 UTC --- (In reply to comment #1) > by reversing the dir parameter and passing the same continue value (no > guarantee that this'll actually work). You mentioned this on IRC as well, but I have found no such parameter (tried different things and looked at the documentation). > > There's no way to handle the general case efficiently, DB-wise, so WONTFIX. Fair enough :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26909] Implement query-back or query-until to page back like paging forward with query-continue.
https://bugzilla.wikimedia.org/show_bug.cgi?id=26909 Roan Kattouw changed: What|Removed |Added Status|NEW |RESOLVED CC||roan.katt...@gmail.com Resolution||WONTFIX --- Comment #1 from Roan Kattouw 2011-01-25 01:17:04 UTC --- (In reply to comment #0) > Currently it's required to save the previous query-continue somewhere or even > having to construct it ourselfs to page back from somewhere. > > For example, the following query is a "page 3": > > http://commons.wikimedia.org/w/api.php?format=jsonfm&action=query&titles=User%3AKrinkle%2FTestcase&tllimit=2&prop=templates&tlcontinue=12796614|10|BUser > > How to get (back) to "page 2" ? By saving the q-continue, like you said, or by reversing the dir parameter and passing the same continue value (no guarantee that this'll actually work). There's no way to handle the general case efficiently, DB-wise, so WONTFIX. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26909] Implement query-back or query-until to page back like paging forward with query-continue.
https://bugzilla.wikimedia.org/show_bug.cgi?id=26909 Krinkle changed: What|Removed |Added CC||krinklem...@gmail.com Blocks||12907 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l