Commons:User scripts/users namespace/reports/User:DarkMatterMan4500/mark-locked.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This is the report page for User:DarkMatterMan4500/mark-locked.js. It is bot-maintained. All manual changes might be overwritten.

jshint[edit]

  1. ISSUE: line 18 character 11: Creating global 'for' variable. Should be 'for (var const ...'. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  2. ISSUE: line 18 character 17: Expected 'in' and instead saw 'ns'. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  3. ISSUE: line 18 character 20: Expected an identifier and instead saw 'in'. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  4. ISSUE: line 18 character 23: Expected ')' to match '(' from line 18 and instead saw 'mw'. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  5. ISSUE: line 18 character 25: Expected an identifier and instead saw '.'. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  6. ISSUE: line 18 character 26: Missing semicolon. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  7. ISSUE: line 18 character 56: Missing semicolon. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  8. ISSUE: line 18 character 57: Expected an identifier and instead saw ')'. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  9. ISSUE: line 18 character 58: Missing semicolon. - Evidence: for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
  10. ISSUE: line 59 character 6: Missing semicolon. - Evidence: async function lockedUsers_isLocked(user) {
  11. ISSUE: line 62 character 31: Missing semicolon. - Evidence: const response = await api.get({
  12. ISSUE: line 85 character 52: Expected '(' and instead saw '{'. - Evidence: usersOnPage.forEach(async (val, key, _) => {
  13. ISSUE: line 86 character 13: Expected an identifier and instead saw 'const' (a reserved word). - Evidence: const userLocked = await lockedUsers_isLocked(key);
  14. ISSUE: line 86 character 19: Expected ')' to match '{' from line 85 and instead saw 'userLocked'. - Evidence: const userLocked = await lockedUsers_isLocked(key);
  15. ISSUE: line 86 character 30: Expected an identifier and instead saw '='. - Evidence: const userLocked = await lockedUsers_isLocked(key);
  16. ISSUE: line 86 character 32: Expected ')' and instead saw 'await'. - Evidence: const userLocked = await lockedUsers_isLocked(key);
  17. ISSUE: line 86 character 37: Missing semicolon. - Evidence: const userLocked = await lockedUsers_isLocked(key);
  18. ISSUE: line 94 character 1: Expected '(end)' and instead saw '}'. - Evidence: });

esprima[edit]

  1. ERROR: Cannot parse line 18 column 8: Unexpected token const