User:Chaotic Enby/Unblock wizard.js: Difference between revisions
From Test Wiki
Content deleted Content added
Chaotic Enby (talk | contribs) this should do it |
Chaotic Enby (talk | contribs) rm redundancy |
||
| Line 141: | Line 141: | ||
break; |
break; |
||
case "Promo": |
case "Promo": |
||
| ⚫ | |||
if(true) { // to replace by an api call to check if the block is username-related |
|||
questionLabels = ['explain-promo', 'coi', 'future-promo', 'username', 'other']; |
|||
} else { |
|||
| ⚫ | |||
} |
|||
break; |
break; |
||
case "Autoblock": |
case "Autoblock": |
||