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

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/675292
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ic6e7e7653e02cf953d812fff7cc58c47a185b094
Gerrit-Change-Number: 675292
Gerrit-PatchSet: 3
Gerrit-Owner: Rubin <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to