MediaWiki:Common.js: Skillnad mellan sidversioner

ingen redigeringssammanfattning
(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 redigeringssammanfattning
Rad 1: Rad 1:
/* JavaScript som skrivs här körs varje gång en användare laddar en sida. */
/* JavaScript som skrivs här körs varje gång en användare laddar en sida. */
/* Quote button */
<!-- Google tag (gtag.js) -->
<!--<script async src="https://www.googletagmanager.com/gtag/js?id=UA-44868260-2"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());


var button = {
  gtag('config', 'UA-44868260-2');
        "imageFile": "http://www.genealogi.se/wiki/images/quote_mark.gif",  //22x22 pixels
</script>-->
        "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 */
Forum:Admin, Forum:CantDelete, Forum:CantEdit, Forum:CantPost, Forum:CantSearch, Forum:CantView, Forum:Mod, Forum:NoSigs, Byråkrater, emailconfirmed, Gränssnittsadministratörer, Administratörer, Widget-redigerare
1 251

redigeringar