Bugreporter added a comment.

  In T67626#7620208 <https://phabricator.wikimedia.org/T67626#7620208>, 
@Bugreporter wrote:
  
  > Listeria is a 3rd party tool, and we need a feature built-in Wikimedia. 
Also Listeria does not store the result in any structured way.
  
  I want to make one point deeper: The current Listeriabot is 100% not a good 
design - it does multiple things at once.
  
  First we can run a SPARQL query and we have a (raw) result set. secondly 
Listeria does some basic transform - both automatic and manual: You can look up 
labels, descriptions, aliases, some statements/qualifiers (this is not relied 
on SPARQL) and then since 2.0 the values are automatically formated (i.e. 
turned to links) which (it seems) there are no parameter to disable. Thirdly 
the results are formated into some table or template calls.
  
  Ideally we should made them three independent part: the query part may be 
cached in ways described above; result the transform part may be cached, 
possibly per language if results in interface language is requested (if no 
terms is requested, or only monolingual terms is required which can already 
queried in SPARQL, this step can be skipped entirely); and the content is 
displayed using the cached result.
  
  (If there are multiple possible transforms of one query, a further 
optimalization may be caching query results by some sorts of hash, or make 
transforms a top-level object, though the latter may be confuing to some users.)

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

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

To: Bugreporter
Cc: MarioGom, Lens0021, Gehel, Lectrician1, Eihel, R4356th, Moebeus, 
CamelCaseNick, 1sollo25, abian, Smalyshev, Capankajsmilyo, He7d3r, PokestarFan, 
Ita140188, Esc3300, MisterSynergy, Pasleim, iecetcwcpggwqpgciazwvzpfjpwomjxn, 
Deskana, JanZerebecki, Yellowcard, waldyrious, jeremyb, Ricordisamoa, Aklapper, 
Laddo, Bugreporter, -jem-, Liuxinyu970226, Lydia_Pintscher, Eloquence, 
Zellfaze, Astuthiodit_1, AWesterinen, bking, BeautifulBold, Suran38, 
karapayneWMDE, Invadibot, MPhamWMF, maantietaja, Peteosx1x, NavinRizwi, CBogen, 
ItamarWMDE, Akuckartz, ET4Eva, Nickleh, Nandana, Namenlos314, lucamauri, Lahi, 
Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, Avner, _jensen, rosalieper, Scott_WUaS, Jonas, FloNight, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Dinoguy1000, Manybubbles, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to