ସୂଚନା: ବଦଳଗୁଡ଼ିକ ଦେଖିବା ପାଇଁ ଆପଣଙ୍କୁ ହୁଏତ ନିଜ ବ୍ରାଉଜର କ୍ୟାସ ବାଇପାସ କରିବାକୁ ପଡ଼ିପାରେ ।

  • Firefox / Safari: Reload ଉପରେ କ୍ଲିକ କରିବା ବେଳେ Shift ଧରି କିମ୍ବା Ctrl-F5 ବା Ctrl-R ଦବାନ୍ତୁ (Macରେ ⌘-R)
  • Google Chrome: Ctrl-Shift-R ଦବାନ୍ତୁ (Macରେ ⌘-Shift-R)
  • Internet Explorer / Edge: Refresh ଉପରେ କ୍ଲିକ କଲା ବେଳେ Ctrl ଧରି ବା Ctrl-F5 ଦବାଇ
  • Opera: Ctrl-F5 ଦବାନ୍ତୁ ।
mw.loader.load(["jquery.ui"]);

// $(document).ready( function() {
// 	if (mw.config.get("wgCanonicalNamespace")==="Index") {
// 		$('<div class="mw-indicator">'+
// 		'<img alt="Link a visualizzatore" src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/Book_blue.png/30px-Book_blue.png">'+
// 		'</div>').click(function() {loadBookReader();}).appendTo(".mw-indicators");
// 	}
// 	function loadBookReader() {
// 		var book_url = "https://tools.wmflabs.org/bookreader/" + mw.config.get( 'wgContentLanguage' ) + "/" +mw.config.get( 'wgPageName' );
// 		$('body').append('<div id="bookReaderModal" class="modal"></div');
// 		$('#bookReaderModal').append('<div class="modal-content" id="bookReaderModalContent"></div');
// 		$('#bookReaderModalContent').append('<span class="close">&times;</span>');
// 		$('#bookReaderModalContent').append('<embed src="'+ book_url +'"" height="600" width="100%">');
// 		$('.modal').show();
// 	}
// 	$('body').on('click', '.close', function() {
// 		$('#bookReaderModal').hide();
// 		$('#bookReaderModal').remove();
// 	})

// });

mw.loader.load('//or.wikisource.org/w/index.php?title=User:Jnanaranjan_sahu/converter.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Jnanaranjan_sahu/localurl.js&action=raw&ctype=text/javascript');

// $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
// 	section: 'main',
// 	groups: {
// 		list: {
// 			tools: {
// 				templates: {
// 					label: 'Templates',
// 					type: 'select',
// 					list: {
// 						'Ping-button': {
// 							label: '{{Ping}}',
// 							action: {
// 								type: 'encapsulate',
// 								options: {
// 									pre: '{{Ping|',
// 									post: '}}'
// 								}
// 							}
// 						},
// 						'Clear-button': {
// 							label: 'Clear',
// 							action: {
// 								type: 'encapsulate',
// 								options: {
// 									pre: '{{Clear}}'
// 								}
// 							}
// 						},
// 						'Done-button': {
// 							label: 'Done',
// 							action: {
// 								type: 'encapsulate',
// 								options: {
// 									pre: '{{Done}}'
// 								}
// 							}
// 						}
// 					}
// 				}
// 			}
// 		}
// 	}
// } );

// if ( mw.toolbar ) {
//     mw.toolbar.addButton( {
//         imageFile: '//upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png',
//         speedTip: 'Comment visible only for editors',
//         tagOpen: '<!-- ',
//         tagClose: ' -->',
//         sampleText: 'Insert comment here',
//         imageId: 'button-comment'
//     } );
// }
// /*
// jQuery( document ).ready( function ( $ ) {
//     $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
//         section: 'advanced',
//         group: 'format',
//         tools: {
//             buttonId: {
//                 label: 'Comment visible only for editors',
//                 type: 'button',
//                 icon: '//upload.wikimedia.org/wikipedia/commons/f/f9/Toolbaricon_regular_S_stroke.png',
//                 action: {
//                     type: 'encapsulate',
//                     options: {
//                         pre: '<!-- ',
//                         peri: 'Insert comment here',
//                         post: ' -->'
//                     }
//                 }
//             }
//         }
//     } );
// } );
// */
// /*mw.loader.using( ['mediawiki.util', 'jquery.client'], function () {
// 	$(document).ready( function() {
// 		var $converter_button = '<span class="tab tab-unicode-converter-tools" rel="unicode-converter-tools"><a href="#" role="button" aria-pressed="false" aria-controls="wikiEditor-section-unicode-converter-tools">Converter</a></span>';
// 		$('span.tab').last().append($converter_button);
// 	});
// });
// */
// /*
// var converter_button = '<span class="tab tab-unicode-converter-tools" rel="unicode-converter-tools"><a href="#" role="button" aria-pressed="false" aria-controls="wikiEditor-section-unicode-converter-tools">Converter</a></span>';
// $('div.tabs').last().append(converter_button);
// mw.loader.using( ['mediawiki.util', 'jquery.client'], function () {
// 	$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
// 		'section': 'emoticons',
// 		'groups': {
// 			'faces': {
// 				'label': 'Faces' // or use labelMsg for a localized label, see above
// 			}
// 		}
// 	} );
// });

