Talk:MediaWiki edit toolbar

From Wikimedia Commons, the free media repository
Jump to: navigation, search

How do I add or remove buttons on the edit toolbar? Can someone please document here or link to documentation that tells me how to do this? Thanks! 24.235.149.75 20:47, 18 June 2009 (UTC)

Look at w:Wikipedia:Tools and specifically w:Wikipedia:Tools/Editing_tools#Extra_edit_page_buttons. Helder 21:50, 18 June 2009 (UTC)

Page organisation[edit]

I have removed ombox template, calling reorganization of the page and splitting to several subpages. It is true it is not organized, but in the case of MediaWiki edit buttons it is necessary to have them visually on one place, thus it is not necessary to reorganize them.--Juan de Vojníkov (talk) 10:32, 25 January 2010 (UTC)

How to have Enhanced editing toolbar (Wikimedia Usability Initiative) ?[edit]

Hi i am new here. i just a have setup MediaWiki and want to have Enhanced editing toolbar (Wikimedia Usability Initiative) like on wikipedia on my wiki... how can i have that?? please help me..thanks in advance

To add some buttons, in Special:mypage/monobook.js, try something like:
mwCustomEditButtons.push({
        "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/12/Button_accueilA.png",
        "speedTip": "Template",
        "tagOpen": "{{sub"+"st:welcomeip}}~~"+"~~",
        "tagClose": "",
        "sampleText": ""
    });
Then, clear your cache and it should work on any Mediawiki. JackPotte (talk) 18:59, 7 December 2010 (UTC)
I tried that in several variations for a local wiki in my university, but it did not work. I can edit/create the User:MyUserName/monobook.js file (I also tried it with capital M, both files were nonexistent before), but it had no effect on the toolbar. I also checked the source code of an Edit-page after creating the monobook.js: I could not find any inclusion / linking to the per-user monobook.js file there, so it can not have an effect, unless it is included indirectly (where?).
We are still using a quite old version of Mediawiki (1.14.0), maybe that's the reason? Also: Could the use of these per-user js files be disabled by an Admin (he is not too much into Mediawiki, so he doesn't know himself if it is a standard setting)? Thanks, Nøk 129.199.118.16 20:01, 9 February 2011 (UTC)
Hi! you may want to take a look at thes:
Helder 18:44, 10 February 2011 (UTC)
Look at my settup at User:Jarekt/vector.js. In Preferences/editing tab I am using "Show edit toolbar (requires JavaScript)" is on and "Enable enhanced editing toolbar" is off. --Jarekt (talk) 19:38, 10 February 2011 (UTC)
Thanks for both answers, they look promising/helpful on the first glance. I'll look into that (hopefully) soon and report back for others with the same problem! -- Nøk 129.199.118.16 14:14, 15 February 2011 (UTC)
So, it seems it is really the $wgAllowUserJs and $wgAllowUserCss settings that kept me from "improving" my toolbar. Unfortunately, my admin does not want to change this :-( I thought of one possible workaround, but I had no time to try it yet: using a frameset, i.e. to have the "toolbox" in one frame and load the wiki into the other frame. You should be able to access the text field (= edit box) in the other frame if you know how it is named, and you don't have the Javascript restrictions any more that Mediawiki imposes. --Nøk (talk) 17:35, 18 April 2011 (UTC)