Content deleted Content added
No edit summary |
No edit summary |
||
Line 14:
function postToLog(title, time, action) {
var params = {
action: "
format: "json"
},
api = new mw.Api();
api.get(params).done((data) => {
if(typeof data.
params = {
action: "edit",
title: "User:" + mw.config.get("wgUserName") + "/
text: "This page measures the amount of time it takes for me to review articles at AfC. This information is obtained using a [[User:JJPMaster/afc.js|user script]].\r\n* [[" + title + "]] - " + action + " after " + time + " seconds",
summary: "Added " + title + " to AfC time log using [[User:JJPMaster/afc.js]]",
|