User:Chrs/global.js

$( document ).ready( function { mw.util.addPortletLink( 'p-tb', location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'uselang=qqx', 'Interface debug', 't-ifdebug', 'Reload the current page with message id\'s displayed instead of text' ); });