Urbanecm added a comment.

  In T350568#9383011 <https://phabricator.wikimedia.org/T350568#9383011>, @Xqt 
wrote:
  
  > @Urbanecm: I wasn't able to exclude `Pywikibot-test` from User Agent regex 
`Pywikibot/8\.[56].+Python/3\.6` e.g. with `(?!test)` but get a 504 error. Any 
idea?
  
  Besides filtering those agents out during post-processing, not really. 504 
indicates a timeout, which makes sense, given negative lookahead is not exactly 
a cheap query. Granted, removing those agents during postprocessing means you 
lose certain UAs, but since Turnilo currently supports up to 10k of top user 
agents, and the least frequent UAs have 1 hit per last month, it should be good 
enough.

TASK DETAIL
  https://phabricator.wikimedia.org/T350568

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, Urbanecm
Cc: Aklapper, pywikibot-bugs-list, Urbanecm, Legoktm, Xqt, mevo, LisafBia6531, 
Yodas_henchman, Hyphen, NguoiDungKhongDinhDanh, PotsdamLamb, Zabe, Jyoo1011, 
JohnsonLee01, Juan90264, SHEKH, Dijkstra, Khutuck, Zkhalido, CptViraj, AKA_MBG, 
Dibya, Viztor, 94rain, Wenyi, Tks4Fish, Tbscho, MayS, Kizule, Mdupont, JJMC89, 
Devwaker, Niklitov, Dvorapa, Altostratus, Avicennasis, JEumerus, Ananthsubray, 
Superzerocool, Stanglavine, Tulsi_Bhagat, Wong128hk, Luke081515, SimmeD, 
mys_721tx, Snowolf, Base, Dcljr, jayvdb, Masti, Alchimista, Matanya, Jay8g, 
Krenair
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to