MediaWiki:Common.js

Aus crazylinux.de
Zur Navigation springen Zur Suche springen

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
1 /* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */
2 var button = {
3         "imageFile": "skins/common/images/button_image.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
4         "speedTip": "Highlight SourceCode",    //text shown in a tooltip when hovering the mouse over the button
5         "tagOpen": "<source lang=\"php\">",        //the text to use to mark the beginning of the block
6         "tagClose": "</source>",      //the text to use to mark the end of the block (if any)
7         "sampleText": "<?php\n\n?>"   //the sample text to place inside the block
8 };
9 mwCustomEditButtons.push(button);