Dargasea added a comment. |
This task needs a little analysis to determine why the default is None
None behaves the same way as True (if set a value, UA becomes that value. if False, default UA returned). The default is Introduced since the patch was submitted and unchanged since then.
Potential actions:
- Set fake_user_agent value to false by default.
- Change reflinks and weblinkchecker to retry with fake UA if first request gets rejected (need to decide what errors/status codes constitute as a rejection).
- Maintain a list of problematic sites in the configuration file (or should this be hosted on WikiTech?)
- Split config entries to separate behavior when a site is/isn't in the problematic list.
TASK DETAIL
EMAIL PREFERENCES
To: Dargasea
Cc: jayvdb, Aklapper, TerraCodes, pywikibot-bugs-list, Dargasea, Magul, MayS, Mdupont, JJMC89, Dalba, Masti, Alchimista, Rxy
Cc: jayvdb, Aklapper, TerraCodes, pywikibot-bugs-list, Dargasea, Magul, MayS, Mdupont, JJMC89, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs