Shortcut: WD:RATP

Wikidata:Report a technical problem

From Wikidata
(Redirected from Wikidata:DEV)
Jump to navigation Jump to search

Report a problemHow to report a problemHelp with PhabricatorGet involvedWDQS and Search

Start a new discussion

Property suggestion

[edit]

On pages about humans, e.g. Marta Binaghi (Q113804335), which have VIAF and GND already, when trying to add a property,

  1. I got property:P7859 as suggestion, which is deleted
  2. 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)[reply]

Thank you! I've filed a ticket to address this at T377986. Lydia Pintscher (WMDE) (talk) 16:31, 23 October 2024 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]
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 the Access-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)[reply]
It will take a few days for the new code to be deployed on Wikidata. It should happen later this week. Lydia Pintscher (WMDE) (talk) 15:05, 30 October 2024 (UTC)[reply]
[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)[reply]

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)[reply]

Badges and unconfirmed users

[edit]

Hi. Sorry if this is not the right place to ask, but I'll refer to abuse filter 52 which disallows adding badges by unconfirmed users. Then again, CapitanTick3 (talk • contribs • deleted contribs • logs • filter log • block user • block log • SUL (for IP: GUC)) has managed to create some items straight with the badges set. From the tags, it seems these edits are possible via the mobile web UI. Maybe some tweaks of the filter may be in order? I edit filters on ro.wp, but I'm reluctant to do so here because I'm not familiar with the peculiarities of edit filters vs. Wikibase, so maybe there is someone who knows better.  —Andreitalk 07:15, 5 November 2024 (UTC)[reply]

I don’t think it’s specific to the mobile interface, you can see those badges at e.g. https://www.wikidata.org/wiki/Special:NewItem?site=enwiki&page=Red+link+example. (This was introduced in January this year with T324420.) Trying out the abuse filter locally, I think you’ll have to look for wbeditentity-create in the summary and the badge item IDs in the added_lines. Lucas Werkmeister (WMDE) (talk) 09:46, 5 November 2024 (UTC)[reply]

Property suggestion (P7959)

[edit]

See Talk:Q131105733#Recoin for historic county (P7959). Una tantum (talk) 16:13, 17 November 2024 (UTC)[reply]