MediaWiki:Gadget-twinkleblock.js: Difference between revisions

Content deleted Content added
Repo at e7d4c6c: fix some no-jquery/no-extend autofixes (#2088); capitalize Morebit class names (#2087); fix linter error no-sequences (#2083)
Repo at 5152750: revert $.extend autofixes (#2107)
Line 4:
 
let api = new mw.Api(), relevantUserName, blockedUserName;
const menuFormattedNamespaces = Object$.assignextend({}, mw.config.get('wgFormattedNamespaces'));
menuFormattedNamespaces[0] = '(Article)';
 
Line 1,900:
const userTalkPage = 'User_talk:' + mw.config.get('wgRelevantUserName');
 
const params = Object$.assignextend(formData || {}, {
messageData: Twinkle.block.blockPresetsInfo[formData.template],
reason: Twinkle.block.field_template_options.block_reason,