Last modified: 2011-09-05 00:41:34 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 T32683, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30683 - Commons on HTTPS loads various scripts over HTTP (when importScriptUri is used)
Commons on HTTPS loads various scripts over HTTP (when importScriptUri is used)
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.20.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-01 14:21 UTC by Roan Kattouw
Modified: 2011-09-05 00:41 UTC (History)
3 users (show)

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


Attachments

Description Roan Kattouw 2011-09-01 14:21:21 UTC
http://commons.wikimedia.org/w/index.php?title=MediaWiki:Stockphoto.js&action=raw&ctype=text/javascript etc

Is because mw.util.expandUrl() uses wgProto. I'll fix that tomorrow.
Comment 1 Roan Kattouw 2011-09-01 14:30:09 UTC
Turns out to be a local JS issue, discussing with Krinkle.
Comment 2 Krinkle 2011-09-05 00:41:34 UTC
Yeah, importScriptUri is a plain legacy function in core. On Commons it's overwritten (yay for the ability in javascript to redefine a function :-) ) to do something with mw.loader.load and a local function called 'mw.util.expandUrl'

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


Navigation
Links