[Wikidata-bugs] [Maniphest] T294803: WDQS query returns dead links instead of SomeValue values

2023-06-02 Thread Nikki
Nikki added a comment.


  There's also T173248  about 
displaying it better (much older, from before they were turned into URIs).
  
  I agree that `/.well-known/genid/` URLs should redirect to something instead 
of giving an error, because even if the query service UI displays them better, 
people fetching data from the query service will also get these values, and are 
also likely to open them wondering what they are.
  
  We already do something similar for reference nodes, e.g. if you try to open 
http://www.wikidata.org/reference/0a99d4aeea2a9c9530f8886075c848033a8aac69 it 
redirects to https://www.wikidata.org/wiki/Help:Sources. Using 
https://www.wikidata.org/wiki/Help:Unknown_value should work. It currently 
redirects to a section on Help:Statements but I would still use 
Help:Unknown_value in case that ever changes.
  
  It looks like they're defined in 
https://gerrit.wikimedia.org/r/plugins/gitiles/operations/puppet/+/production/modules/mediawiki/files/apache/sites/wikidata-uris.incl
 and 
https://gerrit.wikimedia.org/g/operations/deployment-charts/+/master/charts/mediawiki/templates/lamp/_site_helpers.tpl.
 I assume copying the `/reference/` one and adding a line like this would 
probably work?
  
RewriteRule ^/\.well-known/genid/(.*)$ 
%{ENV:RW_PROTO}://%{SERVER_NAME}/wiki/Help:Unknown_value [R=303,L]

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

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

To: Nikki
Cc: Nikki, Antoine2711, CamelCaseNick, Jheald, Bugreporter, 
Lucas_Werkmeister_WMDE, Jarekt, Aklapper, Astuthiodit_1, AWesterinen, 
karapayneWMDE, Invadibot, MPhamWMF, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, 
merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, 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] T294803: WDQS query returns dead links instead of SomeValue values

2022-05-16 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  That would probably work, but seems like a hacky and potentially misleading 
solution to me (misleading because you wouldn’t want to use this prefix in a 
query). I think it shouldn’t be that much more effort to implement this task 
“more properly”, it just hasn’t been a priority for the dev team so far. If 
anyone wants to work on it themselves, the relevant code would probably be in 
`wikibase/queryService/ui/resultBrowser/helper/FormatterHelper.js`, 
`formatValue()` method, and it would use a new i18n message (pointing to 
`{{msg-mw|Wikibase-snakview-snaktypeselector-somevalue}}` and 
`{{msg-mw|Wikibase-snakview-variations-somevalue-label}}` in qqq.json).

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

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

To: Lucas_Werkmeister_WMDE
Cc: CamelCaseNick, Jheald, Bugreporter, Lucas_Werkmeister_WMDE, Jarekt, 
Aklapper, Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, 
maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, 
_jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, 
Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, 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] T294803: WDQS query returns dead links instead of SomeValue values

2022-05-14 Thread CamelCaseNick
CamelCaseNick added a comment.


  To address the visualization within WDQS (and not the dereferencing): Would a 
new prefix `wdunkownvalue: ` added 
to `wikibase.queryService.RdfNamespaces.NAMESPACE_SHORTCUTS.Wikidata` be a 
feasible solution? It doesn't sound too complex, and the descriptiveness of the 
prefix might guide WDQS users to the correct conclusion regarding its meaning, 
even those not familiar with skolemization and well-known URI as skolem IRIs.

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

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

To: CamelCaseNick
Cc: CamelCaseNick, Jheald, Bugreporter, Lucas_Werkmeister_WMDE, Jarekt, 
Aklapper, Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, 
maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, 
_jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, 
Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, 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] T294803: WDQS query returns dead links instead of SomeValue values

2022-02-18 Thread Jheald
Jheald added a comment.


  We really ought to be doing better than this

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

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

To: Jheald
Cc: Jheald, Bugreporter, Lucas_Werkmeister_WMDE, Jarekt, Aklapper, 
karapayneWMDE, Invadibot, MPhamWMF, maantietaja, CBogen, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, 
LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, 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] T294803: WDQS query returns dead links instead of SomeValue values

2021-11-08 Thread Bugreporter
Bugreporter added a comment.


  such URLs should be redirected to an informational page.

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

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

To: Bugreporter
Cc: Bugreporter, Lucas_Werkmeister_WMDE, Jarekt, Aklapper, Invadibot, MPhamWMF, 
maantietaja, CBogen, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, 
_jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, 
Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, 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] T294803: WDQS query returns dead links instead of SomeValue values

2021-11-08 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  See the blank node deprecation announcement 

 for more context on those URIs.
  
  We can improve how they’re displayed, but for the record, previously “unknown 
value” (blank nodes) were shown as strings like t76842948 (“t” plus some random 
number), so it’s not like this was much better before the blank node 
deprecation.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Jarekt, Aklapper, Invadibot, MPhamWMF, maantietaja, 
CBogen, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, 
Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, 
Manybubbles, Lydia_Pintscher, 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] T294803: WDQS query returns dead links instead of SomeValue values

2021-11-02 Thread Maintenance_bot
Maintenance_bot added a project: Wikidata.

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

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

To: Maintenance_bot
Cc: #wikidata-query-service, Jarekt, Aklapper, Invadibot, MPhamWMF, 
maantietaja, CBogen, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, 
LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, 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] T294803: WDQS query returns dead links instead of SomeValue values

2021-11-02 Thread Addshore
Addshore added a project: Wikidata Query UI.

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

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

To: Addshore
Cc: #wikidata-query-service, Jarekt, Aklapper, MPhamWMF, CBogen, Namenlos314, 
Gq86, Lucas_Werkmeister_WMDE, Mahir256, EBjune, merbst, Salgo60, Jonas, 
Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T294803: WDQS query returns dead links instead of SomeValue values

2021-11-01 Thread Jarekt
Jarekt created this task.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  While running this query 

 I noticed a lot of links like 
"http://www.wikidata.org/.well-known/genid/77a2ecfc46a8a907a59596e7214eca94; 
pointing to non-existing pages, instead of some marking for "unknown value" aka 
SomeValue.
  
  I do not know the proper way "unknown value" / SomeValue values should be 
display as , but probably dead URLs were not intended

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

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

To: Jarekt
Cc: #wikidata-query-service, Jarekt, Aklapper
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org