…and it works! convert editPage, getPageText, and menu setup functions to use ajax+mw.api()

more to come...