[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english
Pastakhov added a comment. I temporary fixed it by adding in LocalSetting.php string: # Site language code, should be one of the list in ./languages/data/Names.php if ( $_SERVER['REMOTE_ADDR'] === 'myserverip' ) { Hack Wikidata Query Service Updater $wgLanguageCode = "en"; } else { $wgLanguageCode = "ru"; }TASK DETAILhttps://phabricator.wikimedia.org/T139916EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: PastakhovCc: Smalyshev, Aklapper, Pastakhov, Zppix, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english
Pastakhov added a comment. There is parameter uselang, but it changes all messages except URL, because URL is hard-coded. :-/TASK DETAILhttps://phabricator.wikimedia.org/T139916EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: PastakhovCc: Smalyshev, Aklapper, Pastakhov, Zppix, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english
Pastakhov added a comment. I'm not sure why exactly the wikibase has different language code Because wikibase uses $entityDataTitle->getCanonicalURL() function which returns localized URL. It's common behavior of MW Core that hard-coded and there is no alternative :-( isn't wikibase supposed to be multilingual? I sure wikibase should be multilingual, but URL in RDF schema doesn't.TASK DETAILhttps://phabricator.wikimedia.org/T139916EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: PastakhovCc: Smalyshev, Aklapper, Pastakhov, Zppix, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english
Smalyshev added a comment. Yes, Special:EntityData should produce the same data always. I'm not sure why exactly the wikibase has different language code - isn't wikibase supposed to be multilingual? But I'll look into how to make it use more standard URL...TASK DETAILhttps://phabricator.wikimedia.org/T139916EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, Aklapper, Pastakhov, Zppix, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs