MediaWiki:Common.js: Porovnání verzí
Jump to navigation
Bez shrnutí editace |
Bez shrnutí editace |
||
Řádek 1: | Řádek 1: | ||
/* Any JavaScript here will be loaded for all users on every page | /* Any JavaScript here will be loaded for all users on every page | ||
function includePage( name ) | |||
{ | |||
document.write('<script type="text/javascript" src="' + wgScript + '?title=' | |||
+ name | |||
+ '&action=raw&ctype=text/javascript"><\/script>' | |||
var permittedGroups = [ "sysop", "bureaucrat"]; | var permittedGroups = [ "sysop", "bureaucrat"]; | ||
Aktuální verze z 22. 11. 2010, 12:16
/* Any JavaScript here will be loaded for all users on every page function includePage( name ) { document.write('<script type="text/javascript" src="' + wgScript + '?title=' + name + '&action=raw&ctype=text/javascript"><\/script>' var permittedGroups = [ "sysop", "bureaucrat"]; var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-19841557-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();