Last modified: 2013-07-25 07:06:33 UTC
The autocomplete code tries to do requests to HTTP sites when you're on a HTTPS site. Chrome says no: [blocked] The page at https://www.wikidata.org/wiki/Q59 ran insecure content from http://en.wikipedia.org/w/api.php?callback=jQuery18202386506893672049_1351541237295&action=opensearch&namespace=0&suggest=&search=PHP. <Reedy> jeblad_WMDE: I see in sites they are all http and also http in the json site_data :( <Reedy> https://meta.wikimedia.org/w/api.php?action=sitematrix&format=json <Reedy> I blame $wgCanonicalServer
I have written a maintenance script that will update the sites table and optionally strip the protocols from any URLs, making them protocol relative. Patch for Wikibase: I1ec863c5 This needs a core patch too: I7e22cc3c Once these patches are in, run this: cd extensions/Wikibase/lib/maintenance php populateSitesTable.php --strip-protocols That should fix this issue.
(In reply to comment #1) > Once these patches are in, run this: > > cd extensions/Wikibase/lib/maintenance > php populateSitesTable.php --strip-protocols Not on the cluster ;) If you could do this locally (will be quicker), and then give me a dump of the table, I can import this into the wikidata database...
*** Bug 41592 has been marked as a duplicate of this bug. ***