Last modified: 2012-08-02 14:26:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40570, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38570 - Page URLs are now returned as HTTPS
Page URLs are now returned as HTTPS
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-22 00:33 UTC by jeblad
Modified: 2012-08-02 14:26 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jeblad 2012-07-22 00:33:28 UTC
Page URLs are at least in some cases returned as HTTPS, even if the call to the API uses HTTP. The URLs should be protocol-less if possible, only using the protocol if one of HTTP/HTTPS is not supported, and otherwise act as a network-path reference http://tools.ietf.org/html/rfc3986#section-4.2
Comment 1 denny vrandecic 2012-08-02 10:52:22 UTC
Cannot reproduce. Please check again.
Comment 2 jeblad 2012-08-02 14:26:22 UTC
This works as it should now, but accessing the test site only works for http. 

http://wikidata-test-repo.wikimedia.de/w/api.php?action=wbgetitems&sites=enwiki&titles=Oxygen&props=sitelinks|sitelinks/urls

I suspect the previous failure was due to the urls read from the config.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links