User:Cat-five/vector.js

//__NOINDEX__
importScript('User:Gary King/nominations viewer.js'); // [[Wikipedia:Nominations Viewer]]
//
importScript('User:Gary King/reviewer summary.js'); // [[Wikipedia:Reviewer Summary]]
//
//
// importScript('User:Lupin/popups.js');  // Navigation Popups -- [[User:Lupin/popups.js]]  ----- DEPRECIATED IN FAVOR OF POPUPS WIDGET, NO LONGER IN USE
//
// In theory options for Navigation Popup
//
popupRedlinkRemoval = true;
//
//
// importScript('User:Ais523/watchlistnotifier.js'); // Watchlist Notifier
//
//
// COMMENTED OUT, JUST TO WEIRD NOT HAVING A SIDEBAR
// importScript("User:PleaseStand/hide-vector-sidebar.js");
//
//
importScript('User:TheDJ/foldrefs.js'); // Folded References
//
//
importScript('User:TheDJ/usagecollapse.js'); // Usage Collapser
//
//
importScript('User:Gary King/stock symbol formatter.js'); // Stock Symbol Formatter
//
//
importScript('User:Ais523/votesymbols.js'); // Vote Symbols
//
//
importScript('User:Ioeth/friendly.js'); // Friendly tool suite
//
//
importScript('User:AzaToth/twinkle.js'); // Twinkle tool suite
//
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.watchProdPages                            =       true;
TwinkleConfig.watchRevertedPages                        =       [];
TwinkleConfig.watchSpeedyPages                          =       [ 'g3', 'g5', 'g10', 'g11', 'g12', 't1' ];
TwinkleConfig.watchWarnings                             =       false;
//
//
importScript('User:AWeenieMan/furme.js'); // Furme nonfree image use template tools
//
//
importScript('User:Lupin/recent2.js'); // Lupin's recent changes tool
//
//
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]] // Option to view person data
//
//
// TESTING  - script to show megapixels of an image on image pages --- COPY AND USE AT YOUR OWN PERIL
//
// Calculate Megapixels on image pages
//
function calculateMegapixels() {
 var data = $('.fileInfo').text();
 pixel_filter = /([\d,]+) × ([\d,]+)/;
 if(pixel_filter.test(data)) {
  pixel_filter.exec(data);
  var wt = RegExp.$1, ht = RegExp.$2
    , w = parseFloat( wt.replace(/,/,'') )
    , h = parseFloat( ht.replace(/,/,'') );
  $('.fileInfo').append( $('<span></span>').text(' (' + ((w*h)/(1024.0*1024.0)).toFixed(2) + ' Megapixel)' ) );
 }
}
if( mw.config.get('wgAction') == 'view' && mw.config.get('wgNamespaceNumber') == 6 ) $(document).ready(calculateMegapixels);


// __NOINDEX__
// __NOTOC__
// __NOEDITSECTION__

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.