Hello Everyone,
I m new to MW. i m trying to create an extra button nearby buttons: save pages, preview, show changes by making a extension. i have used the hooks/EditPageBeforeButtons to create an extra button. but problem is that i don't know how to make this button work. Because when I click this button, it does the same work like default saving page. I don't know how to call the other functions if clicked this button. e.g. post data to a url, running a javascript or any other functions except default saving. Any examples and tips would be very thankful!
greeting sitomtom