JJMC89 added a comment.
PWB can skip login if there is still a valid session. My bot has edited at enwiki since this task was opened. The API warning did show up in the logs the last time it did login. From my logs, it seems like my bot has to login every ~30 days.TASK DETAILhttps
JJMC89 added a comment.
In T142155#2530030, @jayvdb wrote:
In T142155#2529638, @Tgr wrote:
Reverted in 1.28.0-wmf.13 (meaning it will last until Tuesday). Is anyone planning to fix PWB and contact users about updating (or using OAuth)?
This is affecting people at the #WikiConferenceIndia
JJMC89 created this task.JJMC89 added projects: Pywikibot-core, Pywikibot-pagegenerators.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONNot using the specified site:
>>> import pywikibot
>>> from pywikibot import pagegenerators
&g
JJMC89 added a comment.
In T155687#2951529, @zhuyifei1999 wrote:
Testing with the patch
Looks good. Thanks.TASK DETAILhttps://phabricator.wikimedia.org/T155687EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, JJMC89Cc: gerritbot, zhuyifei1999
JJMC89 lowered the priority of this task from "Unbreak Now!" to "Needs Triage".JJMC89 removed projects: Developer-Relations, CirrusSearch, Pywikibot-General.
TASK DETAILhttps://phabricator.wikimedia.org/T155293EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/pa
JJMC89 added a comment.
You can use forceInterwiki=True
>>> p = pywikibot.Page(pywikibot.Site('fr', 'wikipedia'), 'Test')
>>> t = pywikibot.Page(pywikibot.Site('test', 'wikipedia'), 'user:Framawiki/Brouillon')
>>> t.text = p.title(asLink=True, forceInterwiki=True)
JJMC89 added a comment.
The first colon is the difference between linking to fr:Test ([[:fr:Test]]) and creating a local interlanguage link corresponding to fr:Test ([[fr:Test]]).TASK DETAILhttps://phabricator.wikimedia.org/T150299EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel
JJMC89 added a comment.
Yes, an inline interwiki link is what I would want a way to get (not sure about the OP).
[[wikipedia:fr:Test]] creates a local link to Wikipedia:fr:Test (test:Wikipedia:fr:Test) since testwiki has a 'Wikipedia' namespace.
The result with forceInterwiki=True depends
JJMC89 edited the task description. (Show Details)
EDIT DETAILSTouch.py should not crash on APIError: readonly. It would be preferable to wait for the database to become unlagged and then retry.
```
python /shared/pywikipedia/core/scripts/touch.py -purge -lang:en -family:wikipedia -cat:&quo
JJMC89 created this task.JJMC89 added projects: Pywikibot-core, Pywikibot-touch.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONTouch.py should not crash on APIError: readonly. It would be preferable to wait for the database to become unlagged and then retry.
WARNING
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONAn email is successfully sent and received when using
>>> pywikibot.User(pywikibot.Site('en', 'wikipedia'), 'JJMC89').send_email('test subject', '
JJMC89 created this task.JJMC89 added a project: Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONThe last nightly clone to the shared Pywikibot on #toolforge was August 1.
@tools-bastion-03:/data/project/pywikibot/public_html> ll
total 79M
drwxr-xr-x
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONsite.logevents() does not respect the namespace parameter.
In the example below, namespace=0 but it yields LogEntrys where ns() != 0.
Example>>&g
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONglobalusage() does not yield all of the API results.
For File:BSicon ABZlg.svg, compare the 6803 results (Toolforge replicas)/API to Pywikibot's 303.
>>
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWhen attempting to get the redirects to a page using page.backlinks(filterRedirects=True), IsNotRedirectPage is raised. The page the exception claims
JJMC89 renamed this task from "unban reguyla" to "Add filters to revertbot".
TASK DETAILhttps://phabricator.wikimedia.org/T194975EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Zoranzoki21, Aklapper, Dvorapa, Xqt, pywikibot-bugs
JJMC89 added a comment.
Lexicographical data is now live outside the test sites. The previous patch only addressed the test sites.
if self.site.sitename in ('test:test', 'wikidata:test'):
unsupported = ['form', 'lexeme'] # T194890TASK DETAILhttps://phabricator.wikimedia.org/T194890EMAIL
JJMC89 renamed this task from "qbcaaa" to "logging.critical() output a critical record to the console, not the log file".JJMC89 lowered the priority of this task from "High" to "Low".JJMC89 added a subscriber: Aklapper.JJMC89 removed projects: TCB-Team
JJMC89 assigned this task to Mpaa.JJMC89 closed this task as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T195537EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, JJMC89Cc: Aklapper, Framawiki, pywikibot-bugs-list, Mpaa, Gaboe420
JJMC89 added a comment.
In T197642#4298742, @Dvorapa wrote:
Please try https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/395154/, I think I fixed also this error there.
I still get the exception. (Python 3.6.3)
>>> import pywikibot
>>> pywikibot.Page(pywikibot.Site('en', '
JJMC89 renamed this task from "df" to "Normalize script names".JJMC89 lowered the priority of this task from "High" to "Lowest".JJMC89 removed projects: TCB-Team, Mail, New-Editor-Experiences, Language-2018-Apr-June, KartoEditor, JADE, Hashtags
JJMC89 renamed this task from "wfbaaa" to "pwb.py cannot login to self-hosted mediawiki site".JJMC89 raised the priority of this task from "High" to "Needs Triage".JJMC89 added a subscriber: Aklapper.JJMC89 removed projects: TCB-Team, Mail, New-Ed
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONHAVE DOUGHNUT was deleted at 01:13, 3 May 2018 (UTC) while the below command was running. At 01:17 touch.py recreated the page with the content prior to deletion
JJMC89 added a comment.
There isn't an issue with BotPasswords or Pywikibot. None of the grants on that wiki have editallpages, so when using a BotPassword or OAuth you effectively don't have that right. A configuration change is required to add editallpages to one (or more) of the existing
JJMC89 added a comment.
Some investigation
Pywikibot example querynext(iter(pywikibot.Site().logevents(logtype='rights', total=1))).data
Pywikibot example response data{
'type':'rights',
'ns':2,
'action':'rights',
'pageid':0,
'user':'Cameron11598',
'comment':'For edit filter
JJMC89 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...The `newgroups` (or `new`) keys do not exist in `params` in this case.
``lang=json,name=stderr
Traceback (most recent call last):Example response with parts of the log event hidden
File "JJMC89_bot/e
JJMC89 added a comment.
This is apparently due to a rights log event's content being hidden (revision deletion).TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, JJMC89
JJMC89 added a comment.
In T187635#3981324, @zhuyifei1999 wrote:
Do you have some minimum code to reproduce this issue?
I've added it to the task.TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc
JJMC89 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...```
```lang=python,name=Code to reproduce
>>> site = pywikibot.Site('en', 'wikipedia')
>>> rights_event = next(iter(site.logevents(logtype='rights', start='20180216090941', total=1)))
>>>
JJMC89 created this task.JJMC89 added projects: Pywikibot-core, MediaWiki-API.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONI don't see any recent Pywikibot changes that would cause this error. Was there a recent change to the API?
stderrTraceback (most recent call last
JJMC89 added a comment.
Can this be handled gracefully in Pywikibot?TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, JJMC89, Magul, Tbscho, rafidaslam, MayS, Mdupont
JJMC89 renamed this task from "Log entry (rights) has no 'rights' key" to "KeyError when log event content is hidden".JJMC89 removed a project: MediaWiki-API.JJMC89 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTIONI don't see any recent Pywikibot chan
JJMC89 added a comment.
In T187635#4000853, @Xqt wrote:
See also T78152
I guess this is a duplicate of that.
In T187635#4000936, @Xqt wrote:
In T187635#3981304, @JJMC89 wrote:
Can this be handled gracefully in Pywikibot?
Sure. What would be a gracefull response?
When attempting
JJMC89 added a comment.
Changing the loop to the below tells me the first problematic pageid is 2868, which is the character \x85.
>>> for each_article in cat.articles(namespaces=(0)):
... try:
... print(each_article.title(withNamespace=True), each_article.pageid)
...
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
@APerson wrote:
I'm getting a strange InvalidTitle error while iterating through each of the articles in the English Wikipedia's "Unprintworthy redi
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONMediaWiki 1.32/wmf.15 updated API query modules for MCR.
See rMWfb1b454e6a6f: Merge "API: Update query modules for MCR" / T200568
JJMC89 merged a task: T198934: TestLogentryParams.test_BlockEntry fails on hidden titles.
TASK DETAILhttps://phabricator.wikimedia.org/T78152EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, JJMC89Cc: Dalba, Masti, Magul, Shanmugamp7, gerritbot, Xqt
JJMC89 closed this task as a duplicate of T78152: log entry has no title.
TASK DETAILhttps://phabricator.wikimedia.org/T198934EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89
JJMC89 added subscribers: MusikAnimal, JJMC89.JJMC89 added a comment.
The draft and draft talk namespaces were recently configured on testwiki (T198143: Enable Draft namespace on testwiki ) by #community-tech (@MusikAnimal).TASK DETAILhttps://phabricator.wikimedia.org/T198721EMAIL PREFERENCEShttps
JJMC89 closed this task as "Resolved".JJMC89 claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Xqt, Framawiki, zhuyifei1999, Aklapper, pywikibot-bugs-li
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWhen a user doesn't have any edits/logs, it would be better to return None instead of getting a StopIteration exception.
>>> import pywikibot
JJMC89 added a comment.
This is likely T187635: KeyError when log event content is hidden
request{
"action": "query",
"format": "json",
"list": "logevents",
"letype": "protect",
"lestart": &qu
JJMC89 added a comment.
actionhidden means there is no 'ns', 'title', 'pageid', 'logpage', 'params', 'action'. suppressed means it was suppressed, not just hidden.TASK DETAILhttps://phabricator.wikimedia.org/T191145EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences
JJMC89 changed the task status from "Stalled" to "Open".JJMC89 edited projects, added Toolforge, Data-Services; removed Pywikibot-core.JJMC89 added a comment.
This isn't an issue with Pywikibot. If anything, there is an issue with your credentials on Toolfo
JJMC89 claimed this task.JJMC89 closed this task as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T191158EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, JJMC89, Versusxo, Majestic
JJMC89 added a comment.
@Xqt
API request{
"action": "query",
"format": "json",
"list": "logevents",
"letype": "delete"
}
One event in response while logged out{
"logid":339405,
"actionhidd
JJMC89 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...I receive an error: `ImportError: No module named '_tkinter', please install the python3-tk package`
```
@PAWS:~$ pwb.py imagecopy.py -lang:az -cat:"Fayllar:Azad fayllar"...@PAWS:~$
```
my settings:
JJMC89 removed a project: Pywikibot.
TASK DETAILhttps://phabricator.wikimedia.org/T208105EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Arybolab, JJMC89Cc: Husky, Aklapper, pywikibot-bugs-list, Arybolab, Vemonet, A_ka_es, Teffubud, S9a8m, Dja, Elvalente
JJMC89 claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T209555EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba
JJMC89 removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T209555EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONsite.page_restrictions() raises pywikibot.exceptions.NoPage when a page is create protected. For pages that do not exist, I would expect something
JJMC89 closed this task as "Invalid".JJMC89 added a comment.
As the warning says, a generator was not provided, only a filter (-titleregex).
If you want to work on all pages, you could use -start.TASK DETAILhttps://phabricator.wikimedia.org/T212572EMAIL PREFER
JJMC89 removed a project: Pywikibot-replace.py.JJMC89 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION```name=Example command and response
$@PAWS:~$ pwb.py versionreplace -family:wikisource -lang:te -titleregex:".*"
Pywikibot: [https] r-pywikibot-core.git (0185e
JJMC89 claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T210048EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx
JJMC89 claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T210047EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx
JJMC89 removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T210480EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89
JJMC89 removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T210048EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont
JJMC89 removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T210047EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont
JJMC89 claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T210480EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb
JJMC89 triaged this task as "Normal" priority.
TASK DETAILhttps://phabricator.wikimedia.org/T210480EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, A
JJMC89 added a comment.
In T150093#5052169 <https://phabricator.wikimedia.org/T150093#5052169>,
@Dvorapa wrote:
> To me the first option seems reasonable
Ok, my patch follows that.
TASK DETAIL
https://phabricator.wikimedia.org/T150093
EMAIL PREFERENCE
JJMC89 added a subscriber: Dvorapa.
JJMC89 added a comment.
I'm moving this discussion from Gerrit to the task.
@dvorapa wrote:
> > @Xqt wrote:
> >
> >> @JJMC89 wrote:
> >>
> >>> @dvorapa wrote:
> >>> In movepa
JJMC89 added a comment.
In T57081#5083626 <https://phabricator.wikimedia.org/T57081#5083626>,
@Dvorapa wrote:
> Per https://en.wikipedia.org/wiki/Wikipedia:Flagged_revisions English
Wikipedia made FlaggedRevisions available only for some articles, where
Administrat
JJMC89 added a comment.
In T57081#5089034 <https://phabricator.wikimedia.org/T57081#5089034>, @Jwu96
wrote:
> @JJMC89 Is this your bot? :)
Yes, but I don't know what wiki that is.
TASK DETAIL
https://phabricator.wikimedia.org/T57081
EMAIL PREFERENCE
JJMC89 added a comment.
Thanks. huwiki it is.
<https://hu.wikipedia.org/wiki/Wikip%C3%A9dia:B%C3%BCrokrat%C3%A1k_%C3%BCzen%C5%91fala/Botjelentkez%C3%A9s/Arch%C3%ADv2017>
TASK DETAIL
https://phabricator.wikimedia.org/T57081
EMAIL PREFERENCES
https://phabricator.wikimedia.org/se
JJMC89 removed a project: Patch-For-Review.
TASK DETAIL
https://phabricator.wikimedia.org/T220315
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Aklapper, Liuxinyu970226, pywikibot-bugs-list, Bennylin, Wenyi, Tbscho,
MayS, Mdupont
JJMC89 claimed this task.
TASK DETAIL
https://phabricator.wikimedia.org/T220315
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Aklapper, Liuxinyu970226, pywikibot-bugs-list, Bennylin, Wenyi, Tbscho,
MayS, Mdupont, JJMC89, Avicennasis
JJMC89 claimed this task.
TASK DETAIL
https://phabricator.wikimedia.org/T150093
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Framawiki, Aklapper, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris,
Wenyi, Gaboe420, Versusxo
JJMC89 added a comment.
I'm not sure if it will help, but you might want to look at ORES edit quality
<https://www.mediawiki.org/wiki/ORES#Edit_quality>.
TASK DETAIL
https://phabricator.wikimedia.org/T217788
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings
JJMC89 updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T218287
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Aklapper, Steenth, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont,
JJMC89, Avicennasis
JJMC89 added subscribers: Anomie, Tgr, JJMC89.JJMC89 added a comment.
I've put my understanding in a table below.
EffectNull editPurgePurge w/ forcelinkupdatePurge w/ forcerecursivelinkupdate
Clear page's server cache{icon check, color=green}{icon check, color=green}{icon check, color=green
JJMC89 added a comment.
That edit is flagged as a bot edit. Bot edits are not marked in page histories, only recent changes. You might be able to find the edit in Special:RecentChanges if you check soon enough.
See below recent edits from your bot. rc_bot=1 means it is a bot edit.
MariaDB
JJMC89 closed this task as "Invalid".JJMC89 added a comment.
There is a bot right and a bot group. The bot right can be assigned to groups other than bot, so the former must be checked. The bot right is commonly assigned to a flood group on some Wikimedia wikis.TASK D
JJMC89 added a comment.
This ticket and T215108: The bot group is not properly detected on pywikibot.site.editpage() suggest that you have an authentication/permissions problem.
Assuming you are using BotPasswords or OAuth, have you enabled the highvolume grant? If you haven't, the account
JJMC89 changed the task status from "Resolved" to "Invalid".
TASK DETAILhttps://phabricator.wikimedia.org/T214987EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mike_Peel, JJMC89Cc: Jdforrester-WMF, Keegan, Aklapper, pywikibot-bugs-lis
JJMC89 edited projects, added Pywikibot-category.py, Pywikibot-Wikidata;
removed Pywikibot-Scripts.
JJMC89 added a comment.
If there are issues in a script, it would be in category.py. I don't think
the first issue is in a script: T76694: Wikibase operations fail when -simulate
enabled
JJMC89 merged a task: T129866: WikibasePage.editEntity fails with KeyError
after null edit.
JJMC89 added subscribers: TerraCodes, Ricordisamoa, Ladsgroup.
TASK DETAIL
https://phabricator.wikimedia.org/T76694
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences
JJMC89 closed this task as a duplicate of T76694: Wikibase operations fail when
-simulate enabled.
Restricted Application added a subscriber: Liuxinyu970226.
TASK DETAIL
https://phabricator.wikimedia.org/T129866
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
JJMC89 added a comment.
The second issue is occurring because the account you are using cannot move
categories on enwiki, so `_update_wikibase_item()` is called. I don't know what
causes the wikibase errors, but it isn't coming from cfd.py or category.py.
TASK DETAIL
https
JJMC89 added a comment.
In T223211#5196452 <https://phabricator.wikimedia.org/T223211#5196452>,
@Dvorapa wrote:
> It should at least mention, that I don't have rights to use the script, not
throw Wikibase error... (seems like T71283
<https://phabricator.wikimedi
JJMC89 added a comment.
In T223826#5196325 <https://phabricator.wikimedia.org/T223826#5196325>,
@Dvorapa wrote:
> If you have some rewritten cfd.py, which works better than currently not
even working Pywikibot's cfd.py, please share it with Pywikibot! :)
My scrip
JJMC89 updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T223826
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Xqt, Aklapper, pywikibot-bugs-list, Multichill, Dvorapa, Viztor, DannyS712,
Wenyi, Tbscho, MayS
JJMC89 added a comment.
My most frequently used scripts:
- category.py
- Used by my bot via a rewrite of cfd.py.
- If no one else uses this (or I get around to implementing multiple merge
targets), I'll write my own without many of the complexities.
- delete.py
- movepages.py
JJMC89 claimed this task.
TASK DETAIL
https://phabricator.wikimedia.org/T222094
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Viztor, DannyS712, Wenyi,
Tbscho, MayS, Mdupont, JJMC89
JJMC89 edited projects, added Pywikibot-Other-scripts; removed Patch-For-Review.
TASK DETAIL
https://phabricator.wikimedia.org/T222094
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Xqt, Aklapper, alanajjar, Meno25, pywikibot-bugs-list
JJMC89 added a comment.
In T229293#5430001 <https://phabricator.wikimedia.org/T229293#5430001>, @Huji
wrote:
> First of all, I found out something really interesting: when I run the bot
against test.wikipedia.org it works without any issues. When I run it against
fa.wikipedia.
JJMC89 created this task.
JJMC89 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Pywikibot cannot delete pages despite the user having sufficient rights after
ee2d6d664c30
<https://phabricator.wikimedia.
JJMC89 reopened this task as "Open".
JJMC89 added a comment.
rPWBC5811a544278e: Check a user's rights rather than group memberships
<https://phabricator.wikimedia.org/rPWBC5811a544278e644e2a330052f0fabc990010253f>
did not resolve the issue.
Now, with or without `syso
JJMC89 added a comment.
I'd go further and have `BasePage.getRedirectTarget()` return an object of
the same class as the redirect. This would keep the implementation general and
allow other subclasses that want the returned object to be the same class to
use the method without overriding
JJMC89 added a project: Pywikibot.
Restricted Application added a subscriber: pywikibot-bugs-list.
TASK DETAIL
https://phabricator.wikimedia.org/T234135
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: pywikibot-bugs-list, Seppl2013
JJMC89 created this task.
JJMC89 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Pywikibot doesn't support the wmf interwiki prefix, but the prefix works on
wiki and is in the interwikimap
(`/w/api.php?action=query=json
JJMC89 added a comment.
In T238448#5669497 <https://phabricator.wikimedia.org/T238448#5669497>,
@matej_suchanek wrote:
> Isn't there a native API to call, eg. #sitematrix
<https://phabricator.wikimedia.org/tag/sitematrix/>?
Yes:
`/w/api.php?action=sitematrix=js
JJMC89 created this task.
JJMC89 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Steps to Reproduce:
python3 pwb.py shell
>>> site = pywikibot.Site('en', 'wikipedia')
>>> text = '[[Cate
JJMC89 claimed this task.
TASK DETAIL
https://phabricator.wikimedia.org/T240084
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, JJMC89, AndreasTraut, Zkhalido,
Hook696, Daryl-TTMG, RomaAmorRoma
JJMC89 removed a project: Pywikibot.
JJMC89 removed a subscriber: pywikibot-bugs-list.
TASK DETAIL
https://phabricator.wikimedia.org/T236175
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: MichellevL_WMNL, JJMC89
Cc: Liuxinyu970226, Ecritures
JJMC89 added a project: Pywikibot-Scripts.
TASK DETAIL
https://phabricator.wikimedia.org/T244077
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Aklapper, Liuxinyu970226, Riley_Huntley, pywikibot-bugs-list, Un1tY,
Zkhalido, Hook696, Daryl
JJMC89 moved this task from Needs Review to Backlog on the Pywikibot board.
JJMC89 removed a project: Patch-For-Review.
TASK DETAIL
https://phabricator.wikimedia.org/T244077
WORKBOARD
https://phabricator.wikimedia.org/project/board/87/
EMAIL PREFERENCES
https://phabricator.wikimedia.org
JJMC89 claimed this task.
TASK DETAIL
https://phabricator.wikimedia.org/T244077
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Aklapper, Liuxinyu970226, Riley_Huntley, pywikibot-bugs-list, Zkhalido,
Viztor, Wenyi, Tbscho, MayS, Mdupont
JJMC89 added a comment.
I cannot reproduce for my bot accounts.
[19:50:07]tools.nfcbot@tools-sgebastion-07:~> python3
/shared/pywikibot/core/pwb.py shell
Welcome to the Pywikibot interactive shell!
>>> site = pywikibot.Site()
>>> site.login()
>&g
JJMC89 added a comment.
For `APIError: badinteger: Invalid value "3|0" for integer parameter
"maxlag".`, it looks like rPWBCa131de634c9d: [IMPR] use setdefault in
api._add_defaults
<https://phabricator.wikimedia.org/rPWBCa131de634c9dc8f2f09f3355441052
1 - 100 of 506 matches
Mail list logo