User:Ort43v/common.js

function wreq(d,f){ $.ajax({       // request type ( GET or POST )        type: "GET",        // the URL to which the request is sent        url: mw.util.wikiScript('api'),        // data to be sent to the server        data: d,        // The type of data that you're expecting back from the server        dataType: 'json',        // Function to be called if the request succeeds        success: f }); } function watch(page){

} function unwatch(page){

}