OK, Ive spent the better part of two hours trying to figure out mediawiki JavaScript. In the last two hours all I have accomplished is giving myself a headache.
My goal is a basic JavaScript tool for moving pages. On a private wiki I run it is often needed to archive material that is no longer needed, We dont like to delete because often this material is still useful. Instead we move it to a custom namespace.
What I am trying to do in JavaScript and failing spectacularly at is a tool that will take Title, and move it to Archive:Title without a redirect with a single click.
Yes I know it sounds simple but Im having a devil of a time figuring out how to use the mediawiki js api
Any help would be welcome