NotKlea created this task.
NotKlea added projects: Pywikibot, Pywikibot-category.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue** (include links if applicable):
  
  - pwb category add -file:meow -to:"Music" -summary:"long message" on a 
mediawiki instance configured with 
[https://transfer.archivete.am/RJzxs/ArchiveTeam_family.py 
pywikibot-families/ArchiveTeam_family.py] and 
[https://transfer.archivete.am/4zDEK/user-config.py user-config.py]
  
  **What happens?**:
  
  - pywikibot does initial http POST request without TLS, gets redirected 
permanently to https version (i believe, i can't figure out the order properly 
trough packet capture), and then does a get request, with cookies (which it 
didn't do on the no-tls version even when it gave edit token)
  
  **What should have happened instead?**:
  
  - pywikibot only ever does https requests (with TLS), ''never does http 
request if it failed doing a https request'', and updates the page successfully.
  
  **Software version** (on `Special:Version` page; skip for WMF-hosted wikis 
like Wikipedia): 1.37.1
  
  **Other information** (browser name/version, screenshots, etc.):
        'user-agent: category (ArchiveTeam:en; User:KleaBot) Pywikibot/10.7.4 
(-1 (unknown)) requests/2.32.5 Python/3.13.9.final.0\r\n'
  
  I'm not sure if this bug report was good enough, if it wasn't, sorry.

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

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

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to