https://bugzilla.wikimedia.org/show_bug.cgi?id=32890
Web browser: ---
Bug #: 32890
Summary: Make UploadWizard work crossdomain
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: UploadWizard
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
This code is dead and has been sitting in a useless file for a while. Recording
it here. Simply changes the type of request to jQuery-specific JSONP.
// If cross domain setup a callback:
if( ! mw.isLocalDomain( url ) ) {
if( url.indexOf( 'callback=' ) == -1 || parameters[ 'callback'
] == -1 ) {
// jQuery specific jsonp format: ( second ? is replaced
with the callback )
url += ( url.indexOf('?') == -1 ) ? '?callback=?' :
'&callback=?';
}
}
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l