MediaWiki:Common.js: Skillnad mellan sidversioner

Från Wiki-Rötter
Hoppa till navigering Hoppa till sök
(Skapade sidan med '→‎JavaScript som skrivs här körs varje gång en användare laddar en sida.: →‎Quote button: var button = { "imageFile": "http://www.genealogi.se/wiki/images/quot...')
(Ingen skillnad)

Versionen från 22 oktober 2010 kl. 09.03

/* JavaScript som skrivs här körs varje gång en användare laddar en sida. */
/* Quote button */

var button = {
        "imageFile": "http://www.genealogi.se/wiki/images/quote_mark.gif",  //22x22 pixels
        "speedTip": "Quote",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<div style='background-color:#F5F5F5'>",        //the text to use to mark the beginning of the block
        "tagClose": "</div>",      //the text to use to mark the end of the block (if any)
        "sampleText": "Insert quote here"   //the sample text to place inside the block
};
mwCustomEditButtons.push(button);

/* End of Quote button */