MediaWiki:Common.js: Różnice pomiędzy wersjami

Z Taern Wiki
Przejdź do nawigacji Przejdź do wyszukiwania
Linia 21: Linia 21:
 
// 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' );
−
autoCollapse = 4 //how many collapsible tables on the page before autocollapse works (default=2)
 
−
var collapseCaption = 'collapse' //text of the [hide] link (default='hide')
 
−
var expandCaption = 'uncollapse' //text of the [show] link (default='show')
 

Wersja z 23:35, 30 paź 2011

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' );
/* Including extra .js pages */ 
// switches for scripts
var load_edittools = true;
 
// extra drop down menu on editing for adding special characters
includePage( 'MediaWiki:Edittools.js' );