Author: neilk
Description:
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=?'; } }
Version: unspecified
Severity: normal