In this article, we will explore
User:Bobber0001/monobook.js in depth, analyzing its impact in different contexts and its relevance in today's society. From its origin to its evolution over time,
User:Bobber0001/monobook.js has played a fundamental role in various aspects of our daily lives. Through research and analysis, we will examine the various facets of
User:Bobber0001/monobook.js and how it has influenced and impacted the way we relate, work, and live. Additionally, we will examine the future implications of
User:Bobber0001/monobook.js and how it continues to shape our ever-changing world. This article provides an in-depth understanding of
User:Bobber0001/monobook.js and its importance in contemporary society.
// STATUS CHANGER addOnloadHook(function (){
var subpage = "/Status";
var scheme = "/StatusTemplate";
var subpagelink = wgServer + "/w/index.php?title=User:" + encodeURIComponent(wgUserName + subpage);
var logout = document.getElementById( 'pt-logout' );
//Add the links
mw.util.addPortletLink("p-personal", subpagelink + "&action=edit&newstatus=in", "In", "pt-status-in", "I'm in!", "", logout);
mw.util.addPortletLink("p-personal", subpagelink + "&action=edit&newstatus=busy", "Busy", "pt-status-busy", "I'm busy!", "", logout);
mw.util.addPortletLink("p-personal", subpagelink + "&action=edit&newstatus=out", "Out", "pt-status-out", "I'm out!", "", logout);
if (location.href.indexOf("&action=edit&newstatus=") == -1) return; //Are we here to auto-edit the status?
//Get new status
var statusRegExp = /&action=edit&newstatus=(.*)/;
var status = statusRegExp.exec(location.href);
//Modify the form
document.getElementById('wpTextbox1').value = "User:"+wgUserName+scheme+"";
document.getElementById('wpSummary').value = "Status: "+status;
document.getElementById('wpMinoredit').checked = 'checked';
//Submit it!
document.getElementById('editform').submit();
});
//