MediaWiki:Gadget-mySandbox.js: Difference between revisions

Undid revision 177872 by Zhuyifei1999 (talk)
(discourage the anon sandboxes -- revert if you disagree)
(Undid revision 177872 by Zhuyifei1999 (talk))
 
Line 32: Line 32:
// Use Special:MyPage (as opposed to mw.user.getName()) so that it
// Use Special:MyPage (as opposed to mw.user.getName()) so that it
// works for logged-out users as well.
// works for logged-out users as well.
title = new mw.Title( mw.user.isAnon() ? 'Project:Sandbox' : ( 'Special:MyPage/' + conf.subpageName ) );
title = new mw.Title( 'Special:MyPage/' + conf.subpageName );


url = new mw.Uri( title.getUrl() );
url = new mw.Uri( title.getUrl() );
checkuser, Administrators
2,635

edits