Content deleted Content added
Technical 13 (talk | contribs) Start putting together deOrphaning feature. (currently not functional, work in progress). |
Technical 13 (talk | contribs) working on "deOrphan" link... |
||
Line 4:
action:"query",
titles: mw.config.get( 'wgPageName' ),
prop: "revisions
intoken: "edit",
rvprop: "content",
Line 20:
token: mw.user.tokens.get( 'editToken' )
};
console.log("Replacement wikitext: %O", deOrphanerContent.replace(/\{\{Orphan(.*?)\}\}/gi, ""));
$.post(mw.config.get( 'wgScriptPath' )+"/api.php", deOrphanerSubmit, function(deOrphanerSesponse){
$(".loadinganimation").html("Article deOrphaned!");
});
|