Lucas_Werkmeister_WMDE added a comment.

  The meaning of `"once"` should be exactly “no continuation” (notwithstanding 
T255753 <https://phabricator.wikimedia.org/T255753>) – it should be a shortcut 
for `wikibase:limitContinuations "0"`. (Due to T255753 
<https://phabricator.wikimedia.org/T255753>, it’s currently really a shortcut 
for `wikibase:limitContinuations "1"`.) And this already seems to work for some 
extent?
  
    SELECT * WHERE {
      VALUES ?endpoint { "en.wikipedia.org" "de.wikipedia.org" 
"fr.wikipedia.org" "it.wikipedia.org" }
      SERVICE wikibase:mwapi {
        bd:serviceParam wikibase:endpoint ?endpoint;
                        wikibase:api "Generator";
                        wikibase:limit "once";
                        mwapi:generator "allpages";
                        mwapi:gapfrom "Berlin";
                        mwapi:gaplimit "1".
        ?item wikibase:apiOutputItem mwapi:item.
        ?title wikibase:apiOutput mwapi:title.
        ?length wikibase:apiOutput "@length".
      }
    }
  
  
  
  | endpoint         | item | title                               | length |
  | ---------------- | ---- | ----------------------------------- | ------ |
  | en.wikipedia.org | wd:Q64 | Berlin                              | 171163 |
  | en.wikipedia.org |      | Berlin's 2001 administrative reform | 50     |
  | de.wikipedia.org | wd:Q64 | Berlin                              | 239769 |
  | fr.wikipedia.org | wd:Q64 | Berlin                              | 82379  |
  | it.wikipedia.org | wd:Q262009 | Berlin                              | 4065  
 |
  |
  
  One of them has an extra result, probably due to T255753 
<https://phabricator.wikimedia.org/T255753>, the rest look okay to me. (Though 
it’s curious that the other endpoints don’t have the extra result.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Dipsacus_fullonum, Aklapper, CBogen, darthmon_wmde, 
Nandana, Namenlos314, Lahi, Gq86, 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