RedKhan16 added a comment.
No problem, not something that I use on a big scale anymore. Accidentally
stumbled upon it, thought that you might want to know about it.
Another detail - unlike `-except` option `-grepnot` doesn't seem to give any
output.
TASK DETAIL
https
RedKhan16 created this task.
RedKhan16 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I run basically the same command that is given in the manual
<https://www.mediawiki.org/wiki/Manual:Pywikibot/add_text.py#Exam
RedKhan16 added a comment.
@Xqt: Didn't know at the moment that `>>>` means python CLI
>>> import pywikibot
>>> site = pywikibot.Site('ageofempires:en')
>>> site.sitename
'ageofempires:en'
>>> info = site.userinfo
>
RedKhan16 added a comment.
OK, feeling stupid but figure it out now. You need to grant `Upload, replace,
and move files` right on the `Special:BotPasswords/Red_Khan_Bot` page.
Thanks for help everybody, sorry to bother you.
TASK DETAIL
https://phabricator.wikimedia.org/T271871
EMAIL
RedKhan16 added a comment.
In T271871#6745425 <https://phabricator.wikimedia.org/T271871#6745425>,
@JJMC89 wrote:
> Are you using a BotPassword?
Sorry, forgot to answer. Yes indeed, I'm using a BotPassword.
TASK DETAIL
https://phabricator.wikimedia.org/T271871
EMAIL PR
RedKhan16 added a comment.
Did some experimenting. This sequence works
>>> import pywikibot
>>> site = pywikibot.Site('ageofempires:en')
>>> sorted(site.userinfo['rights'])
['abusefilter-log', 'abusefilter-view', 'applychangetags', 'autoconfirmed',
RedKhan16 added a comment.
>>> import pywikibot
>>> site = pywikibot.Site('ageofempires:en')
>>> site.username()
'Red Khan Bot'
>>> site.logged_in()
False
>>> site.isBot(site.username())
True
Isn't `site = pywikibo
RedKhan16 added a comment.
@JJMC89, thanks for help. It looks like the `uploadeditmovefile` is needed?
TASK DETAIL
https://phabricator.wikimedia.org/T271871
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: RedKhan16
Cc: JJMC89, Multichill, Xqt
RedKhan16 added a comment.
Still, unfortunately, no luck.
https://ageofempires.fandom.com/wiki/Special:ListGroupRights specifically
shows that bots do have the 'reupload' right but I'm still getting no
`reupload` in the rights list
['abusefilter-log', 'abusefilter-view
RedKhan16 added a comment.
Thanks! I'll return to Fandom support then.
TASK DETAIL
https://phabricator.wikimedia.org/T271871
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: RedKhan16
Cc: Multichill, Xqt, Aklapper, pywikibot-bugs-list, RedKhan16
RedKhan16 added a comment.
Here is all the log entries file for this command
F33997715: upload-bot.log <https://phabricator.wikimedia.org/F33997715>
Just in case you are wondering - I'm running pywikibot from Windows Subsystem
for Linux.
As for the restrictions made by th
RedKhan16 added a comment.
Sorry, forgot about those
Pywikibot: [https] r-pywikibot-core.git (bb333d2, g14032, 2021/01/12,
13:32:59, stable)
Release version: 5.5.0
requests version: 2.22.0
cacerts: /etc/ssl/certs/ca-certificates.crt
certificate test: ok
Python
RedKhan16 created this task.
RedKhan16 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Greetings!
I'm trying to mass re-upload new versions of existing files to Fandom using
Pywikibot, but get an error. Here is a part
RedKhan16 updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T270958
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: RedKhan16
Cc: Aklapper, pywikibot-bugs-list, RedKhan16, JohnsonLee01, SHEKH, Dijkstra,
Khutuck, Zkhalido
RedKhan16 added a comment.
@Aklapper, hello!
> Is this a feature request to change some code in Pywikibot itself? Or is
this a support question if something is possible?
The latter.
TASK DETAIL
https://phabricator.wikimedia.org/T270958
EMAIL PREFERENCES
ht
RedKhan16 created this task.
RedKhan16 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Couldn't find it anywhere in documentation, but is it possible to use upload
script with wildcards?
If I use
`upload /path/to/files
RedKhan16 added a comment.
@Xqt Sorry, took me some time to figure out how to use the API.
Request
`/api.php?action=query=json=userinfo=blockinfo%7Cgroups%7Crights%7Chasmsg`
Result
{
"batchcomplete": "",
"query": {
&qu
RedKhan16 created this task.
RedKhan16 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I'm using Pywikibot to batch upload files to Fandom and then chnage their
categories and add a template using "upload",
18 matches
Mail list logo