MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus drf-faq
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
 
/* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */
 
/* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */
 +
// define images
 +
var wikEdUseLocalImages = true;
 +
var wikEdImagePathLocal = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-IMAGES/';
 +
 +
// disable auto update
 +
var wikEdAutoUpdate = false;
 +
 +
// diff script URL
 +
var wikEdDiffScriptSrc = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=diff.js&action=raw&ctype=text/javascript';
 +
 +
// wikEdDiff script URL
 +
var wikEdDiffSrc = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=wikEdDiff.js&action=raw&ctype=text/javascript';
 +
 +
// InstaView script URL
 +
var wikEdInstaViewSrc = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=instaview.js&action=raw&ctype=text/javascript';
 +
 +
// install the wikEd translation (omit if no translation needed)
 +
document.write('<script type="text/javascript" src="'
 +
+ 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=wikEd_translation.js'
 +
+ '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>');
 +
 +
// install [http://en.wikipedia.org/wiki/User:Cacycle/wikEd] in-browser text editor
 +
document.write('<script type="text/javascript" src="'
 +
+ 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=wikEd.js'
 +
+ '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>');

Version vom 14. September 2008, 00:37 Uhr

/* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */
// define images
var wikEdUseLocalImages = true;
var wikEdImagePathLocal = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-IMAGES/';

// disable auto update
 var wikEdAutoUpdate = false;
 
// diff script URL
var wikEdDiffScriptSrc = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=diff.js&action=raw&ctype=text/javascript';

// wikEdDiff script URL
var wikEdDiffSrc = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=wikEdDiff.js&action=raw&ctype=text/javascript';

// InstaView script URL
var wikEdInstaViewSrc = 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=instaview.js&action=raw&ctype=text/javascript';

// install the wikEd translation (omit if no translation needed)
 document.write('<script type="text/javascript" src="'
 + 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=wikEd_translation.js'
 + '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>');

// install [http://en.wikipedia.org/wiki/User:Cacycle/wikEd] in-browser text editor
 document.write('<script type="text/javascript" src="'
 + 'http://YOUR-DOMAIN.WHATEVER/PATH-TO-YOUR-WIKI/index.php?title=wikEd.js'
 + '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>');