User:Benjaminikuta/common.js

var mobileLinkMatch = /^(https?:\/\/.*)\.m(\..*)/.exec(location.href); if (mobileLinkMatch) location.href = mobileLinkMatch[1] + mobileLinkMatch[2]; mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );