jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/675292 )
Change subject: adding some exceptions (bloomberg.com and some Russian sites) ......................................................................
adding some exceptions (bloomberg.com and some Russian sites)
Change-Id: Ic6e7e7653e02cf953d812fff7cc58c47a185b094 --- M scripts/reflinks.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/reflinks.py b/scripts/reflinks.py index 205f5c8..559da2e 100755 --- a/scripts/reflinks.py +++ b/scripts/reflinks.py @@ -144,6 +144,7 @@ 403[ ]forbidden |(404|page|file|information|resource).*not([ ]*be)?[ ]* (available|found) + |are[ ]robot |site.*disabled |error[ ]404 |error.+not[ ]found @@ -170,7 +171,7 @@ 'fr': '.*(404|page|site).*en +travaux.*', 'es': '.*sitio.*no +disponible.*', 'it': '((pagina|sito) (non trovat[ao]|inesistente)|accedi|errore)', - 'ru': '.*(Страница|страница).*(не[ ]*найдена|отсутствует).*', + 'ru': '.*([Сс]траница.*(не[ ]*найдена|отсутствует)|Вы.*человек).*', }
# Regex that match bare references