Wikidata:Report a technical problem/Archive/2022/07

This page is an archive. Please do not modify it. Use the current page, even to continue an old discussion.


"La Courneuve" displayed as "Bamako" on some pages.

Hi All,

I just noticed than on this street "Avenue Roger-Salengro (La Courneuve)" , the town name which is "La Courneuve" (https://www.wikidata.org/wiki/Q244725) is displayed as "Bamako":

https://www.wikidata.org/wiki/Q108418446

I strongly suspect this is intentional.

Same problem with other pages pointing to "La Courneuve" https://www.wikidata.org/wiki/Q244725 https://www.wikidata.org/wiki/Q19888795

Thanks

Rc1959 (talk) 15:39, 13 July 2022 (UTC)

@Rc1959: Someone changed the name of the town on July 12 - https://www.wikidata.org/w/index.php?title=Q244725&type=revision&diff=1675837505&oldid=1670771277 - and items linking to the town will display the old name until the cached item is refreshed by purging - see PurgeTab: in preferences/gadgets. So there's not a technical issue here, just business as normal. --Tagishsimon (talk) 16:08, 13 July 2022 (UTC)

Wrong translation for "century" in Norwegian Nynorsk

I came across this error in this description. 2nd century is rendered as "2. århundre", which is a term belonging to the nb language code (Norwegian bokmål). The correct term for nn (Norwegian nynorsk) is "2. hundreåret". I have in the past tried to change every instance of "århundre" to the correct "hundreår", but it appears without success. Can anyone tell me where the language value for century fetched from, or even fix it? Thanksǃ Ranveig (talk) 09:09, 23 July 2022 (UTC)

@Ranveig: The Bokmål text comes from translatewiki:MediaWiki:Wikibase-time-precision-century/nb. You can change the Nynorsk text at translatewiki:MediaWiki:Wikibase-time-precision-century/nn. --Matěj Suchánek (talk) 08:30, 24 July 2022 (UTC)
Thank you so much - it seems somebody already didǃ Ranveig (talk) 09:46, 24 July 2022 (UTC)

Wrong translation of "Undo revision"

The German language version says after undo an edit: "Version 101010101 von Superman (Diskussion) rückgängig machen" (English: "Undo revision 101010101 by Superman (talk)"). The translation is wrong, it must should correctly: "Version 101010101 von Superman (Diskussion) rückgängig gemacht" (the past participle of "machen" is "gemacht", see https://en.wiktionary.org/wiki/machen and https://en.wiktionary.org/wiki/gemacht#German). Could you please change that. Best regards, --HarryNº2 (talk) 12:27, 23 July 2022 (UTC)

@HarryNº2: Assuming you refer to the edit summary of undo actions ("Rückgängigmachen" in German), I think we need to change translatewiki:MediaWiki:Wikibase-entity-summary-undo/de. Is this correct? I would be willing to make this edit at Translatewiki if you confirm. —MisterSynergy (talk) 18:04, 23 July 2022 (UTC)

@MisterSynergy: That's right. The line should read:

  • Old: Version $3 von $4 (Diskussion) rückgängig machen: (with a colon at the end)
  • New: Version $3 von $4 (Diskussion) rückgängig gemacht: (with a colon or a semicolon at the end)

In the German-language Wikipedia, the original text reads:

  • Änderung 101010101 von Superman rückgängig gemacht; (with a semicolon at the end)
  • Änderung $3 von $4 rückgängig gemacht;

Personally, I think the Wikidata version is better in this form:

  • Version $3 von [[Special:Contributions/$4|{{GENDER:$4|$4}}]] ([[User talk:$4|Diskussion]]) rückgängig gemacht: (with a colon or a semicolon at the end)

Greetings, HarryNº2 (talk) 19:09, 23 July 2022 (UTC)

The English is "Undo revision $3 by $4" (present tense imperative); isn't the current German translation consistent with that? The summary states the intent of the change; the intent is to undo revision $3 by $4. Although there is inconsistency in many of the current automatically generated summaries, it is my impression that present tense is generally preferred (especially when shorter), although I don't see a formal policy. –LiberatorG (talk) 20:00, 23 July 2022 (UTC)
Yes, the current German translation is consistent with the English (present tense imperative). It is not, however, consistent with what they do at German Wikipedia. I'm undecided which one to pick here, since both work. —MisterSynergy (talk) 20:03, 23 July 2022 (UTC)
Not sure where the colon/semicolon comes from here at Wikidata. The colon is not contained in the Translatewiki message, and only added as a separator when the undoing user is providing a custom undo message. German Wikipedia has de:MediaWiki:Undo-summary including a trailing semicolon that also shows up when no custom undo comment is provided—that clearly does not seem to be ideal. —MisterSynergy (talk) 20:06, 23 July 2022 (UTC)

@MisterSynergy: It doesn't really matter whether there is a colon or a semicolon at the end. The main thing is that after resetting an edit, the version history says "gemacht" ("made") instead of "machen" ("make"):

  • New: Version $3 von $4 (Diskussion) rückgängig gemacht
  • New: Version $3 von [[Special:Contributions/$4|{{GENDER:$4|$4}}]] ([[User talk:$4|Diskussion]]) rückgängig gemacht

--HarryNº2 (talk) 22:13, 23 July 2022 (UTC)

translatewiki:Special:Diff/10826642; we now need to wait for the next MediaWiki update in order to see the change here. As much as I am aware, this happens usually once per week. —MisterSynergy (talk) 22:22, 23 July 2022 (UTC)
I am looking forward to seeing the result in the version history. Thank you for your efforts. --HarryNº2 (talk) 22:38, 23 July 2022 (UTC)
P.S.: It's almost a bit like Christmas, and that in the middle of summer  . --HarryNº2 (talk) 22:52, 23 July 2022 (UTC)
@HarryNº2, MisterSynergy: perhaps you also want to update the message documentation to clarify that “Undo” is an imperative verb there, not an infinitive one? Lucas Werkmeister (WMDE) (talk) 09:11, 25 July 2022 (UTC)
Not sure how to do this. Where do you think should we edit the documentation at translatewiki? —MisterSynergy (talk) 09:16, 25 July 2022 (UTC)
@Lucas Werkmeister: Is that really necessary? The word "rückgängig" has not been changed, so I don't understand the question. I myself do not have the possibility to change anything there anyway, as I am not registered there. --HarryNº2 (talk) 09:33, 25 July 2022 (UTC)
@MisterSynergy: As far as I’m aware, you can directly edit that /qqq page on translatewiki.
@HarryNº2: Well, it sounds like some clarification would be helpful (otherwise the original translation wouldn’t have been wrong); the form “undo” specifically was pointed out by LiberatorG above. (I would also say that the translation of undo is rückgängig machen, not just rückgängig, and that part was changed after all.) Lucas Werkmeister (WMDE) (talk) 10:51, 25 July 2022 (UTC)
Looking at both the German and English translations in the “Related messages” box on translatewiki:MediaWiki:Wikibase-entity-summary-undo/qqq, I think that the English translation in translatewiki:MediaWiki:Wikibase-entity-summary-undo/en is probably off, together with translatewiki:MediaWiki:Wikibase-entity-summary-restore/en. Those are the only ones using present tense, while all other edit summaries (in English!) use past tense as well.
I'm not sure how to add to the documentation here, however. Is this something which needs further explanation, or are we fine with choosing the wording along common experiences? To my experience, all of these edit summaries are pretty clear regardless of the exact form chosen. —MisterSynergy (talk) 11:07, 25 July 2022 (UTC)
If there is any doubt here, I would like to refer again to an example from the German-language Wikipedia: [1]. It says: "Änderung 213221213 von 2A00:A200:0:822:E06F:8457:BB5A:7AD8 rückgängig gemacht;" and not "Änderung 213221213 von 2A00:A200:0:822:E06F:8457:BB5A:7AD8 rückgängig machen;". I hope that this removes any doubts about the correctness of the change to the new form. Best regards, HarryNº2 (talk) 11:49, 25 July 2022 (UTC)
Agreed, the English messages look off. I would recommend to change them, which would require either a commit to the extension, or a Phabricator ticket, since English is the base language. --Vogone (talk) 21:37, 28 July 2022 (UTC)

How to subscribe to a talk page topic?

On English Wikipedia there is a subscribe button on talk page sections to receive notifications whenever it is edited. How to do this on Wikidata, because I can't find any subscribe button at all? Thanks! CX Zoom (talk) 10:39, 31 July 2022 (UTC)

@CX Zoom: You need to activate "Discussion tools" in beta preferences and "Enable topic subscription" in Discussion pages preferences. Or maybe just the latter if it's available without the beta feature. --Matěj Suchánek (talk) 11:53, 31 July 2022 (UTC)
Thank you very much. CX Zoom (talk) 13:45, 31 July 2022 (UTC)

Trying to query with roqet gives a 403

I can query query.wikidata.org/sparql using the web form and curl just fine, but when I run roqet, I consistently get 403s, rather independently of how I link there.

Reproducer: Store

PREFIX wd: <http://www.wikidata.org/entity>
SELECT ?p ?o
FROM <https://query.wikidata.org/sparql>
WHERE {
  wd:Q937 ?p ?o
}

into q.rq and then run

roqet q.rq

Is this even supposed to work? AnselmF (talk) 12:55, 31 July 2022 (UTC)

The FROM keyword is used to specify a graph, which you can think of as an RDF store or part of one. To use wikidata you need to go via the query protocol endpoint, which you can either do directly via roqet's "-p" parameter or via federation, like so:
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?p ?o
WHERE {
  SERVICE <https://query.wikidata.org/sparql> {
    wd:Q937 ?p ?o
  }
}
Try it!
Infrastruktur (talk) 15:26, 31 July 2022 (UTC)
Hm... I had tried -p first (that was the "rather independently" part, sorry for being obscure). With the same result.
Your suggestion to use SERVICE regrettably also gives me a
Resolving URI failed with HTTP error status 403
Did it work for you, i.e., should I look for a local reason why wikidata just doesn't like the combination of me and roqet's UA header? 2001:4090:A247:806A:EAB1:FCFF:FEDC:5C35 16:34, 31 July 2022 (UTC)
I didn't test with the Redland tool, I used Apache Jena to check that federation was working atm. Hopefully someone else can provide an answer. Edit: This page says it doesn't support federation and a few other things from the SPARQL 1.1 specification. Infrastruktur (talk) 17:00, 31 July 2022 (UTC)