User:Zhuyifei1999/common.js: Difference between revisions
Jump to navigation
Jump to search
Zhuyifei1999 (talk | contribs) (gadgetized) |
Zhuyifei1999 (talk | contribs) (Add) |
||
Line 1: | Line 1: | ||
$( document ).ready( function() { | |||
mw.util.addPortletLink( | |||
'p-tb', | |||
location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'action=info', | |||
'Page information', | |||
't-pageinfo', | |||
'Display the current page information' | |||
); | |||
}); |