用戶:HW~zhwiki/sb
測試區
編輯var disableSandboxLink = 0;
addOnloadHook(function()
{
if (wgUserName != null && disableSandboxLink == 0)
{
var caption = '我的沙盒'
if (wgUserLanguage != 'zh')
caption = 'My sandbox';
addPortletLink('p-personal', wgServer + wgScript + '?title=Special:Mypage/sandbox', caption, 'pt-sandbox', caption, '', document.getElementById('pt-preferences'));
}
});