User:Wargo/common.js

jQuery( document ).ready( function { var ns = mw.config.get( 'wgNamespaceNumber' ); if ( ns !== 2 && ns !== 3 ) {return;} var title = mw.config.get( 'wgTitle' );  if ( title.indexOf( '/' ) !== -1)  {  title = title.substr( 0, title.indexOf( '/' ) );  }  TabTitle = 'Wkład';	  mw.util.addPortletLink( 'p-cactions', mw.util.wikiGetlink( 'Special:Contributions/' + title ), TabTitle, 't-blockip', TabTitle + ' "' + title + '"' );

TabTitle = 'Usunięte'; mw.util.addPortletLink(  'p-cactions',   mw.util.wikiGetlink( 'Special:DeletedContributions/' + title ),   TabTitle, 't-blockip', TabTitle + ' "' + title + '"'   ); });