In today's world,
User:King of Hearts/closeffd.js has gained impressive relevance. Whether in the field of technology, health, politics or entertainment,
User:King of Hearts/closeffd.js has managed to capture the attention of millions of people around the world. Its impact has been felt significantly, generating both enthusiasm and controversy. In this article, we will thoroughly explore the phenomenon of
User:King of Hearts/closeffd.js, from its origins to its influence on today's society. Through a detailed analysis, we will discover how
User:King of Hearts/closeffd.js has transformed the way we think, interact, and perceive the world around us.
// closeffd.js - written by ], modified from
// ] by ]
// and ] by ]
function autoffd_result()
{
var close = prompt("Result of debate?")
var f = document.editform, t = f.wpTextbox1;
t.value = t.value.split(']]====').join(']]====' + '\n' + '{{subst:' + 'ffd top' + '|' + '\'' + '\'' + '\'' + close + '\'' + '\'' + '\'' + '.}}' + ' ~~' + '~~');
t.value += "{{subst:" + "ffd bottom" + "}}";
f.wpSummary.value += "Closing debate; result was " + close;
}
function autoffd_add_ffd_tabs()
{
// Only add for pages with the right string somewhere in the title
if ((document.title.indexOf("Editing Wikipedia:Files for deletion/") != -1) && (document.title.indexOf("(section)") != -1))
{
mw.util.addPortletLink('p-cactions', 'javascript:autoffd_result()', "close");
}
}
$(autoffd_add_ffd_tabs);