Differenze tra le versioni di "MediaWiki:Common.js"

Da ItaChan.
Vai alla navigazioneVai alla ricerca
 
Riga 6: Riga 6:
 
     "tagClose": " </span>",
 
     "tagClose": " </span>",
 
     "sampleText": "/x/ - Nome della board"}
 
     "sampleText": "/x/ - Nome della board"}
 +
 +
  mwCustomEditButtons[mwCustomEditButtons.length] = {
 +
    "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png",
 +
    "speedTip": "Comment visible only for editors",
 +
    "tagOpen": "<!-- ",
 +
    "tagClose": " -->",
 +
    "sampleText": "Insert comment here"}
 
   }
 
   }

Versione attuale delle 17:04, 10 mar 2010

if (mwCustomEditButtons) {
    mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://itachan.hostoi.com/images/5/5e/Board.png",
     "speedTip": "Aggiungi una nuova board",
     "tagOpen": "<span class="board">,
     "tagClose": " </span>",
     "sampleText": "/x/ - Nome della board"}

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png",
     "speedTip": "Comment visible only for editors",
     "tagOpen": "<!-- ",
     "tagClose": " -->",
     "sampleText": "Insert comment here"}
  }