Merge "Fix: add a few more POV templates to issue parser"

This commit is contained in:
jenkins-bot 2018-08-09 18:30:50 +00:00 committed by Gerrit Code Review
commit d85d4328f9
1 changed files with 10 additions and 4 deletions

View File

@ -57,18 +57,24 @@
}, },
// As above but used to identify specific templates requiring icon customization. // As above but used to identify specific templates requiring icon customization.
TYPE_REGEX = { TYPE_REGEX = {
MOVE: /ambox-move|ambox-merge|avviso-struttura/, // en, es / ru, it MOVE: /ambox-converted|ambox-move|ambox-merge|avviso-struttura/, // en, es / ru, it
POINT_OF_VIEW: new RegExp( [ // en POINT_OF_VIEW: new RegExp( [ // en
'ambox-POV',
'ambox-Advert', 'ambox-Advert',
'ambox-autobiography', 'ambox-autobiography',
'ambox-believerpov', 'ambox-believerpov',
'ambox-COI', 'ambox-COI',
'ambox-coverage',
'ambox-criticism',
'ambox-fanpov', 'ambox-fanpov',
'ambox-fringe-theories',
'ambox-geographical-imbalance',
'ambox-globalize', 'ambox-globalize',
'ambox-npov-language', 'ambox-npov-language',
'ambox-fringe-theories', 'ambox-POV',
'ambox-systemic-bias' 'ambox-pseudo',
'ambox-systemic-bias',
'ambox-unbalanced',
'ambox-usgovtpov'
].join( '|' ) ) ].join( '|' ) )
// ..And everything else that doesn't match is mapped to a "SEVERITY" type. // ..And everything else that doesn't match is mapped to a "SEVERITY" type.
}, },