In today's world,
Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js has captured the attention of millions of people around the world. Whether due to its impact on society, its relevance in the market or its influence on popular culture,
Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js is a topic that never ceases to surprise and set a trend. From its beginnings to the present,
Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js has played a fundamental role in various aspects of daily life, generating conflicting opinions and arousing constant interest from the public. In this article, we will further explore the impact and importance of
Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js, analyzing its evolution over time and its meaning today.
// <pre>
// CleanupTab.js
//
// This script adds a "cleanup" tab to the top of article pages
// when in edit mode. It is disabled for the User namespace.
function doCleanup() {
document.editform.wpTextbox1.value = '{' + '{' + 'Cleanup|date=' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value;
document.editform.wpSummary.value = 'Marked for cleanup.';
document.editform.wpMinoredit.checked = true;
document.editform.submit();
}
addOnloadHook(function() {
if (mw.config.get('wgCanonicalNamespace') == "User" || mw.config.get('wgCanonicalNamespace') == "User_talk") {
return;
}
if (document.editform) {
addPortletLink("p-cactions", "javascript:doCleanup()", "cleanup", "ca-cleanup", "Mark for cleanup", "");
}
});
// </pre>