Page MenuHomePhabricator
Paste P2694

Masterwork From Distant Lands
ActivePublic

Authored by lfaraone on Mar 2 2016, 4:30 AM.
mediawiki$ git checkout origin/REL1_25
HEAD is now at c1fa430... Fix exception in Import, when import of a revision fails
mediawiki$ git grep sajax
HISTORY: properties now emit mw.log.warn when accessed: sajax_debug, sajax_init_object,
HISTORY: sajax_do_call and wfSupportsAjax.
HISTORY:* Changes to sajax_do_call: optionally accept an element to fill instead of a
resources/src/mediawiki.legacy/ajax.js: * http://www.modernmethod.com/sajax/
resources/src/mediawiki.legacy/ajax.js: * if sajax_debug_mode is true, this function outputs given the message into
resources/src/mediawiki.legacy/ajax.js: * the element with id = sajax_debug; if no such element exists in the document,
resources/src/mediawiki.legacy/ajax.js: if ( !window.sajax_debug_mode ) {
resources/src/mediawiki.legacy/ajax.js: e = document.getElementById( 'sajax_debug' );
resources/src/mediawiki.legacy/ajax.js: e.className = 'sajax_debug';
resources/src/mediawiki.legacy/ajax.js: e.id = 'sajax_debug';
resources/src/mediawiki.legacy/ajax.js: debug( 'sajax_init_object() called..' );
resources/src/mediawiki.legacy/ajax.js: * sajax_do_call( 'doFoo', [1, 2, 3], document.getElementById( 'showFoo' ) );
resources/src/mediawiki.legacy/ajax.js: if ( window.sajax_request_type === 'GET' ) {
resources/src/mediawiki.legacy/ajax.js: x.open( window.sajax_request_type, uri, true );
resources/src/mediawiki.legacy/ajax.js: if ( window.sajax_request_type === 'POST' ) {
resources/src/mediawiki.legacy/ajax.js: alert( 'Bad target for sajax_do_call: not a function or object: ' + target );
resources/src/mediawiki.legacy/ajax.js: mw.log.deprecate( window, 'sajax_debug_mode', false, deprecationNotice );
resources/src/mediawiki.legacy/ajax.js: mw.log.deprecate( window, 'sajax_request_type', 'GET', deprecationNotice );
resources/src/mediawiki.legacy/ajax.js: mw.log.deprecate( window, 'sajax_debug', debug, deprecationNotice );
resources/src/mediawiki.legacy/ajax.js: mw.log.deprecate( window, 'sajax_init_object', createXhr, deprecationNotice );
resources/src/mediawiki.legacy/ajax.js: mw.log.deprecate( window, 'sajax_do_call', doAjaxRequest, deprecationNotice );

Event Timeline

lfaraone edited the content of this paste. (Show Details)Mar 2 2016, 4:30 AM
lfaraone changed the title of this paste from untitled to Masterwork From Distant Lands.