[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english

2016-07-15 Thread Pastakhov
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 {

[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english

2016-07-15 Thread Pastakhov
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,

[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english

2016-07-15 Thread Pastakhov
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

[Wikidata-bugs] [Maniphest] [Commented On] T139916: Special:EntityData returns localized url, but Blazegraph updater requires it on english

2016-07-14 Thread Smalyshev
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