Jump to content

User:Hipposcrashed

From Meta, a Wikimedia project coordination wiki

// Intentionally using non-strict comparison with ==, not ===, because of phab:T54542 if ( mw.user.options.get( 'wikibase-otherprojects' ) == 0 ) {

   mw.loader.using( 'mediawiki.api', function () {
       ( new mw.Api() ).postWithToken( 'options', {
           action: 'options',
           optionname: 'wikibase-otherprojects',
           optionvalue: 1
       } );
   } );

}