[Pywikipedia-bugs] [Maniphest] [Commented On] T145853: unusedfiles.py: if an image is already tagged, don't tag it again
Xqt added a comment. It starts to get complicated everyone can do it if it is simple ;-)TASK DETAILhttps://phabricator.wikimedia.org/T145853EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Mpaa, Anoopchandu18, MuhammadShuaib, TerraCodes, valhallasw, jayvdb, Xqt, Aklapper, MarcoAurelio, pywikibot-bugs-list, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T115428: imageharvest and panoramiopicker uses BeautifulSoup version 3 instead of bs4
darthbhyrava claimed this task.darthbhyrava added a subscriber: Spaceman5.darthbhyrava added a comment. @Spaceman5, while your desire to fix this bug is appreciated, I already have a patch for this task, and intend to solve the bug myself soon. You are welcome to submit a new patch yourself, if that resolves the issue sooner, but I request that you keep this task 'assigned' to me. Thank you.TASK DETAILhttps://phabricator.wikimedia.org/T115428EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: darthbhyravaCc: Spaceman5, TerraCodes, gerritbot, AbdealiJK, darthbhyrava, StudiesWorld, XZise, Aklapper, Avicennasis, pywikibot-bugs-list, jayvdb, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, MuhammadShuaib, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T72249: Ability to archive a section based on a template status, additional to age
Mpaa added a comment. @Tacsipacsi, you can submit a patch. Ideally, the template should be generic and configurable somehow.TASK DETAILhttps://phabricator.wikimedia.org/T72249EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: Mpaa, Tacsipacsi, binbot, whym, Euku, MarcoAurelio, revi, Dalba, Aklapper, jayvdb, pywikibot-bugs-list, Billinghurst, MayS, Mdupont, JJMC89, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T145853: unusedfiles.py: if an image is already tagged, don't tag it again
Mpaa added a comment. OK, so different parameters to be added for different templates/sites? It starts to get complicated.TASK DETAILhttps://phabricator.wikimedia.org/T145853EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: gerritbot, Mpaa, Anoopchandu18, MuhammadShuaib, TerraCodes, valhallasw, jayvdb, Xqt, Aklapper, MarcoAurelio, pywikibot-bugs-list, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T72249: Ability to archive a section based on a template status, additional to age
Tacsipacsi added a comment. The modified Hungarian script's code is available on Tool Labs: https://tools.wmflabs.org/ato/archivebot_hu.py.txtTASK DETAILhttps://phabricator.wikimedia.org/T72249EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: TacsipacsiCc: Tacsipacsi, binbot, whym, Euku, MarcoAurelio, revi, Dalba, Aklapper, jayvdb, pywikibot-bugs-list, Billinghurst, MayS, Mdupont, JJMC89, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T90149: LDAP based login is broken in pywikibot because lgdomain is not set
AbdealiJK added a comment. why in API.py? Can't it be done in the login.py like how it was done in compact?TASK DETAILhttps://phabricator.wikimedia.org/T90149EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AbdealiJKCc: AbdealiJK, TerraCodes, Riddlesj, darthbhyrava, jayvdb, XZise, pywikibot-bugs-list, Aklapper, Multichill, MayS, Mdupont, JJMC89, MuhammadShuaib, droid, Alchimista, Jay8g___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T122715: Check if the page content has changed before trying to save it (in Page.put)
AbdealiJK added a comment. @Vyeshwant123 Sorry about that! I'd recommend you go ahead and find another bug to solve :)TASK DETAILhttps://phabricator.wikimedia.org/T122715EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Vyeshwanth123, AbdealiJKCc: AbdealiJK, Xqt, gerritbot, TerraCodes, darthbhyrava, Shreyastawre, Ricordisamoa, Aklapper, StudiesWorld, pywikibot-bugs-list, Dalba, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, MuhammadShuaib, jayvdb, Alchimista, Jay8g___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T146580: Pywikibot Script image.py Site warnings
AbdealiJK removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T146580EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AbdealiJKCc: Mpaa, gerritbot, Aklapper, TerraCodes, pywikibot-bugs-list, AbdealiJK, MayS, Mdupont, JJMC89, MuhammadShuaib, jayvdb, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Triaged] T146996: Running a core script fails with 'permission denied' creating a logfile folder
Xqt triaged this task as "Low" priority. TASK DETAILhttps://phabricator.wikimedia.org/T146996EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: hashar, valhallasw, Xqt, Aklapper, MuhammadShuaib, pywikibot-bugs-list, MayS, Freddy2001, Mdupont, JJMC89, Luke081515, yuvipanda, Gryllida, jayvdb, scfc, Alchimista, coren, chasemp___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T146996: Running a core script fails with 'permission denied' creating a logfile folder
Xqt created this task.Xqt added projects: Pywikibot-core, Tool-Labs.Herald added subscribers: pywikibot-bugs-list, Aklapper.Herald added a project: Labs. TASK DESCRIPTION@MuhammadShuaib added a comment. in T146961: When i trying to run a script e.g clean sandbox.py, it gives following error: tools.-@tools-bastion-03:~/pycore$ python pwb.py clean_sandbox.py -simulate WARNING: Skipped '/data/project/-/pycore/user-config.py': owned by someone else. WARNING: family and mylang are not set. Defaulting to family='test' and mylang='test'. Traceback (most recent call last): File "pwb.py", line 270, in if not main(): File "pwb.py", line 264, in main run_python_file(filename, [filename] + args, argvu, file_package) File "pwb.py", line 109, in run_python_file main_mod.__dict__) File "./scripts/clean_sandbox.py", line 294, in main() File "./scripts/clean_sandbox.py", line 266, in main local_args = pywikibot.handle_args(args) File "/data/project/-/pycore/pywikibot/bot.py", line 818, in handle_args writeToCommandLogFile() File "/data/project/-/pycore/pywikibot/bot.py", line 943, in writeToCommandLogFile command_log_filename = config.datafilepath('logs', 'commands.log') File "/data/project/-/pycore/pywikibot/config2.py", line 828, in datafilepath return makepath(os.path.join(base_dir, *filename)) File "/data/project/-/pycore/pywikibot/config2.py", line 816, in makepath os.makedirs(dpath) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/data/project/-/pycore/logs' CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abortTASK DETAILhttps://phabricator.wikimedia.org/T146996EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: hashar, valhallasw, Xqt, Aklapper, MuhammadShuaib, pywikibot-bugs-list, MayS, Freddy2001, Mdupont, JJMC89, Luke081515, yuvipanda, Gryllida, jayvdb, scfc, Alchimista, coren, chasemp___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T146961: Pywikipedia throws "title for namespace 118 in language ur unknown" error
Xqt added a comment. There is a patch ready for review in https://gerrit.wikimedia.org/r/313355 which includes a lot of missing namespace aliases in compat. Please try and review it. For the second problem I'll create a new task.TASK DETAILhttps://phabricator.wikimedia.org/T146961EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, pywikibot-bugs-list, Xqt, Aklapper, MuhammadShuaib, Lewizho99, Maathavan, Anshoe___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T145853: unusedfiles.py: if an image is already tagged, don't tag it again
Xqt added a comment. looks like Timestamp.strftime('%d %B %Y')TASK DETAILhttps://phabricator.wikimedia.org/T145853EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Mpaa, Anoopchandu18, MuhammadShuaib, TerraCodes, valhallasw, jayvdb, Xqt, Aklapper, MarcoAurelio, pywikibot-bugs-list, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T146808: Bot.run() should not assume multisite
Xqt added a comment. Yes this is a bit confusing when using Bot class other than SingleSiteBot or MultiSiteBot. Bot class is indicated to be deprecated. But I am really unsure because maybe that site problem caused this remark. But this should be solved anyhow.TASK DETAILhttps://phabricator.wikimedia.org/T146808EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Xqt, Aklapper, pywikibot-bugs-list, Mpaa, MayS, Mdupont, JJMC89, jayvdb, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Declined] T122715: Check if the page content has changed before trying to save it (in Page.put)
Xqt closed this task as "Declined".Xqt added a comment. BaseBot.userPut() does it already.TASK DETAILhttps://phabricator.wikimedia.org/T122715EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Vyeshwanth123, XqtCc: Xqt, gerritbot, TerraCodes, darthbhyrava, Shreyastawre, Ricordisamoa, Aklapper, StudiesWorld, pywikibot-bugs-list, Dalba, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, MuhammadShuaib, jayvdb, Alchimista, Jay8g___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T145853: unusedfiles.py: if an image is already tagged, don't tag it again
MarcoAurelio added a comment. In T145853#2676162, @Xqt wrote: I think it is insufficient to check for the template only. Looking at the file page I found an additional but still undocumented parameter for the template. I guess the bot script should be changed to tag this new parameter too. My local PWB copy is already modified to tag with that new parameter. In T145853#2676168, @Xqt wrote: @MarcoAurelio could you please explain the new parameter(s) you have added. https://meta.wikimedia.org/w/index.php?title=Template:Orphan_file&action=""> It allows categorizing by date to allow better maintenance with a subst:#time.TASK DETAILhttps://phabricator.wikimedia.org/T145853EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: gerritbot, Mpaa, Anoopchandu18, MuhammadShuaib, TerraCodes, valhallasw, jayvdb, Xqt, Aklapper, MarcoAurelio, pywikibot-bugs-list, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Alchimista___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T146961: Pywikipedia throws "title for namespace 118 in language ur unknown" error
MuhammadShuaib added a comment. In T146961#2676188, @Xqt wrote: Is it possible to you to join to core branch with your bot? compat is likely deprecated. When i trying to run a script e.g clean sandbox.py, it gives following error: tools.-@tools-bastion-03:~/pycore$ python pwb.py clean_sandbox.py -simulate WARNING: Skipped '/data/project/-/pycore/user-config.py': owned by someone else. WARNING: family and mylang are not set. Defaulting to family='test' and mylang='test'. Traceback (most recent call last): File "pwb.py", line 270, in if not main(): File "pwb.py", line 264, in main run_python_file(filename, [filename] + args, argvu, file_package) File "pwb.py", line 109, in run_python_file main_mod.__dict__) File "./scripts/clean_sandbox.py", line 294, in main() File "./scripts/clean_sandbox.py", line 266, in main local_args = pywikibot.handle_args(args) File "/data/project/-/pycore/pywikibot/bot.py", line 818, in handle_args writeToCommandLogFile() File "/data/project/-/pycore/pywikibot/bot.py", line 943, in writeToCommandLogFile command_log_filename = config.datafilepath('logs', 'commands.log') File "/data/project/-/pycore/pywikibot/config2.py", line 828, in datafilepath return makepath(os.path.join(base_dir, *filename)) File "/data/project/-/pycore/pywikibot/config2.py", line 816, in makepath os.makedirs(dpath) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/data/project/-/pycore/logs' CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abortTASK DETAILhttps://phabricator.wikimedia.org/T146961EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MuhammadShuaibCc: gerritbot, pywikibot-bugs-list, Xqt, Aklapper, MuhammadShuaib, Lewizho99, Maathavan, Anshoe___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs