Jump to content

User:Hipposcrashed

Page contents not supported in other languages.
From Wikinews, the free news source you can write!

// 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
       } );
   } );

}