MediaWiki:Gadget-twinkleblock.js: Difference between revisions

Content deleted Content added
Repo at c35f1fd9: Clearer text for partial block summaries
Repo at 540dcd6a: Slightly clearer language on form submission
Line 544:
statusStr += ' (expires ' + new Morebits.date(Twinkle.block.currentBlockInfo.expiry).calendar('utc') + ')';
}
var infoStr = 'SubmitThis queryform towill change thethat block';
if (Twinkle.block.currentBlockInfo.partial === undefined && partialBox) {
infoStr += ', converting it to a partial block';
} else if (Twinkle.block.currentBlockInfo.partial === '' && !partialBox) {
infoStr += ', converting it to a sitewide block';
}
Morebits.status.warn(statusStr, infoStr);