views:

66

answers:

2

Is there any way to group the edit buttons displayed above the edit dialog in MediaWiki? By grouping, I mean like Word does (and even this editor) - you can add dividing lines to group them so that e.g. Bold and Italic are in one group, numbered list and bullet points in another.

We've added lots of new buttons (in EditPage.php) and they are in a logical order, but at 30 buttons it is a bit overwhelming for some users.

A: 

Maybe check out wikEd, it seems to organize the buttons pretty well, if you can see the code it could help you maybe.

Adrian Archer
Appreciate the reply, thanks. Problem is, wikEd is a *new* editor function and I'm looking to group the *existing* buttons.BTW - we also use wikEd (optionally - only client installation).
Mark Robinson
Which version of mediawiki are you using? On the newer version they have changed the way the buttons look, and on the older versions there doesn't seem to be any diving lines between the buttons.
Adrian Archer
Mark Robinson
+1  A: 

Why don't you make some fake buttons that don't do anything, but look like dividing lines? Would that work for you?

Adrian Archer
Yeah, this is a clever idea. I'll try it out and get back to you.
Mark Robinson
This works, great. Now I've got to work out how to make the dividing buttons smaller, specifically narrower. Any ideas? If not I'll post another question.Here's the code I used from EditPage.php: array( 'image' => "button_divider.png", 'id' => "button_divider", 'tip' => "divider (not for editing)", 'open' => '', 'close' => '', 'sample'=> '' ),
Mark Robinson