/* generated javascript */
var skin = 'monobook';
var stylepath = '/wiki/skins';

/* MediaWiki:Common.js */
/* Javascript i denne fila vil gjelde for alle drakter. */

/* All JavaScript i denne fila vil bli lastet for alle brukere på hver side. */

/** Extra toolbar options ****************************************************** 
  *
  *  Description: UNDOCUMENTED
  *  Maintainers: [[User:MarkS]]?, [[User:Voice of All]], [[User:R. Koot]]
  */
 
 //This is a modified copy of a script by User:MarkS for extra features added by User:Voice of All.
 // This is based on the original code on Wikipedia:Tools/Editing tools
 // To disable this script, add <code>mwCustomEditButtons = [];<code> to [[Special:Mypage/monobook.js]]
 
 if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_redirect.png",
     "speedTip": "Omdirigering",
     "tagOpen": "#REDIRECT [[",
     "tagClose": "]]",
     "sampleText": "Målside"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_strike.png",
     "speedTip": "Overstreking",
     "tagOpen": "<s>",
     "tagClose": "</s>",
     "sampleText": "Overstreket tekst"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_enter.png",
     "speedTip": "Linjeskift",
     "tagOpen": "<br />",
     "tagClose": "",
     "sampleText": ""};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_sup_letter.png",
     "speedTip": "Hevet skrift",
     "tagOpen": "<sup>",
     "tagClose": "</sup>",
     "sampleText": "Hevet tekst"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_sub_letter.png",
     "speedTip": "Senket skrift",
     "tagOpen": "<sub>",
     "tagClose": "</sub>",
     "sampleText": "Senket tekst"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_small.png",
     "speedTip": "Liten skrift",
     "tagOpen": "<small>",
     "tagClose": "</small>",
     "sampleText": "Liten skrift"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_hide_comment.png",
     "speedTip": "Sett inn skjult tekst (vises kun i kildekoden)",
     "tagOpen": "<!-- ",
     "tagClose": " -->",
     "sampleText": "Skjult tekst"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_gallery.png",
     "speedTip": "Sett inn bildegalleri",
     "tagOpen": "\n<gallery>\n",
     "tagClose": "\n</gallery>",
     "sampleText": "Image:Example.jpg|Bildetekst1\nImage:Example.jpg|Bildetekst2"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_blockquote.png",
     "speedTip": "Sitér tekst",
     "tagOpen": "<blockquote>\n",
     "tagClose": "\n</blockquote>",
     "sampleText": "Sitat"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_insert_table.png",
     "speedTip": "Sett inn tabell",
     "tagOpen": '{| class="wikitable"\n|-\n',
     "tagClose": "\n|}",
     "sampleText": "! overskrift 1\n! overskrift 2\n! overskrift 3\n|-\n| rad 1, celle 1\n| rad 1, celle 2\n| rad 1, celle 3\n|-\n| rad 2, celle 1\n| rad 2, celle 2\n| rad 2, celle 3"};


 mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_latinas.png",
     "speedTip": "Sett inn «»",
     "tagOpen": "«",
     "tagClose": "»",
     "sampleText": "utsagn"};

 mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Button_chapitre.png",
     "speedTip": "Kode for utdrag",
     "tagOpen": "<onlyinclude>",
     "tagClose": "</onlyinclude>",
     "sampleText": "utdrag"};  

/* Neste knapp er satt inn av Torbjørn */

mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": wgServer + wgScriptPath + "/images/Kategori.jpg",
     "speedTip": "Sett inn Kategori",
     "tagOpen": "[[Kategori:",
     "tagClose": "]]",
     "sampleText": "kategori"};



}

/* MediaWiki:Monobook.js */
/* Javascript i denne fila vil gjelde for brukere av drakta Monobook */