মিডিয়াউইকি:Gadget-DeluxeBar.js

উইকিবই থেকে

লক্ষ্য করুন: প্রকাশ করার পর, পরিবর্তনগুলো দেখতে আপনাকে আপনার ব্রাউজারের ক্যাশে পরিষ্কার করার প্রয়োজন হতে পারে।

  • ফায়ারফক্স / সাফারি: পুনরায় লোড-এ ক্লিক করার সময় শিফট টিপে ধরে রাখুন, অথবা হয় Ctrl-F5 বা Ctrl-R টিপুন (ম্যাকে ⌘-R টিপুন)
  • গুগল ক্রোম: Ctrl-Shift-R (ম্যাকে ⌘-Shift-R) টিপুন
  • ইন্টারনেট এক্সপ্লোরার / এজ: Ctrl ধরে রাখা অবস্থায় Refresh-এ ক্লিক করুন, অথবা Ctrl-F5 টিপুন
  • অপেরা: Ctrl-F5 টিপুন।
//<nowiki> Keep system from trying to read this as wikitext

// Edition buttons
mw.loader.using( 'mediawiki.util', function() {
 
  if (['edit', 'submit'].indexOf(mw.config.get('wgAction')) == -1)
    return;
 
  $.each([
    // Format: for each button
    // [
    //   'Text to insert before the selection',
    //   'Text to insert after',
    //   'Image',
    //   'Tooltip',
    //   'Image ID'
    // ],

    [
      "{{closed|1=Deleted. ~~"+"~~}}\n\n{{end closed}}\n",
      "",
      "d/dc/Circle-Thumb",
      "box",
      ""
    ],

    [
      "{{subst:" + "joinus",
      "}} ~~" + "~~",
      "a/a7/Button_smiley3",
      "joinus",
      ""
    ],

    [
      "{{subst:" + "welcome",
      "}} ~~" + "~~",
      "e/eb/Button_accueilB",
      "welcome",
      ""
    ],

    [
      "{{subst:" + "test1",
      "}} ~~" + "~~",
      "3/3b/Button_crocs",
      "test1",
      ""
    ],

    [
      "{{subst:" + "test2",
      "}} ~~" + "~~",
      "e/ec/Button_aviso",
      "test2",
      ""
    ],

    [
      "{{subst:" + "blocked",
      "}} ~~" + "~~",
      "0/00/Button_vandale",
      "blocked",
      ""
    ],

    [
      "{{subst:" + "Spam",
      "}} ~~" + "~~",
      "6/6d/Button_exclamation_1",
      "Spam",
      ""
    ],

    [
      "== References ==\n{{Reflist}}",
      "",
      "6/64/Buttonrefvs8",
      "References",
      ""
    ]

  ], function(_, button) {
    mw.toolbar.addButton('//upload.wikimedia.org/wikipedia/commons/' + button[2] + '.png', button[3], button[0], button[1], (button[0] ? button[4] : ''), 'mw-editbutton-' + button[4]);
  });
});


// Per [[Wikibooks:Comments_in_Local_Time#Custom_settings]]
LocalComments = {
	dateDifference: true,
	dateFormat: 'mdy',
	timeFirst: true,
	twentyFourHours: false
};


//</nowiki>