Shortcut: WD:RATP
Wikidata:Report a technical problem
Report a problem | How to report a problem | Help with Phabricator | Get involved | WDQS and Search |
On this page, old discussions are archived. An overview of all archives can be found at this page's archive index. The current archive is located at 2024/10. |
Use this page to report a technical problem! If the problem you encounter is about the Wikidata Query Service or Search, please report it at WDQS and Search. |
Wikidata REST API openapi.json should include components/securitySchemes
[edit]I have submitted the current version of the openapi.json (with additional extensions for APIs-guru openapi directory) which is a database of sorts used for developing, validating, and configuring clients using VSCode through Kiota. Kiota has a search feature where "wikidata" currently does not resolve, only "wikipedia".
My PR Adds Wikidata REST API #1299 submitted to them can be reviewed by our Wikidata team, where I added the `components/securitySchemes` along with various `x-` extensions the api directory and Kiota uses. I would hope and expect that the Wikidata team could also add the same or an improved vision of my `components/securitySchemes` to the official Wikidata REST API openapi.json at some point in the future? I unfortunately could not open a Phabricator ticket myself for this task, because I constantly get "too many requests" when trying to access Phabricator main page. -- Thadguidry (talk) 09:09, 4 October 2024 (UTC)
- I made a ticket and added it to our backlog: https://phabricator.wikimedia.org/T376703. We'll try to get to it as soon as the main priorities have been taken care of. Thank you! Ifrahkhanyaree WMDE (talk) 09:51, 8 October 2024 (UTC)
Right ascension (property:P6257) and declination (property:P6258)
[edit]Right ascension and declination do not accept the formats commonly found in sources. Right ascension should support decimal archours (HH.hhhhhh,,,), sexagesimal archours (HH:MM:SS.sss...), sexagesimal arcdegrees (DDD:MM:SS.sss...); not just decimal arcdegrees (DDD.ddddd...). Declination should support sexagesimal degrees, not just decimal degrees. Without supporting these formats, the reference used to identify the value would be useless to many people who are not consersant in the formulae used to convert between the formats, in order to check against the value found in the reference. Particularly, SIMBAD, the standard astronomical database, uses sexagesimal hours and sexagesimal degrees in its data display; while NED has decimal hours and decimal degrees.
Sexagesimal degrees and hours may be also expressed as (+/-)X:MM.mmm.... with a decimal attached to the minutes instead of a decimal attached to the seconds.
There are 24 hours of arc in a circle, while there are 360 degrees of arc in a circle. There are 60 minutes of arc in an arc hour or arc degree, and there are 60 seconds of arc in an arcminute.
-- 65.92.246.77 16:04, 11 October 2024 (UTC)
- Hello, thank you for your feedback! Adding support for these additional formats in the properties is a valid point. However, this would need to be discussed with the community first, particularly at Wikidata talk:WikiProject Astronomy. I encourage you to bring it up there, as community input will be valuable in determining whether and how to expand the accepted formats for these properties. -Mohammed Abdulai (WMDE) (talk) 08:22, 21 October 2024 (UTC)
Property suggestion
[edit]On pages about humans, e.g. Marta Binaghi (Q113804335), which have VIAF and GND already, when trying to add a property,
- I got property:P7859 as suggestion, which is deleted
- I didn't get ISNI, which is very common for items about humans
Please remove P7859 and make ISNI showing up. Lorenz Karsten (talk) 14:45, 23 October 2024 (UTC)
- Thank you! I've filed a ticket to address this at T377986. Lydia Pintscher (WMDE) (talk) 16:31, 23 October 2024 (UTC)
Could not add label -mul- without reverting to a version that had such a label
[edit]Talk:Q109487867#Label_mul Lorenz Karsten (talk) 09:31, 24 October 2024 (UTC)
Wikibase REST API: misspelled CORS header value
[edit]I'm trying out using the Wikibase REST API in a HTML/Javascript thingimagic but I'm having trouble with CORS not letting me complete some requests.
I'm using the Endpoint POST /entities/items/{item_id}/statements
to add a new statement to an item and the Access-Control-Allow-Headers
value has a misspelled header name: The documentation says I can use the If-Match
header, but this is the Access-Control-Allow-Headers
response when Firefox sends the OPTIONS preflight request, which results in Firefox not allowing my request to complete:
Accept, Accept-Language, Content-Language, Content-Type, Accept-Encoding, DNT, Origin, User-Agent, Api-User-Agent, Access-Control-Max-Age, Authorization, X-Wikimedia-Debug, If-Mach, If-None-Match, If-Modified-Since
As you might see, it includes If-Mach
which I assume is a misspelled form of If-Match
. Lokfahrer (talk) 16:20, 24 October 2024 (UTC)
- This was an upstream bug in MediaWiki core, our team just fixed it and should work as expected now. Good catch! Ifrahkhanyaree WMDE (talk) 09:23, 25 October 2024 (UTC)
- Hmm, it doesn't seem to be fixed. The
OPTIONS
request still has the misspelled header as before. - I also noticed another problem: When using Javascript in the browser with CORS, I'm not able to read the
Etag
header from the initial request in the first place. It would need to be listed in theAccess-Control-Expose-Headers
header to be readable by Javascript. (The same probably applies for all other requests and for any of the headers which are listed in the API documentation as response headers.) - That said I'm now not quite sure if using the Wikidata REST API in browser based Javascript is even an intended use case ^^; Lokfahrer (talk) 17:53, 26 October 2024 (UTC)
- Hmm, it doesn't seem to be fixed. The
Link to Horari d'hivern (standard time)
[edit]Hello. The item https://www.wikidata.org/wiki/Q1777301 is blocked and I can't edit it. Can anyone add the link to the Catalan article, please? It's this: horari d'hivern https://ca.wikipedia.org/wiki/Horari_d%27hivern Thank you. 139.47.125.157 18:11, 27 October 2024 (UTC)
- IP editors and new users (that are not in the confirmed or autoconfirmed groups) are limited in some actions including adding and changing sitelinks. I have added the sitelink on your behalf. In the future Wikidata:Project chat is the best place to make these kinds of requests. Thank you for your contributions on Wikimedia projects and have a nice day. William Graham (talk) 18:36, 27 October 2024 (UTC)