Dipsacus_fullonum created this task.
Dipsacus_fullonum added a project: Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  Feature request: When using MWAPI calls from Wikikdata Query Service, it 
would be nice to be able to disable all continuation calls but still make one 
API call for each case of different values of the input variables.
  
  There is
  
    bd:serviceParam wikibase:limit "once".
  
  which limits MWAPI to only one API call but I miss something like
  
    bd:serviceParam wikibase:limit "no continuation".
  
  which I would like to use to make API calls for all values of the input 
variables but never generate continuation calls. That could for instance be 
used to fetch information about a set of Wikimedia pages using code like this:
  
    SERVICE wikibase:mwapi
    {
      bd:serviceParam wikibase:endpoint ?endpoint.
      bd:serviceParam wikibase:api "Generator".
      bd:serviceParam wikibase:limit "no continuation".
      bd:serviceParam mwapi:generator "allpages".
      bd:serviceParam mwapi:gaptitle ?title.
      bd:serviceParam mwapi:gaplimit "1".
     ?item wikibase:apiOutputItem mwapi:item.
     ?title wikibase:apiOutput mwapi:title.
     ?length wikibase:apiOutput "@length".
    }
  
  for some values of ?endpoint and ?title. Such a call is impossible now 
without disabling continuation calls because then it would try to get all pages 
from the used endpoints.

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

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

To: Dipsacus_fullonum
Cc: Dipsacus_fullonum, Aklapper, CBogen, darthmon_wmde, Nandana, Namenlos314, 
Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to