MediaWiki:Common.js: Unterschied zwischen den Versionen
Aus drf-faq
| Zeile 8: | Zeile 8: | ||
// diff script URL | // diff script URL | ||
| − | var wikEdDiffScriptSrc = 'http:// | + | var wikEdDiffScriptSrc = 'http://www.smss.de/drffaq/index.php5?title=diff.js&action=raw&ctype=text/javascript'; |
// wikEdDiff script URL | // wikEdDiff script URL | ||
| − | var wikEdDiffSrc = 'http:// | + | var wikEdDiffSrc = 'http://www.smss.de/drffaq//index.php5?title=wikEdDiff.js&action=raw&ctype=text/javascript'; |
// InstaView script URL | // InstaView script URL | ||
| − | var wikEdInstaViewSrc = 'http:// | + | var wikEdInstaViewSrc = 'http://www.smss.de/drffaq/index.php5?title=instaview.js&action=raw&ctype=text/javascript'; |
// install the wikEd translation (omit if no translation needed) | // install the wikEd translation (omit if no translation needed) | ||
document.write('<script type="text/javascript" src="' | document.write('<script type="text/javascript" src="' | ||
| − | + 'http:// | + | + 'http://www.smss.de/drffaq/index.php5?title=wikEd_translation.js' |
+ '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>'); | + '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>'); | ||
// install [http://en.wikipedia.org/wiki/User:Cacycle/wikEd] in-browser text editor | // install [http://en.wikipedia.org/wiki/User:Cacycle/wikEd] in-browser text editor | ||
document.write('<script type="text/javascript" src="' | document.write('<script type="text/javascript" src="' | ||
| − | + 'http:// | + | + 'http://www.smss.de/drffaq/index.php5?title=wikEd.js' |
+ '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>'); | + '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>'); | ||
Version vom 14. September 2008, 00:39 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://www.smss.de/drffaq/index.php5?title=diff.js&action=raw&ctype=text/javascript';
// wikEdDiff script URL
var wikEdDiffSrc = 'http://www.smss.de/drffaq//index.php5?title=wikEdDiff.js&action=raw&ctype=text/javascript';
// InstaView script URL
var wikEdInstaViewSrc = 'http://www.smss.de/drffaq/index.php5?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://www.smss.de/drffaq/index.php5?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://www.smss.de/drffaq/index.php5?title=wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>');