MediaWiki:Common.js/edit.js: Difference between revisions

mw.toolbar.buttons doesn't seem to exist... do we need this if we include the standard buttons in our custom button string?
m (oops)
(mw.toolbar.buttons doesn't seem to exist... do we need this if we include the standard buttons in our custom button string?)
Line 178: Line 178:
// Use the old edit toolbar
// Use the old edit toolbar
// Add the MediaWiki standard buttons into the available buttons
// Add the MediaWiki standard buttons into the available buttons
$.each(mw.toolbar.buttons, function( b, value ){
/*$.each(mw.toolbar.buttons, function( b, value ){
// add standard buttons for full XEB order changing
// add standard buttons for full XEB order changing
// BDict[b]=[];
// BDict[b]=[];
Line 184: Line 184:


// for (d in value) {BDict[b].push(value}[d]);
// for (d in value) {BDict[b].push(value}[d]);
});
});*/


// Build the new buttons
// Build the new buttons