[Wikidata-bugs] [Maniphest] T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator

2022-05-21 Thread Jheald
Jheald added a comment.


  Thanks for that clarification, Lucas, that's useful.  So yes, I can use the 
"search" API instead: https://w.wiki/5BsM and successfully retrieve far more 
entries (??? albeit very slowly -- query took almost 100 seconds, just for 500 
returns); but then I cannot restrict the search to just the labels of items.  
(I can restrict the search to //titles// of pages -- but for wikidata the 
titles appear to be Q-numbers, so that doesn't help).  So I still can't get the 
items I need.
  
  ((Note -- I now see that the specific issue of not being able to get 
continuations of MWAPI actually has its own bug, T229291 
; but as Lucas notes there, this bug 
is the underlying issue)).
  
  ((2.  I'm also wondering whether the general issue of not being able to get 
EntitySearch to do everything that standard search can (of which this bug is 
one aspect) is also the real issue underlying T235496 
 -- ie the lack of being able to do 
a "nearmatch" search in any kind of search for a wikidata label))

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

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

To: Jheald
Cc: Jheald, Addshore, gerritbot, SJu, Michael, DaBPunkt, edwardbetts, 
Smalyshev, Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator

2022-05-21 Thread LucasWerkmeister
LucasWerkmeister added a comment.


  In T229460#7946145 , 
@Jheald wrote:
  
  > Am I right that there is currently no way to get continuation via MWAPI 
from SPARQL at all ?
  
  No, that’s not correct. The query service’s MWAPI supports standard MediaWiki 
API continuation just fine. (See also the Pagination 

 section of the MWAPI docs you linked.) It’s the entity search API that doesn’t 
support it, and therefore this is a task about wbsearchentities, not about 
MWAPI.

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

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

To: LucasWerkmeister
Cc: LucasWerkmeister, Jheald, Addshore, gerritbot, SJu, Michael, DaBPunkt, 
edwardbetts, Smalyshev, Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator

2022-05-21 Thread Jheald
Jheald added a comment.


  Am I right that there is currently no way to get continuation via MWAPI from 
SPARQL at all ?   (cf MWAPI docs 
,
 Wikibase/API docs  , 
wbsearchentities docs 
)
  
  For example, here is a query to get items with labels containing the names of 
historic English counties:  https://w.wiki/5BpN  (with the intention of then 
restricting it to items for food or drink).
  
  There seems to be no way to get more than the first 50 returns per county ?

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

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

To: Jheald
Cc: Jheald, Addshore, gerritbot, SJu, Michael, DaBPunkt, edwardbetts, 
Smalyshev, Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T229460: Support standard MediaWiki API continuation in wbsearchentities module / wbsearch list/generator

2022-03-29 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE merged a task: T141620: Allow &continue= in 
wbsearchentities when there are more than 50 results.
Lucas_Werkmeister_WMDE added subscribers: DaBPunkt, Michael, SJu, gerritbot, 
Addshore.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Addshore, gerritbot, SJu, Michael, DaBPunkt, edwardbetts, Smalyshev, 
Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org