User:Karl Dickman/Threads/06/11/30a

Editbuttons at MediaWiki:Common.js
As you probably know, there are ten buttons from the XEB script you originally wrote that have now been added to the Common.js. Of course, they are redundant for those of us who use XEB; also, their order can't be customised.

Do you have a way of suppressing them? Adding variables to Common.js seemed to kill all editbuttons. The best way I can think of is to enclose them within a div tag and suppress the id of the div tag using CSS. Karl Dickman talk 17:07, 30 November 2006 (UTC)


 * There is no really problem. In the new version of XEB (which is optimized and more dynamically) you can manually choose each button (XEBOrder). —Olliminatore 19:06, 30 November 2006 (UTC)


 * I know how the XEBOrder variable works. The problem that I'm trying to deal with is the duplicates of the XEB script at MediaWiki:Common.js.  Frankly, I would like to have all of my formatting buttons together in one sequence.  This would be bold, italic, underline, strike, superscript, subscript, and small.  I couldn't do this with XEBOrder, because the order of the buttons at MediaWiki:Common.js cannot be manipulated in any way that I'm aware of.  The only way I can think of dealing with them is to find some way to suppress them, and control all my buttons with my personal javascript. Karl Dickman talk 19:28, 30 November 2006 (UTC)


 * Oh yes, I see only now you have asked before similarly, and MarkS answered (today) with: remove the standard toolbar buttons. Which is a solution, if he would copy this function (ereaseButtons from me, example option: var  . Either this function must (modify) do the same with mwCustomEditButtons for the buttons in :Common.js, or you must simply first delete them all:  . (p.s. my automatic signing script don't works on this site :-P) If any additional question you can ask me here or there. —Olliminatore 20:36, 30 November 2006 (UTC)


 * Thanks so much for a good solution (finally). Note: by finally, I don't mean "took you long enough", but rather, "I finally found someone who could help me."  Karl Dickman talk 02:56, 1 December 2006 (UTC)