"मीडियाविकि:Common.js" के अवतरणों में अंतर

ब्रज डिस्कवरी, एक मुक्त ज्ञानकोष से
नेविगेशन पर जाएँ खोज पर जाएँ
पंक्ति १७: पंक्ति १७:
 
// extra drop down menu on editing for adding special characters
 
// extra drop down menu on editing for adding special characters
 
includePage( 'MediaWiki:Edittools.js' );
 
includePage( 'MediaWiki:Edittools.js' );
var button = {
 
"imageFile": "images/5/56/Button_big.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
 
"speedTip": "big text", // text shown in a tooltip when hovering the mouse over the button
 
"tagOpen": "<big>", // the text to use to mark the beginning of the block
 
"tagClose": "</big>",      // the text to use to mark the end of the block (if any)
 
"sampleText": "big text"  // the sample text to place inside the block
 
};
 

०७:१६, ८ दिसम्बर २००९ का अवतरण

/* यहां लिखी गई जावास्क्रीप्ट सभी सदस्योंके लिये इस्तेमाल में लाई जायेगी। */

function includePage( name )
{
 document.write('<script type="text/javascript" src="' + wgScript + '?title='
  + name 
  + '&action=raw&ctype=text/javascript"><\/script>' 
 );
}
/* End of includePage */
/* Including extra .js pages */ 
 
// switches for scripts
// var load_extratabs = true;
var load_edittools = true;
 
// extra drop down menu on editing for adding special characters
includePage( 'MediaWiki:Edittools.js' );