mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-09-24 10:48:29 +00:00
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.
|
||||
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
|
||||
'ambox-POV',
|
||||
'ambox-Advert',
|
||||
'ambox-autobiography',
|
||||
'ambox-believerpov',
|
||||
'ambox-COI',
|
||||
'ambox-coverage',
|
||||
'ambox-criticism',
|
||||
'ambox-fanpov',
|
||||
'ambox-fringe-theories',
|
||||
'ambox-geographical-imbalance',
|
||||
'ambox-globalize',
|
||||
'ambox-npov-language',
|
||||
'ambox-fringe-theories',
|
||||
'ambox-systemic-bias'
|
||||
'ambox-POV',
|
||||
'ambox-pseudo',
|
||||
'ambox-systemic-bias',
|
||||
'ambox-unbalanced',
|
||||
'ambox-usgovtpov'
|
||||
].join( '|' ) )
|
||||
// ..And everything else that doesn't match is mapped to a "SEVERITY" type.
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue