Ero sivun ”Järjestelmäviesti:Common.js” versioiden välillä

ApoWikistä
(testi)
Ei muokkausyhteenvetoa
Rivi 1: Rivi 1:
  if (mwCustomEditButtons) {
  XEBOrder='A,B,C,D';
  mwCustomEditButtons[mwCustomEditButtons.length] = {
  rmEditButtons=[1,2,3];
    "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png",
  myButtons=[];
    "speedTip": "Redirect",
{{subst:js|http://en.wikipedia.org/wiki/User:MarkS/extraeditbuttons.js}}
    "tagOpen": "#REDIRECT [[",
    "tagClose": "]]",
    "sampleText": "Insert text"};
   
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png",
    "speedTip": "Strike",
    "tagOpen": "<s>",
    "tagClose": "</s>",
    "sampleText": "Strike-through text"};
   
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png",
    "speedTip": "Line break",
    "tagOpen": "<br />",
    "tagClose": "",
    "sampleText": ""};
 
  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"}
  }

Versio 5. heinäkuuta 2009 kello 12.32

 XEBOrder='A,B,C,D';
 rmEditButtons=[1,2,3];
 myButtons=[];
 {{subst:js|http://en.wikipedia.org/wiki/User:MarkS/extraeditbuttons.js}}