User: Rael/gumaxvn.js

From Teknologisk videncenter
< User:Rael
Revision as of 16:57, 16 October 2014 by Rael (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png",
     "speedTip": "Comment visible only for editors",
     "tagOpen": "<br/>",
     "tagClose": "",
     "sampleText": ""}
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png",
     "speedTip": "Comment visible only for editors",
     "tagOpen": "<s>",
     "tagClose": "</s>",
     "sampleText": "Striked text"}
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://mars.tekkom.dk/mediawiki/skins/common/images/button_image.png",
     "speedTip": "Insert Picture Box",
     "tagOpen": "{|\r\n|[[Image:",
     "tagClose": "|800px|left|thumb|Image text]]\r\n|}",
     "sampleText": ""}

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
     "speedTip": "source lang=cli boxe",
     "tagOpen": "<source lang=cli>",
     "tagClose": "</source>",
     "sampleText": ""}
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
     "speedTip": "Input for source lang=cli boxes",
     "tagOpen": "<input>",
     "tagClose": "</input>",
     "sampleText": "Input text"}
   
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
     "speedTip": "notice for source lang=cli boxes",
     "tagOpen": "<notice>",
     "tagClose": "</notice>",
     "sampleText": "Input text"}
}