User:Otokoume/common.js

$( function {	var title = mw.config.get( 'wgPageName' );	var namespace = mw.config.get( 'wgNamespaceNumber' );	if ( namespace % 2 === 0 ) {		mw.util.addPortletLink( 'p-Minecraft_Wiki', '//minecraft-ja.gamepedia.com/' + title, 'Japanese page', '',			'Go to the japanese page equivalent to the current page' );	} } );