https://bugzilla.wikimedia.org/show_bug.cgi?id=47732

       Web browser: ---
            Bug ID: 47732
           Summary: Chrome blocks API calls to foreign Wikipedia APIs due
                    to insecure protocol
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataClient
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: p.selits...@gmail.com
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

When I try to link the newly created article with a Wikidata item, it's
proposed to specify a project and an article in it.

I use HTTPS protocol in Wikipedia, and WikidataClient tries to access foreign
Wikipedia APIs via HTTP. Thus it's been blocked by Chrome:

[blocked] The page at https://be-x-old.wikipedia.org/[skipped] ran insecure
content from http://en.wikipedia.org/w/api.php?[skipped].

It appears that wbSiteDetails is not populated the right way: apiUrl and
pageUrl should keep the current protocol, shouldn't they? We could use protocol
independent URLs, but I'm not sure whether jQuery interprets them correctly in
ajax requests.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to