// var customizeToolbar = function () {
// 	/* Your code goes here */
// /*	alert('hi');
// };
// */
// /* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */
// /*
// if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {
// 	mw.loader.using( 'user.options' ).then( function () {
// 		// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])
// 		if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {
// 			$.when(
// 				mw.loader.using( 'ext.wikiEditor' ), $.ready
// 			).then( customizeToolbar );
// 		}
// 	} );
// }
// */

// /**
//  * Tutorial script: QuickRC ("Quick Recent Changes")
//  *
//  * A tutorial user script which adds a "Quick changelog" link to the page skin's
//  * toolbox, and when clicked it pops up a dialog with up to 25 recent edits.
//  *
//  * Demonstrates:
//  * - Use of the API
//  * - Use of jQuery
//  * - Use of ResourceLoader and some of the default modules that come with it
//  * - Use of localization
//  *
//  * (Be bold and improve it!)
//  *
//  * Authors:
//  * Erik Moeller, 2011, public domain
//  * Brion Vibber, 2012, public domain
//  */

// messages = {
//     'en': {
//         'quickchanges-title': 'Hello there!',
//         'quickchanges-greeting': 'Welcome, $1!',
//         'quickchanges-intro': 'The following pages have been recently modified:',
//         'quickchanges-link': 'Quick changelog',
//         'quickchanges-tooltip': 'Show a quick overview of changes'
//     },
//     'fr': {
//         'quickchanges-title': 'Bonjour !',
//         'quickchanges-greeting': 'Bienvenue, $1!',
//         'quickchanges-intro': 'Ces pages ont été modifiées récemment :',
//         'quickchanges-link': 'Modifications récentes'
//         // Leave tooltip out to demonstrate fallback behavior
//     }
// };

// mw.messages.set(messages['en']);
// var lang = mw.config.get('wgUserLanguage');
// if (lang && lang != 'en' && lang in messages) {
//     mw.messages.set(messages[lang]);
// }

// // Import the jQuery dialog plugin before starting the rest of this script
// mw.loader.using(['jquery.ui'], function() {

//     function renderQuickRCDialog( pageLinks ) {
// 		var $dialog = $( '<div></div>' )
// 			.html(
// 				'<strong>' +
// 				mw.message('quickchanges-greeting', mw.user.getName()).escaped() +
// 				'</strong> ' +
// 				mw.message('quickchanges-intro').escaped() +
// 				'<br/><ul><li>' +
// 				pageLinks.join( '<br /><li>' ) + '</ul>'
// 			)
// 			.dialog({
// 				autoOpen: true,
// 				title: mw.message('quickchanges-title').plain(),
// 				width: '70%',
// 				modal: true
// 			});
// 	}

// 	function quickRC() {
// 		var myPageLinks = [];
// 		var myTitles = [];

// 		// Fetch recent changes from the API by one of jQuery's AJAX functions
// 		jQuery.getJSON(
// 			mw.util.wikiScript( 'api' ),
// 			{
// 				'format': 'json',
// 				'action': 'query',
// 				'list': 'recentchanges',
// 				'rclimit' : 25
// 			},
// 			function( data ) {

// 				// Build a unique array of links, using the mw.html library to format them.
// 				$.each ( data.query.recentchanges , function( index , rc ) {
// 					// Don't link to this title if we've seen this title already
// 					if ( $.inArray( rc.title, myTitles ) === -1 ) {
// 						myPageLinks.push(
// 							mw.html.element(
// 								'a', { href: mw.util.getUrl( rc.title ) }, rc.title
// 							)
// 						);
// 					}

// 					myTitles.push( rc.title );
// 				} ) ;

// 				renderQuickRCDialog( myPageLinks );
// 			}
// 		);
// 	}

// 	$(document).ready( function() {
// 		// Add a link to the toolbox
// 		var link = mw.util.addPortletLink(
// 			'p-tb',
// 			'#',
// 			mw.message('quickchanges-link').plain(),
// 			't-prettylinkwidget',
// 			mw.message('quickchanges-tooltip').plain(),
// 			'/',
// 			'#t-whatlinkshere'
// 		);

// 		// Create a jQuery object for this link so that we get
// 		// to use jQuery awesomeness like .click() for binding functions to events
// 		// and methods like e.preventDefault();
// 		$(link).click( function( e ) {
// 			// Avoid the browser going to '#'
// 			e.preventDefault();

// 			// Initiate quickRC!
// 			quickRC();
// 		});

// 	});

// });
// mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:GoogleOCR.js&action=raw&ctype=text/javascript');
// //mw.loader.load('https://or.wikisource.org/wiki/%E0%AC%AC%E0%AD%8D%E0%AD%9F%E0%AC%AC%E0%AC%B9%E0%AC%BE%E0%AC%B0%E0%AC%95%E0%AC%BE%E0%AC%B0%E0%AD%80:Jnanaranjan_sahu/imageselect.js&action=raw&ctype=text/javascript');