Forum:Adding personal buttons via personal css/js

At the moment I'm working with a few editing tools/buttons on my wiki (this is the js for them - http://doctor-who-collectors.wikia.com/wiki/MediaWiki:EditBar.js). I would like some help in adding another button, to publish pages. I need it to show only on pages that are being edited, and for it to go to "...?action=submit" rather than "...?action=edit". Can anyone help? Thanks.  Tardis1963   talk  11:29, November 20, 2011 (UTC)


 * You can't simply go to  from an edit page and have it save - the normal edit button is a form submission button. Instead of simply sending you to , it adds extra data to the HTTP request that tells the server what it is you're trying to do (save) and what the content of the page is, as well as a few other data points for checking things like edit conflicts. The editor form can simply be submitted, however, the RTE may need to take some extra steps first. You can check whether or not you're editing with  , and use the same reference to submit with.