function checkWikipedia(brands) {
    Object.keys(brands).forEach(k => {
        ['brand:wikipedia', 'operator:wikipedia'].forEach(t => {
            let wp = brands[k].tags[t];
            if (wp && !/^[a-z_]{2,}:[^_]*$/.test(wp)) {
                _wrongFormat.push([k, wp, t]);
            }
        });
    });
}
function checkWikipedia(brands) {
    Object.keys(brands).forEach(k => {
        ['brand:wikipedia', 'operator:wikipedia'].forEach(t => {
            let wp = brands[k].tags[t];
            if (wp && !/^[a-z_]{2,}:[^_]*$/.test(wp)) {
                _wrongFormat.push([k, wp, t]);
            }
        });
    });
}
function checkWikipedia ( brands ) { Object . keys ( brands ) . forEach ( k => { [ 'brand:wikipedia' , 'operator:wikipedia' ] . forEach ( t => { let wp = brands [ k ] . tags [ t ] ; if ( wp && ! / ^[a-z_]{2,}:[^_]*$ / . test ( wp ) ) { _wrongFormat . push ( [ k , wp , t ] ) ; } } ) ; } ) ; }
Additionally check for wrong formatted Wikipedia values
Additionally check for wrong formatted Wikipedia values