User:Nyakase/Scripts/StatusChanger.js: Difference between revisions

Content deleted Content added
Created page with '//////////STATUS CHANGER // Creator: Misza13 // Credits: Voyagerfan5761 for some minor improvements // Modified by Xenocidic to simply use /Status as a one word indicator, // Modified by Kraftlos to include Sleep status // Modified by APerson for compatibility with {{UserStatus}} // Modified by Vukky to use Morebits and the MediaWiki API instead of cluttering the page with portlets // Some code from Twinkle modules $(function (){...'
 
change edit summary
Line 66:
statusPage.getStatusElement().status('Setting status');
console.log(form);
statusPage.setEditSummary(mw.config.get('wgUserName') + ' isset nowtheir status to "' + status + '".');
statusPage.setPageText(status);
statusPage.save();