Jump to content

Topic on Project:Support desk/Flow

Lost customized toolbar when updating to 1.22

4
Nouklea (talkcontribs)

Hi,

I recently updated my wiki from MediaWiki 1.21 to 1.22. After the process, I realized that my custom toolbar had gone missing. I had set it by editing the MediaWiki:Common.js page, where I declared buttons like this :

var button = {
        "imageFile": "images/c/c9/Button_strike.png", //image to be shown on the button
        "speedTip": "Strike", // text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<s>", // the text to use to mark the beginning of the block
        "tagClose": "</s>",      // the text to use to mark the end of the block (if any)
        "sampleText": "strike text"  // the sample text to place inside the block
};
mwCustomEditButtons.push(button);

I have tried to refresh the browser cache by using Ctrl-F5, I have rebooted the services and all, but I can't find a way to get my old toolbar back.

Any hint? Thank you very much for your help!

Ricordisamoa (talkcontribs)

Are you using the new WikiEditor or the "old" classic one?

Old:

New:

I guess that your customizations only work for the former.

Nouklea (talkcontribs)

Hi, I was using the old one. Is there a page somewhere explaining how to set up the new one? Thanks!

Ricordisamoa (talkcontribs)
Reply to "Lost customized toolbar when updating to 1.22"