In today's world,
User:Rjd0060/oldprod.js is a topic that has captured the attention of millions of people around the world. Its influence extends across different aspects of everyday life, from politics to popular culture.
User:Rjd0060/oldprod.js has generated heated debates and inspired countless research and publications. Whether it is a character, a historical event, or even an abstract concept,
User:Rjd0060/oldprod.js has managed to leave an indelible mark on contemporary society. In this article, we will thoroughly explore the importance and impact of
User:Rjd0060/oldprod.js, examining its many facets and its relevance in today's world.
// <nowiki>
importScript('User:Animum/urlparameters.js'); //For the "UrlParameters" below.
$(function() {
if(wgNamespaceNumber == 1 && UrlParameters == "edit" && UrlParameters == 1) {
var xmlreq = new XMLHttpRequest();
xmlreq.open("GET", "http://en.wikipedia.org/w/api.php?action=query&list=logevents&ledir=older&leprop=timestamp&letype=delete&letitle=" + encodeURIComponent(wgPageName.split(":")) + "&format=xml", true);
xmlreq.send("");
xmlreq.onreadystatechange = function() {
if(xmlreq.readyState == 4 && xmlreq.status == 200) { //Crucial XML fluff.
var item = xmlreq.responseXML.getElementsByTagName("item").getAttribute("href").indexOf("action=edit") != -1 ? 0 : 1)]; //Is the article existent or not? If so, do not fetch the restoration date.
document.editform.wpTextbox1.value = "{{oldprod\|date=" + item.getAttribute("timestamp").split("T") + "}}\n" + document.editform.wpTextbox1.value; //Add it to the editform.
document.editform.wpMinoredit.checked = false;
document.editform.wpWatchthis.checked = false;
document.editform.wpSummary.value = "Tagging with {{]}}";
document.editform.submit();
}
};
}
});
$(function() {
if(wgNamespaceNumber == 1) mw.util.addPortletLink("p-cactions", mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + encodeURIComponent(mw.config.get('wgPageName')) + "&action=edit&oldprod=1", "oldprod", "ca-oldprod");
});
// </nowiki>