Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// Edition buttons (thank you JackPotte)
$(function() {
 
  if (['edit', 'submit'].indexOf(mw.config.get('wgAction')) == -1)
    return;
 
  $.each([
    // Format : apply  to each buttons
    // [
    //   'Text to insert before the selection', 'Text to insert after the selection',
    //   'Button's image (after « commons/ »)',
    //   'Text that appears in the tooltip when the button is browsed',
    //   'Image identifier ; low importance, but we must be sure that the identifier is unique, don't change and don't use nor space nor specials characters'
    // ],

    [
      "…",
      "",
      "5/50/Button_hellip.png",
      "Points de suspension",
      ""
    ],

    [
      "« ",
      " »",
      "2/29/Button_double_angle_quotes_with_ellipsis.png",
      "Guillemets",
      ""
    ],

    [
      " ",
      "",
      "6/64/Button_nbsp_bold.png",
      " ",
      ""
    ],

    [
      "É",
      "",
      "e/ea/Button_É.PNG",
      "É majuscule",
      ""
    ],

    [
      "Ç",
      "",
      "5/50/InicialÇ.svg",
      "Ç majuscule",
      ""
    ],

    [
      "Æ",
      "æ",
      "1/1a/Unicode_æ.svg",
      "Æ minuscule/majuscule",
      ""
    ],

    [
      "Œ",
      "œ",
      "1/1e/Button_API_œ.png",
      "Πminuscule/majuscule",
      ""
    ],

    [
      "Ā",
      "ā",
      "d/d0/Ā_button.png",
      "Ā minuscule/majuscule",
      ""
    ],

    [
      "Ē",
      "ē",
      "8/84/Ē_button.png",
      "Ē minuscule/majuscule",
      ""
    ],

    [
      "Ī",
      "ī",
      "2/29/Ī_button.png",
      "Ī minuscule/majuscule",
      ""
    ],

    [
      "Ō",
      "ō",
      "6/66/Ō_button.png",
      "Ō minuscule/majuscule",
      ""
    ],

    [
      "Ū",
      "ū",
      "8/85/Ū_button.png",
      "Ū minuscule/majuscule",
      ""
    ],

    [
      "ſ",
      "",
      "1/12/Round_s_and_long_s.jpg",
      "S long",
      ""
    ],

    [
      "—",
      "",
      "d/dd/Dash.svg",
      "Tiret cadratin",
      ""
    ],

    [
      " ",
      "",
      "6/64/Button_nbsp_bold.png",
      " ",
      ""
    ],

    [
      "<small>",
      "</small>",
      "5/58/Button_small.png",
      "Petit",
      ""
    ],

    [
      "<s>",
      "</s>",
      "3/30/Btn_toolbar_rayer.png",
      "Rayer",
      ""
    ],

    [
      "#REDIRECT [[",
      "]]",
      "e/e6/Redirect_arrow.png",
      "Redirection",
      ""
    ],

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