مدیاویکی:Common.js: تفاوت بین نسخه‌ها

از دانشنامه‌ی اسلامی
پرش به ناوبری پرش به جستجو
 
سطر ۵: سطر ۵:
 
     "tagOpen": "#REDIRECT [[",
 
     "tagOpen": "#REDIRECT [[",
 
     "tagClose": "]]",
 
     "tagClose": "]]",
     "sampleText": "Insert text"};
+
     "sampleText": "تغییر مسیر"};
 
   
 
   
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
سطر ۱۲: سطر ۱۲:
 
     "tagOpen": "<ref> ",
 
     "tagOpen": "<ref> ",
 
     "tagClose": " </ref>",
 
     "tagClose": " </ref>",
     "sampleText": "Insert refrence here"};
+
     "sampleText": "درج پانوشت"};
 
   }
 
   }

نسخهٔ کنونی تا ‏۲۴ ژوئیهٔ ۲۰۱۲، ساعت ۰۶:۵۰

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png",
     "speedTip": "Redirect",
     "tagOpen": "#REDIRECT [[",
     "tagClose": "]]",
     "sampleText": "تغییر مسیر"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/2b/Button_ref_inscription.png",
     "speedTip": "add ref tag for insert refrences",
     "tagOpen": "<ref> ",
     "tagClose": " </ref>",
     "sampleText": "درج پانوشت"};
  }