Bug ID: 63381
           Summary: interwiki forwarding doesn't work for importScript()
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
       Web browser: ---
   Mobile Platform: ---

For example, here's a transcript from Firefox 24's Web Console on

[13:03:11.991] importScript('w:en:User:Jackmcbarn/advancedtemplatesandbox.js')
[13:03:12.029] [object HTMLScriptElement]
[13:03:12.225] GET
[HTTP/1.1 301 Moved Permanently 156ms]
[13:03:12.728] GET
[HTTP/1.1 403 Forbidden 203ms]

In English, what happened is:

1. I ran "importScript('w:en:User:Jackmcbarn/advancedtemplatesandbox.js')"
2. importScript() (correctly) tried to load the script from the URL
3. tried to forward that to
4. rejected the resulting request, reportedly because of
something bad IE does with such URLs

If would forward to
instead, this whole thing would actually work.

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to