Scheduled Server Maintenance:
Bharatpedia is currently undergoing server maintenance. During this period, logged-in users may experience temporary service disruptions, session interruptions, or login issues. We kindly request your patience and understanding while the maintenance work is in progress.
All services are expected to resume normally once maintenance is complete. This notice will be removed as soon as the maintenance is finished. Thank you for your cooperation.
All services are expected to resume normally once maintenance is complete. This notice will be removed as soon as the maintenance is finished. Thank you for your cooperation.
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.
/* BM probe - temporary */
$( function () {
var box = document.createElement( 'div' );
box.id = 'bm-probe';
box.setAttribute( 'style', 'position:fixed;top:0;left:0;z-index:99999;background:#fff;color:#000;border:2px solid red;padding:6px;font-size:12px;max-width:90%;' );
box.textContent = 'probe...';
document.body.appendChild( box );
var firstMenu = null, n = 0;
var t = setInterval( function () {
n++;
var menu = document.querySelector( '.bpneo-title-actions .bpneo-action-menu' );
if ( menu && !firstMenu ) { firstMenu = menu; }
var lines = [];
lines.push( 'skin=' + mw.config.get( 'wgSkin' ) );
lines.push( 'BMobj=' + ( typeof window.BharatMitra ) );
try { lines.push( 'state=' + mw.loader.getState( 'ext.gadget.BharatMitra' ) ); } catch ( e ) { lines.push( 'state=?' ); }
lines.push( 'menu=' + !!menu );
lines.push( 'menuStable=' + ( menu ? ( menu === firstMenu ) : 'n/a' ) );
lines.push( 'item=' + !!document.getElementById( 'ca-bharatmitra' ) );
lines.push( 'tick=' + n );
box.textContent = lines.join( ' | ' );
if ( n >= 20 ) { clearInterval( t ); }
}, 500 );
} );