MediaWiki:Common.js

De La Bibliothèque indépendantiste
Version datée du 7 septembre 2010 à 15:01 par WikiBiblio (discussion | contributions) (Page créée avec « Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. : var button = { "imageFile": "images/5/56/Button_big.png", // image to be… »)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */

var button = {
	"imageFile": "images/5/56/Button_big.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
	"speedTip": "big text", // text shown in a tooltip when hovering the mouse over the button
	"tagOpen": "<big>", // the text to use to mark the beginning of the block
	"tagClose": "</big>",      // the text to use to mark the end of the block (if any)
	"sampleText": "big text"  // the sample text to place inside the block
};
mwCustomEditButtons.push(button);