Migration guide
JavaScript code for checking multiple keys via mw.config.exists([multiple]) or mw.user.tokens.exists([multiple]) will no longer work. If your script makes use of this, use exists() or get() with a single key instead.
Example (1)
if ( - mw.config.exists( [ - 'wgTitle' - 'wgPageName' - ] ) + mw.config.exists( 'wgTitle' ) && + mw.config.exists( 'wgPageName' ) ) { console.log( 'Condition reached.' ); }
Example (2)
- if ( mw.config.exists( [ 'wgTitle' 'wgPageName' ] ) ) { + if ( mw.config.get( 'wgTitle' ) && mw.config.get( 'wgPageName' ) ) console.log( 'Condition reached.' ); }
Known usage
None. There seem to be zero search results from all user scripts, gadgets and site scripts on public WMF wikis. And also no search results from any Gerrit repos (except for its definition and test).