Editing Template:RecentlyChanged
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 9: | Line 9: | ||
rcprop: "title|ids|sizes|flags|user", | rcprop: "title|ids|sizes|flags|user", | ||
rclimit: "10", | rclimit: "10", | ||
format: "json | format: "json" | ||
}; | }; | ||
| Line 23: | Line 20: | ||
var recentchanges = response.query.recentchanges; | var recentchanges = response.query.recentchanges; | ||
for (var rc in recentchanges) { | for (var rc in recentchanges) { | ||
element.innerHTML += "<li><a href=\"https://lore.gnoblin.cc/w/"+ | element.innerHTML += "<li><a href=\"https://lore.gnoblin.cc/w/"+rc+"\"></a></li>" | ||
} | } | ||
}) | }) | ||
.catch(function(error){console.log(error);}); | .catch(function(error){console.log(error);}); | ||
</script></html> | </script></html> | ||