AntiCompositeNumber added a comment.
The file that got skipped is a red herring, I think. Something about the API
query is more expensive than expected. With a gailimit=500, I get a timeout
almost every time. Between 100 and 500, I sometimes get a response, sometimes a
timeout, and
AntiCompositeNumber added a comment.
The code I used:
#!/bin/env python3
import pywikibot
import logging
logging.basicConfig(filename="test.log", level=logging.DEBUG)
site = pywikibot.Site("commons", "commons")
ai = site.a
AntiCompositeNumber added a comment.
It will be done automatically, eventually. To speed up the process on a
particular wiki, something like
https://en.wikipedia.org/wiki/User:Joe%27s_Null_Bot or pywikibot's touch.py
could be used, subject to local bot policies.
TASK DETAIL
AntiCompositeNumber added a comment.
Silently ignoring the namespace parameter causes problems. I'm writing a
script that pulls results from a database query, passing page_namespace and
page_title to the page constructor. This bug caused an issue when it came to a
page that had a name
AntiCompositeNumber created this task.
AntiCompositeNumber added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Pywikibot's docstrings currently include a lot of type information about the
inputs and outputs of functions. Ho
AntiCompositeNumber added a comment.
That's a benefit of using stub files instead of inline annotations: the
runtime python version is irrelevant. The correct syntax for a valid stub file
is python 3.6+ inline annotations, and they'll work for python2 and python3
code. Ther
AntiCompositeNumber added a comment.
| Stub files|
Inline annotations
AntiCompositeNumber added a comment.
Did you type the password correctly then? Are you using the account password
or a BotPassword?
TASK DETAIL
https://phabricator.wikimedia.org/T250939
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To
AntiCompositeNumber edited projects, added SRE-swift-storage,
MediaWiki-File-management; removed Pywikibot.
AntiCompositeNumber added a comment.
This issue, at least the 503s, is reproducible with Special:Upload (not just
the API).
Request from *** via cp1085 frontend, Varnish XID
AntiCompositeNumber added a comment.
Thumbnail generation is independent of the upload process. Thumbnails are
generated on demand by Thumbor after a client request, and MediaWiki is largely
uninvolved in thumbnail generation on Wikimedia.
TASK DETAIL
https://phabricator.wikimedia.org
AntiCompositeNumber added a comment.
Because bots using OAUTH are not considered logged-in by Pywikibot, those
bots will always ignore bot-specific exclusion templates. However,
site.username() will return the username. page.botMayEdit should fail safe,
which means that it should return
AntiCompositeNumber added a comment.
Could not reproduce. Please provide at least the following information:
- Operating system
- Python environment and version (`import sys; print(sys.version)`)
- Pywikibot version (`import pywikibot; print(pywikibot.__version__)`)
- Relevant code
AntiCompositeNumber created this task.
AntiCompositeNumber added projects: Pywikibot, Pywikibot-OAuth,
MediaWiki-extensions-OAuth.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Two of my bot tasks, NoLicense
<https://github.com/AntiCompositeNum
13 matches
Mail list logo