Fix: add a few more POV templates to issue parser
Bug: T191528 Change-Id: I777921798fee447dc3c954a585e418371e2866e8
This commit is contained in:
parent
88baff3515
commit
765a46c464
|
@ -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.
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue