Commons:User scripts/users namespace/reports/User:Lucas Werkmeister/ACDC.js
Jump to navigation
Jump to search
This is the report page for User:Lucas Werkmeister/ACDC.js. It is bot-maintained. All manual changes might be overwritten.
jshint[edit]
- ISSUE:
line 15 character 9
: Expected ')' to match '(' from line 15 and instead saw 'function'. - Evidence:( async function ( mw, $ ) {
- ISSUE:
line 15 character 27
: Missing semicolon. - Evidence:( async function ( mw, $ ) {
- ISSUE:
line 26 character 26
: Missing semicolon. - Evidence:const require = await mw.loader.using( [
- ISSUE:
line 44 character 26
: Expected ':' and instead saw ','. - Evidence:{ StatementWidget, AddPropertyWidget } = require( 'wikibase.mediainfo.statements' );
- ISSUE:
line 44 character 48
: Bad assignment. - Evidence:{ StatementWidget, AddPropertyWidget } = require( 'wikibase.mediainfo.statements' );
- ISSUE:
line 44 character 49
: Missing semicolon. - Evidence:{ StatementWidget, AddPropertyWidget } = require( 'wikibase.mediainfo.statements' );
- ISSUE:
line 46 character 10
: Missing semicolon. - Evidence:async function titlesToEntityIds( titles ) {
- ISSUE:
line 46 character 11
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:async function titlesToEntityIds( titles ) {
- ISSUE:
line 52 character 35
: Missing semicolon. - Evidence:const response = await api.get( { action: 'query', titles: someTitles, formatversion: 2 } ),
- ISSUE:
line 59 character 10
: Missing semicolon. - Evidence:async function entityIdsToData( entityIds, props ) {
- ISSUE:
line 59 character 11
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:async function entityIdsToData( entityIds, props ) {
- ISSUE:
line 65 character 35
: Missing semicolon. - Evidence:const response = await api.get( { action: 'wbgetentities', ids: someEntityIds, props, formatversion: 2 } );
- ISSUE:
line 65 character 97
: Expected ':' and instead saw ','. - Evidence:const response = await api.get( { action: 'wbgetentities', ids: someEntityIds, props, formatversion: 2 } );
- ISSUE:
line 65 character 112
: Expected '}' to match '{' from line 65 and instead saw ':'. - Evidence:const response = await api.get( { action: 'wbgetentities', ids: someEntityIds, props, formatversion: 2 } );
- ISSUE:
line 65 character 114
: Expected ')' and instead saw '2'. - Evidence:const response = await api.get( { action: 'wbgetentities', ids: someEntityIds, props, formatversion: 2 } );
- ISSUE:
line 65 character 118
: Expected an identifier and instead saw ')'. - Evidence:const response = await api.get( { action: 'wbgetentities', ids: someEntityIds, props, formatversion: 2 } );
- ISSUE:
line 68 character 15
: Creating global 'for' variable. Should be 'for (var const ...'. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 68 character 21
: Expected 'of' and instead saw 'data'. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 68 character 29
: Expected ')' to match '(' from line 68 and instead saw 'Object'. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 68 character 35
: Expected an identifier and instead saw '.'. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 68 character 36
: Missing semicolon. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 68 character 56
: Missing semicolon. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 68 character 57
: Expected an identifier and instead saw ')'. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 68 character 58
: Missing semicolon. - Evidence:for ( const data of Object.values( entityData ) ) {
- ISSUE:
line 70 character 45
: This character may get silently deleted by one or more browsers. - Evidence:// treat missing entities (i. e. no structured data yet) as having empty statements
- ISSUE:
line 247 character 54
: Expected '(' and instead saw '{'. - Evidence:this.pagePileButton.on( 'click', async () => {
- ISSUE:
line 248 character 13
: Expected an identifier and instead saw 'this' (a reserved word). - Evidence:this.menuPopup.toggle( false );
- ISSUE:
line 248 character 17
: Expected ')' to match '{' from line 247 and instead saw '.'. - Evidence:this.menuPopup.toggle( false );
- ISSUE:
line 248 character 43
: Expected ')' and instead saw ';'. - Evidence:this.menuPopup.toggle( false );
- ISSUE:
line 248 character 44
: Missing semicolon. - Evidence:this.menuPopup.toggle( false );
- ISSUE:
line 249 character 37
: Missing semicolon. - Evidence:const pagePileId = await OO.ui.prompt( 'PagePile ID:', { // TODO i18n
- ISSUE:
line 260 character 18
: Missing semicolon. - Evidence:await this.loadPagePile( pagePileId );
- ISSUE:
line 261 character 11
: Expected an identifier and instead saw ')'. - Evidence:} );
- ISSUE:
line 262 character 5
: Expected '(end)' and instead saw '}'. - Evidence:}
esprima[edit]
- ERROR: Cannot parse
line 15 column 9
: Unexpected token function