Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
mw.loader.load('https://en.bharatpedia.org/w/index.php?title=MediaWiki:Gadget-OneClickArchiver.js&action=raw&ctype=text/javascript&maxage=0&smaxage=0&t=' + Date.now());
mw.loader.load( 'ext.gadget.BharatMitra' );
mw.loader.load( 'ext.gadget.UserStats' );
/* BP-DIAG-START */
$(function(){setTimeout(function(){
function describe(id){
var els=document.querySelectorAll('[id^="'+id+'"]');
var out=[];
els.forEach(function(el){
var cs=getComputedStyle(el);
var where=el.closest('.vector-sticky-header')?'sticky header':(el.closest('.vector-user-links-main')?'top bar row':(el.closest('.vector-dropdown-content')?'dropdown':'other'));
out.push(el.id+' in '+where+', display '+cs.display);
});
return out.length?out.join(' ; '):'NOT FOUND';
}
var box=document.createElement('div');
box.style.cssText='position:fixed;top:60px;left:10px;z-index:99999;background:#ffffff;border:2px solid #333333;padding:10px;font-size:13px;color:#000000;max-width:92%';
box.textContent='BP check: skin='+mw.config.get('skin')+' | Sandbox: '+describe('pt-sandbox')+' | Watchlist: '+describe('pt-watchlist');
document.body.appendChild(box);
},2500);});
/* BP-DIAG-END */