Commons:User scripts/reports/MediaWiki:ExcerptTree.js
Jump to navigation
Jump to search
This is the report page for MediaWiki:ExcerptTree.js. It is bot-maintained. All manual changes might be overwritten.
jshint
[edit]- ISSUE:
line 26 character 29
: 'spread/rest operator' is available in ES6 (use esnext option) or Mozilla JS extensions (use moz). - Evidence:matches = [ ...content.matchAll( regexp ) ];
- ISSUE:
line 26 character 59
: Expected an assignment or function call and instead saw an expression. - Evidence:matches = [ ...content.matchAll( regexp ) ];
- ISSUE:
line 31 character 70
: 'arrow function syntax (=>)' is available in ES6 (use esnext option) or Mozilla JS extensions (use moz). - Evidence:var params = match[1].split( '|' ).filter( param => /=/.test( param ) === false ); // Remove all named params
esprima
[edit]- ERROR: Cannot parse
line 26 column 17
: Unexpected token .