User:FlyingRagnar/vector.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10: Line 10:
   //$( "#tabs" ).tabs();
   //$( "#tabs" ).tabs();
    
    
/**
 
* Action link: Purge (Action menu)
*
* @source: http://www.mediawiki.org/wiki/Snippets/Purge_action
* @rev: 5
*/
$(document).ready( function() {
     if ( !$( '#ca-purge' ).length && mw.config.get( 'wgIsArticle' ) ) {
     if ( !$( '#ca-purge' ).length && mw.config.get( 'wgIsArticle' ) ) {
         mw.util.addPortletLink(
         mw.util.addPortletLink(
Line 27: Line 21:
         );
         );
     }
     }
} );
      
      
   
   
} );
} );