User:Zhuyifei1999/common.js: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(Add)
(Export to site)
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'
  );
});

Revision as of 12:31, 29 June 2013