[Pywikipedia-bugs] [Maniphest] [Merged] T222159: WikibaseMediaInfo serializes empty statements as empty array [] instead of empty object {} in JSON
Bugreporter merged a task: T344237: SDC wbgetentities API returns a list instead of a dictionary when there is no statements . Bugreporter added subscribers: Zache, pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T222159 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: pywikibot-bugs-list, Zache, Lucas_Werkmeister_WMDE, Aklapper, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, toberto, Invadibot, maantietaja, FRomeo_WMF, CBogen, ItamarWMDE, Nintendofan885, Akuckartz, Nandana, JKSTNK, Lahi, Gq86, Ramsey-WMF, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Fuzheado, Wikidata-bugs, aude, Daniel_Mietchen, Ricordisamoa, Lydia_Pintscher, Mbch331 ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Updated] T344237: SDC wbgetentities API returns a list instead of a dictionary when there is no statements
Bugreporter closed this task as a duplicate of T222159: WikibaseMediaInfo serializes empty statements as empty array [] instead of empty object {} in JSON. TASK DETAIL https://phabricator.wikimedia.org/T344237 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Zache, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, PotsdamLamb, GFontenelle_WMF, Jyoo1011, maantietaja, FRomeo_WMF, JohnsonLee01, SHEKH, Dijkstra, CBogen, ItamarWMDE, Khutuck, Nintendofan885, Akuckartz, Zkhalido, Viztor, Nandana, JKSTNK, Wenyi, Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, QZanden, Tbscho, MayS, Tramullas, Acer, LawExplorer, Salgo60, Mdupont, JJMC89, Silverfish, Dvorapa, _jensen, rosalieper, Altostratus, Avicennasis, Scott_WUaS, Susannaanas, Fuzheado, mys_721tx, Jane023, Wikidata-bugs, Xqt, Base, matthiasmullie, aude, Daniel_Mietchen, jayvdb, Ricordisamoa, Wesalius, Lydia_Pintscher, Raymond, Masti, Alchimista, Steinsplitter, Mbch331 ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T326424: Unable to convert normal page to item page even if site and title are valid item page values
Bugreporter added a comment. Note that even if this is not a practice in Wikidata (and disallowed by notability policy), a Wikidata item is also a page itself and can be added as sitelinks of a (this or another) item. To prevent confusion we probably need to introduce a new function. TASK DETAIL https://phabricator.wikimedia.org/T326424 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, pywikibot-bugs-list, Aklapper, RPI2026F1, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Ricordisamoa, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Merged] T90978: Redirects to global user pages are broken, and added to Special:BrokenRedirects
Bugreporter merged a task: T301616: Redirects to shadow pages (global user pages) should not show up in BrokenRedirects. Bugreporter added a subscriber: Ladsgroup. TASK DETAIL https://phabricator.wikimedia.org/T90978 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Ladsgroup, Albertoleoncio, RhinosF1, WhitePhosphorus, gerritbot, Superyetkin, Stryn, Quiddity, Kippenvlees1, Liuxinyu970226, Freddy2001, DerHexer, pywikibot-bugs-list, JJMC89, MarcoAurelio, Pathoschild, Trijnstel, Edgars2007, JAnD, JackPotte, jayvdb, IKhitron, Matanya, Jbribeiro1, Legoktm, Addshore, Aklapper, Craig, Amorymeltzer, Lsherwinforone, Jayprakash12345, Sethakill, Wong128hk, Jay8g ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Merged] T51087: Specify which edit was thanked in Special:Log/thanks, both for private and public records' sake, if configured to do so
Bugreporter merged a task: T266853: Feature request: record context for which a Thank was given, such as RevisionId. Bugreporter added a subscriber: Xinbenlv. TASK DETAIL https://phabricator.wikimedia.org/T51087 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Xinbenlv, Anthere, pywikibot-bugs-list, RhinosF1, happy5214, Mattflaschen-WMF, David_Hedlund, gerritbot, Tjlsangria, Catrope, Zppix, Huji, Luke081515, waldyrious, MGChecker, Ricordisamoa, Pharos, eranroz, Aklapper, liangent, matmarex, Elitre, Legoktm, Nemo_bis, Scott, Withoutaname, Base, He7d3r, Technical13, PiRSquared17, MZMcBride, Quiddity, kaldari, Ltrlg, Shalomori123, OTichonova, caldera, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, NavinRizwi, Khutuck, Zkhalido, Falcopragati, Viztor, DannyS712, Wenyi, kostajh, Mh-3110, Deam-hadeam, Adrian1985, Tbscho, MayS, Mdupont, JJMC89, UEDAMI, Iniquity, Dvorapa, darthbhyrava, Altostratus, Taiwania_Justo, Avicennasis, mys_721tx, geraki, jayvdb, fbstj, Masti, Alchimista, Jay8g ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Merged] T188684: PAWS kills active users servers that are not connected to a user session
Bugreporter merged a task: T272465: PAWS terminal (or Pywikibot) cannot seemingly run for an extended period in unattended mode. Bugreporter added subscribers: ShakespeareFan00, JJMC89, QEDK, pywikibot-bugs-list, Aklapper. TASK DETAIL https://phabricator.wikimedia.org/T188684 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, QEDK, JJMC89, ShakespeareFan00, SandraF_WMF, Dominicbm, wmr, Bugreporter, Wmr-bot, Mahir256, Tshrinivasan, Balajijagadesh, Bodhisattwa, jayantanth, Info-farmer, Ivanhercaz, Chicocvenancio, zhuyifei1999, Riley_Huntley, Manishsamota, AshokChakra, Tore_Danielsson_WMSE, 94rain, R96340, Allthingsgo, Jane023, Xqt, yuvipanda, Daniel_Mietchen, Capt_Swing, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start
Bugreporter added a comment. Most bots does not have account on all wikis, and when fetching skipping templates, all sitelinks of Template:Delete is fetched, which contains sitelinks to various sites the bot does not have accounts. This will make the script unusable. TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: matej_suchanek, Bugreporter, Xqt, Aklapper, JAnD, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Darkminds3113, Bsandipan, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Avicennasis, Volker_E, mys_721tx, GWicke, Dinoguy1000, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy, Jay8g ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start
Bugreporter added a comment. When fixing this, make sure you test it in a **new** account (specificly, not attached on all possible projects). TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: matej_suchanek, Bugreporter, Xqt, Aklapper, JAnD, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Darkminds3113, Bsandipan, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Avicennasis, Volker_E, mys_721tx, GWicke, Dinoguy1000, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy, Jay8g ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start
Bugreporter added a comment. Note most of WMF sites are never relevant to most bot workers. When retrieving skipping templates, only one sitelink is useful. TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Xqt, Aklapper, JAnD, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Darkminds3113, Tbscho, MayS, Vali.matei, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Volker_E, mys_721tx, GWicke, Dinoguy1000, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy, Jay8g ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T226157: Data retrieval may be very long and heavy because of parsing Link during SiteLink initialization
Bugreporter added a comment. In T226157#6756845 <https://phabricator.wikimedia.org/T226157#6756845>, @gerritbot wrote: > Change 656997 had a related patch set uploaded (by Xqt; owner: Xqt): > [pywikibot/core@master] [maintenance] Add a preload_sites.py script to preload site informations > > https://gerrit.wikimedia.org/r/656997 This still does not handle a problem: A user is usually not registered in all wikis, and querying data without a user account will result in error. In addition, the first load of site informations is still slow. There are two things to be done: 1. Allow page object be lazy loaded (not to be confuse with preload), so that no site object is created at all. Usually when user querying an item only few or no sitelink is actually used. 2. Introduce an "anonymouse mode" in Pywikibot, i.e. allow script to fetch site or page information (as read-only) without a registered account. TASK DETAIL https://phabricator.wikimedia.org/T226157 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Chicocvenancio, Xqt, Lokal_Profil, Aklapper, matej_suchanek, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Darkminds3113, Bsandipan, Jayprakash12345, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Avicennasis, Volker_E, Wong128hk, mys_721tx, GWicke, Dinoguy1000, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy, Jay8g ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T238405: Pywikibot should have a robust way to handle unknown sites
Bugreporter added a comment. For the problem described in task description it is worsen by T226157: Data retrieval may be very long and heavy because of SiteLink initialization <https://phabricator.wikimedia.org/T226157>. However this task is still valid; Pywikibot should be able to operate on sites not listed in family page, as it take time to make patches appearing in the stable branch where Toolforge is using; many users running Pywikibot locally usually have an outdated version of Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T238405 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T226157: Data retrieval may be very long and heavy because of SiteLink initialization
Bugreporter added a comment. Bump as it affects the usability of newitem.py. Simple reproduce: `pywikibot.ItemPage(pywikibot.Site("wikidata","wikidata"),"Q4847311").get()` TASK DETAIL https://phabricator.wikimedia.org/T226157 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Chicocvenancio, Xqt, Lokal_Profil, Aklapper, matej_suchanek, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Darkminds3113, Jayprakash12345, Tbscho, MayS, Vali.matei, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Volker_E, Wong128hk, mys_721tx, GWicke, Dinoguy1000, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy, Jay8g ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T270904: Edits done by Pywikibot are not flagged as made by bot
Bugreporter added a comment. Please link to a specific recent changes. Does your bot account have bot flag? TASK DETAIL https://phabricator.wikimedia.org/T270904 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Aklapper, pywikibot-bugs-list, RedKhan16, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T258354: create new rate-limited bot group for Wikidata
Bugreporter added a comment. See https://commons.wikimedia.org/wiki/Commons:Village_pump/Proposals/Archive/2018/01#Proposal_to_rename_account_creator_group_to_batch_uploaders TASK DETAIL https://phabricator.wikimedia.org/T258354 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: abian, MarcoAurelio, Urbanecm, ItamarWMDE, Lucas_Werkmeister_WMDE, Hazard-SJ, pywikibot-bugs-list, Multichill, Rschen7754, Pasleim, matej_suchanek, tfmorris, Ladsgroup, Mike_Peel, Mohammed_Sadat_WMDE, Dipsacus_fullonum, Bugreporter, MisterSynergy, Lea_Lacroix_WMDE, Aklapper, Lydia_Pintscher, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Akuckartz, Zkhalido, Hook696, Iflorez, darthmon_wmde, Kent7301, alaa_wmde, joker88john, Viztor, CucyNoiD, Nandana, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, Tbscho, MayS, LawExplorer, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, _jensen, rosalieper, Altostratus, Avicennasis, Scott_WUaS, Jonas, mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Masti, Alchimista, Mbch331, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T258354: create new rate-limited bot group for Wikidata
Bugreporter added a comment. When it is created and current bots moved to new group it would be a breaking change. TASK DETAIL https://phabricator.wikimedia.org/T258354 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: pywikibot-bugs-list, Multichill, Rschen7754, Pasleim, matej_suchanek, tfmorris, Ladsgroup, Mike_Peel, Mohammed_Sadat_WMDE, Dipsacus_fullonum, Bugreporter, MisterSynergy, Lea_Lacroix_WMDE, Aklapper, Lydia_Pintscher, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Akuckartz, Zkhalido, Hook696, Iflorez, darthmon_wmde, Kent7301, alaa_wmde, joker88john, Viztor, CucyNoiD, Nandana, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, Tbscho, MayS, LawExplorer, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, _jensen, rosalieper, Altostratus, Avicennasis, Scott_WUaS, Jonas, mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Masti, Alchimista, Mbch331, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T259509: Update pywikibot stable branch
Bugreporter added a comment. In T259509#6356477 <https://phabricator.wikimedia.org/T259509#6356477>, @Xqt wrote: > Did you mean `stable`? I am waiting for T259100 <https://phabricator.wikimedia.org/T259100>; I guess this is related mw 1.36.0wmf2 and the deployment was expected last week. Yes. Currently Pywikibot breaks when getting https://www.wikidata.org/wiki/Q4847311, because it contains an arywiki sitelink which is not defined in Wikipedia family file. See T238405: Pywikibot should have a robust way to handle unknown sites <https://phabricator.wikimedia.org/T238405>. TASK DETAIL https://phabricator.wikimedia.org/T259509 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Xqt, Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Retitled] T259509: Update pywikibot stable branch
Bugreporter renamed this task from "Update pywikibot master branch" to "Update pywikibot stable branch". TASK DETAIL https://phabricator.wikimedia.org/T259509 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Xqt, Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T259509: Update pywikibot master branch
Bugreporter created this task. Bugreporter added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION See T258398#6354427 <https://phabricator.wikimedia.org/T258398#6354427>: scripts are broken when a new site is added. TASK DETAIL https://phabricator.wikimedia.org/T259509 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Reopened] T258398: Add support for arywiki to Pywikibot
Bugreporter reopened this task as "Open". Bugreporter added a comment. Reopen. It has not been merged to the stable branch yet and is breaking scripts running in Toolforge such as newitem.py. See also T238405: Pywikibot should have a robust way to handle unknown sites <https://phabricator.wikimedia.org/T238405> TASK DETAIL https://phabricator.wikimedia.org/T258398 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Urbanecm, Bugreporter Cc: Bugreporter, Aklapper, pywikibot-bugs-list, Urbanecm, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T258142: pwb outdated in PAWS
Bugreporter merged a task: T258175: Pywikibot version is outdated. TASK DETAIL https://phabricator.wikimedia.org/T258142 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Chicocvenancio, Bugreporter Cc: Bugreporter, Chicocvenancio, Xqt, matej_suchanek, Aklapper, jeblad, pywikibot-bugs-list, Arjunaraoc, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, AshokChakra, Viztor, 94rain, Wenyi, R96340, Allthingsgo, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Jane023, yuvipanda, Capt_Swing, jayvdb, zhuyifei1999, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T258181: New generator request: -url
Bugreporter updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T258181 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T258181: New generator request: -url
Bugreporter created this task. Bugreporter added a project: Pywikibot-pagegenerators.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION This will download a text file from a specific URL; the rest is similar to -file. Therefore it may be used to read page list from https://pagepile.toolforge.org/ and elsewhere, such as -url:"https://pagepile.toolforge.org/api.php?id=#=get_data=text; TASK DETAIL https://phabricator.wikimedia.org/T258181 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T257739: Add more template to the skip list
Bugreporter added a comment. Instead of hardcoding a list of templates, the list may be fetched via `SELECT ?item {?item wdt:P31/wdt:P279* wd:Q97303167}`; the URL is https://query.wikidata.org/sparql?query=SELECT%20%3Fitem%20%7B%3Fitem%20wdt%3AP31%2Fwdt%3AP279*%20wd%3AQ97303167%7D=json TASK DETAIL https://phabricator.wikimedia.org/T257739 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Retitled] T257739: newitem.py: add more template to the skip list
Bugreporter renamed this task from "Add more template to the skip list" to "newitem.py: add more template to the skip list". TASK DETAIL https://phabricator.wikimedia.org/T257739 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Retitled] T257739: newitem.py: add more templates to the skip list
Bugreporter renamed this task from "newitem.py: add more template to the skip list" to "newitem.py: add more templates to the skip list". TASK DETAIL https://phabricator.wikimedia.org/T257739 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T257739: Add more template to the skip list
Bugreporter created this task. Bugreporter added projects: Pywikibot-Wikidata, Pywikibot-Scripts. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION See T256676: newitem.py should ignore pages with {{Delete}} <https://phabricator.wikimedia.org/T256676>: - Q26004972, Q6838010 (redirect from misspelling) - Q14446424/Q14397354 (prod blp), Q7926719/Q12857463 (prod), Q5849910 (copyvio) - Q6535522 (db-meta) - this is not directly transcluded, so we should use page.templates() instead of page.templatesWithParams() - Q18198962 (Module:RfD), Q6916118 (Template:RfD) - Q6868608 (Template:Cfm full), Q6868546 (Template:Cfd full) - Q15630429 (Template:VfD) - Q13107809 (Template:Sockpuppet category) - Q5931187, Q26021926, Q21684530, Q20310993, Q25970270, Q57620750, Q4844001 (redirects to other projects) - Q97159332 (Japanese template for misspelling) TASK DETAIL https://phabricator.wikimedia.org/T257739 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T242081: Pywikibot fails to access Wikidata due to high maxlag lately
Bugreporter added a comment. But for Wikidata maxlag issue a higher number of retry. For example for a lag of one hour we need 180-720 retries (this is only an extreme situation). TASK DETAIL https://phabricator.wikimedia.org/T242081 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Bugreporter Cc: Bugreporter, Masti, THE_IT, SilentSpike, Aschroet, Multichill, Xqt, Ladsgroup, Strainu, Aklapper, pywikibot-bugs-list, Dvorapa, JohnsonLee01, Blissjay007, Dijkstra, Oblanco79, Alter-paule, Beast1978, Un1tY, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, Kent7301, Meekrab2012, joker88john, Viztor, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, mys_721tx, jayvdb, Alchimista, Rxy, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T242081: Pywikibot fails to access Wikidata due to high maxlag lately
Bugreporter added a comment. In T242081#5853949 <https://phabricator.wikimedia.org/T242081#5853949>, @Dvorapa wrote: > $ python pwb.py shell > Welcome to the Pywikibot interactive shell! > >>> s=pywikibot.Site('wikidata', 'wikidata') > >>> s > DataSite("wikidata", "wikidata") > >>> s.namespaces > Sleeping for 5.0 seconds, 2020-02-05 22:13:51 > Sleeping for 5.0 seconds, 2020-02-05 22:13:56 > Sleeping for 5.0 seconds, 2020-02-05 22:14:01 > Sleeping for 5.0 seconds, 2020-02-05 22:14:07 > Sleeping for 6.0 seconds, 2020-02-05 22:14:12 > Sleeping for 7.2 seconds, 2020-02-05 22:14:19 > Sleeping for 8.4 seconds, 2020-02-05 22:14:26 > Sleeping for 9.6 seconds, 2020-02-05 22:14:35 > Sleeping for 10.8 seconds, 2020-02-05 22:14:45 > Sleeping for 12.0 seconds, 2020-02-05 22:14:56 > Sleeping for 13.2 seconds, 2020-02-05 22:15:08 > Sleeping for 14.4 seconds, 2020-02-05 22:15:21 > Sleeping for 15.6 seconds, 2020-02-05 22:15:36 > Sleeping for 16.8 seconds, 2020-02-05 22:15:52 > Sleeping for 18.0 seconds, 2020-02-05 22:16:09 > Traceback (most recent call last): > File "", line 1, in > File "/home/pavel/pywikibot/pywikibot/site.py", line 1019, in namespaces > self._namespaces = NamespacesDict(self._build_namespaces()) > File "/home/pavel/pywikibot/pywikibot/site.py", line 2618, in _build_namespaces > for nsdata in self.siteinfo.get('namespaces', cache=False).values(): > File "/home/pavel/pywikibot/pywikibot/site.py", line 1660, in get > preloaded = self._get_general(key, expiry) > File "/home/pavel/pywikibot/pywikibot/site.py", line 1606, in _get_general > default_info = self._get_siteinfo(props, expiry) > File "/home/pavel/pywikibot/pywikibot/site.py", line 1529, in _get_siteinfo > data = request.submit() > File "/home/pavel/pywikibot/pywikibot/data/api.py", line 2243, in submit > self._data = super(CachedRequest, self).submit() > File "/home/pavel/pywikibot/pywikibot/data/api.py", line 2089, in submit > raise TimeoutError( > pywikibot.exceptions.TimeoutError: Maximum retries attempted due to maxlag without success. > > LOL Please, make Pywikibot retries infinitely by default unless in unit tests. Such a setting (with max_retries) will break many bots. TASK DETAIL https://phabricator.wikimedia.org/T242081 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Bugreporter Cc: Bugreporter, Masti, THE_IT, SilentSpike, Aschroet, Multichill, Xqt, Ladsgroup, Strainu, Aklapper, pywikibot-bugs-list, Dvorapa, JohnsonLee01, Blissjay007, Dijkstra, Oblanco79, Alter-paule, Beast1978, Un1tY, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, Kent7301, Meekrab2012, joker88john, Viztor, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, mys_721tx, jayvdb, Alchimista, Rxy, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T250939: pywikibot login failed
Bugreporter added a comment. Did you use the correct password in user-password.py? TASK DETAIL https://phabricator.wikimedia.org/T250939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Xqt, Dvorapa, Aklapper, Bdijkstra, pywikibot-bugs-list, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T249565: Wikidata's wb_items_per_site table has suddenly disappeared, creating DBQueryErrors on page views
Bugreporter added a comment. Is it the time to unblock EmausBot? TASK DETAIL https://phabricator.wikimedia.org/T249565 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore, Bugreporter Cc: CDanis, Marostegui, Darwinius, Zaiva_Igor, Kazrok4545, Neolexx, Amorymeltzer, Rowingbohe, Lea_Lacroix_WMDE, matej_suchanek, Laurent04000, Giku, doctaxon, Robby, Ixocactus, pywikibot-bugs-list, JAnD, Lofhi, Ltrlg, Mike_Peel, Premeditated, Jony, Majavah, Jar, SCP-2000, Mahir256, alanajjar, hoo, Soul_Train, Mr.Ibrahem, Krinkle, NickK, Sakretsu, Urbanecm, MisterSynergy, Christian75, Fuzheado, Emaus, RexxS, Paladox, MaxSem, BRPever, AntiCompositeNumber, Coffeeandcrumbs, ppelberg, Catrope, Esanders, Jdforrester-WMF, MMiller_WMF, Jdlrobson, Piramidion, kolbert, Pigsonthewing, Wittylama, PKM, Erutuon, Moebeus, Zoranzoki21, MusikAnimal, Thibaut120094, Pcoombe, RoySmith, Bugreporter, Addshore, Miraclepine, Ladsgroup, Can_I_Log_In, Krenair, Ahmad252, Dreamy_Jazz, Tgr, Koavf, DannyS712, Aklapper, Hazizibinmahdi, Iflorez, darthmon_wmde, alaa_wmde, RhinosF1, Viztor, Nandana, jijiki, Imarlier, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Minhnv-2809, JJMC89, elukey, _jensen, rosalieper, Scott_WUaS, Jonas, Johan, Wong128hk, Luke081515, Wikidata-bugs, aude, Bawolff, ArielGlenn, Lydia_Pintscher, He7d3r, TheDJ, Mbch331, Rxy, Jay8g, akosiaris ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T245350: Drop support of MW <1.19
Bugreporter added a comment. Yes, not now, but what should the minimum version be to support once all old Fandom wikis are migrated. TASK DETAIL https://phabricator.wikimedia.org/T245350 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Xqt, Bugreporter, Aklapper, Dvorapa, Urbanecm, pywikibot-bugs-list, Oblanco79, Alter-paule, Beast1978, Un1tY, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, Kent7301, Meekrab2012, joker88john, Viztor, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Framawiki, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T245350: Drop support of MW <1.19
Bugreporter added a comment. We should consider the next step once Fandom have completely moved to 1.33 (See T249403: login.py crashes on 1.33 Fandom wikis <https://phabricator.wikimedia.org/T249403>). TASK DETAIL https://phabricator.wikimedia.org/T245350 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Xqt, Bugreporter, Aklapper, Dvorapa, Urbanecm, pywikibot-bugs-list, Oblanco79, Alter-paule, Beast1978, Un1tY, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, Kent7301, Meekrab2012, joker88john, Viztor, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Framawiki, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T245350: MW 1.14 fails with so many errors
Bugreporter added a comment. I instead think (only in my opinion) we should support we should continue to make it work in Fandom (1.19.21) for an unspecified time. TASK DETAIL https://phabricator.wikimedia.org/T245350 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Xqt, Bugreporter, Aklapper, Dvorapa, Urbanecm, pywikibot-bugs-list, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T245350: MW 1.14 fails with so many errors
Bugreporter added a comment. For older MediaWiki Pywikibot compat is more usable but it is no longer official maintained. It may be still an idea to (unofficially) port the compat to newer version of Python (though no new feature will be added). Anyway per https://www.mediawiki.org/wiki/Manual:Pywikibot/Overview the core should theorically support MediaWiki 1.14, so it may be a real bug. Please also note older install of MediaWiki may be highly customized (see http://www.wikitree.com/, it even disabled all special pages) so it is possible that neither core nor compat will work. Wikia already use a highly different editor. TASK DETAIL https://phabricator.wikimedia.org/T245350 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, VulpesVulpes825, Aklapper, Dvorapa, Urbanecm, pywikibot-bugs-list, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T238667: ERROR: mekecat.py not found! Misspelling?
Bugreporter closed this task as "Invalid". Bugreporter added a comment. This does not seem to be any bug in Wikimedia code (https://codesearch.wmflabs.org/search/?q=mekecat=nope==). You may adjust your custom script or provide a clear step to reproduce it. TASK DETAIL https://phabricator.wikimedia.org/T238667 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Aklapper, pywikibot-bugs-list, Kaleem_Bhatti, Zkhalido, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T238448: Get family info from wikidata
Bugreporter added a comment. not all (special) projects are Wikidata clients. TASK DETAIL https://phabricator.wikimedia.org/T238448 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Aklapper, pywikibot-bugs-list, Mpaa, Zkhalido, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T238405: Pywikibot should have a robust way to handle unknown sites
Bugreporter created this task. Bugreporter added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION To prevent issues like T238404: Pywikibot fails when importing entity Q1410828 <https://phabricator.wikimedia.org/T238404> from being happens, especially users should not require upgrading the software when a new site is created. TASK DETAIL https://phabricator.wikimedia.org/T238405 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, Zkhalido, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T228801: claimit.py: allow specifying sources
Bugreporter created this task. Bugreporter added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION Currently it's not possible to also add a source in claimit.py. TASK DETAIL https://phabricator.wikimedia.org/T228801 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T227550: interwikidata.py breaks if the page contains interwiki link that is a redirect
Bugreporter created this task. Bugreporter added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION e.g. pwb.py interwikidata -page:"Atol Majuro" -lang:id -create ERROR: OtherPageSaveError: Edit to page [[wikidata:-1]] failed: failed-save: The save has failed. [help:See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce; for notice of API deprecations and breaking changes.] Traceback (most recent call last): File "/srv/paws/pwb/pywikibot/page.py", line 107, in handle func(self, *args, **kwargs) File "/srv/paws/pwb/pywikibot/page.py", line 4217, in editEntity baserevid=baserevid, **kwargs) File "/srv/paws/pwb/pywikibot/site.py", line 1320, in callee return fn(self, *args, **kwargs) File "/srv/paws/pwb/pywikibot/site.py", line 7839, in editEntity data = req.submit() File "/srv/paws/pwb/pywikibot/data/api.py", line 2079, in submit raise APIError(**result['error']) pywikibot.data.api.APIError: failed-save: The save has failed. [help:See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce; for notice of API deprecations and breaking changes.] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/paws/pwb/pwb.py", line 250, in if not main(): File "/srv/paws/pwb/pwb.py", line 243, in main run_python_file(filename, [filename] + args, argvu, file_package) File "/srv/paws/pwb/pwb.py", line 95, in run_python_file main_mod.__dict__) File "./scripts/interwikidata.py", line 246, in main() File "./scripts/interwikidata.py", line 239, in main bot.run() File "/srv/paws/pwb/pywikibot/bot.py", line 1505, in run self.treat(page) File "/srv/paws/pwb/pywikibot/bot.py", line 1732, in treat self.treat_page() File "./scripts/interwikidata.py", line 93, in treat_page item = self.create_item() File "./scripts/interwikidata.py", line 126, in create_item item.editEntity(data, new='item', summary=summary) File "/srv/paws/pwb/pywikibot/page.py", line 128, in wrapper handle(func, self, *args, **kwargs) File "/srv/paws/pwb/pywikibot/page.py", line 120, in handle raise pywikibot.OtherPageSaveError(self, err) pywikibot.exceptions.OtherPageSaveError: Edit to page [[wikidata:-1]] failed: failed-save: The save has failed. [help:See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce; for notice of API deprecations and breaking changes.] CRITICAL: Exiting due to uncaught exception TASK DETAIL https://phabricator.wikimedia.org/T227550 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Aklapper, pywikibot-bugs-list, Bugreporter, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T200234: Create edit groups when running Wikidata-related scripts
Bugreporter added a comment. As a long-term solution I propose to build a similar tool in MediaWiki, see T203557: edit group mechanism.TASK DETAILhttps://phabricator.wikimedia.org/T200234EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Pintoch, jayvdb, Framawiki, Aklapper, pywikibot-bugs-list, Bugreporter, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T200399: Remove disambiguation bracket in labels when creating new items for articles
Bugreporter added a subscriber: deryckchan.Bugreporter added a comment. In T200399#4479393, @deryckchan wrote: Most wikis have retained the built-in MediaWiki feature where trailing brackets are stripped when a page is saved: Wikitext before saving: [[Foo (bar)|]] Wikitext after saving: [[Foo (bar)|Foo]]. wikidatabot should strip the bracket when importing links from wikis which have this feature turned on. I have already said "Only do it when handling articles (ns0)"TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: deryckchan, JAnD, Framawiki, matej_suchanek, Xqt, Aklapper, pywikibot-bugs-list, Bugreporter, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Retitled] T200399: Remove disambiguation bracket in labels when creating new items for articles
Bugreporter renamed this task from "newitem.py: Remove disambiguation bracket in labels" to "Remove disambiguation bracket in labels when creating new items for articles". TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Ricordisamoa___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T200399: Remove disambiguation bracket in labels when creating new items for articles
Bugreporter added a comment. Also for other scripts that can create items.TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Ricordisamoa___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T200399: newitem.py: Remove disambiguation bracket in labels
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONE.g. "Georgia (country)" -> "Georgia". Only do it when handling articles (ns0).TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Ricordisamoa___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T200234: Create edit groups when running Wikidata-related scripts
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONSee https://www.wikidata.org/wiki/Wikidata:Edit_groups. Note it only requires a syntax in edit summaries.TASK DETAILhttps://phabricator.wikimedia.org/T200234EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Ricordisamoa___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199953: "cannot join current thread" during network problem
Bugreporter created this task.Bugreporter added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThis often occurs if I'm using an unreliable internet access (e.g. WiFi). However I can not reproduce it directly. Debug message (using newitem.py): WARNING: Waiting 40 seconds before retrying. Waiting for 64 pages to be put. Estimated time remaining: 0:01:04 Exception in thread Put-Thread: Traceback (most recent call last): File "D:\Dev\Python36\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request self._validate_conn(conn) File "D:\Dev\Python36\lib\site-packages\urllib3\connectionpool.py", line 850, in _validate_conn conn.connect() File "D:\Dev\Python36\lib\site-packages\urllib3\connection.py", line 326, in connect ssl_context=context) File "D:\Dev\Python36\lib\site-packages\urllib3\util\ssl_.py", line 329, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "D:\Dev\Python36\lib\ssl.py", line 407, in wrap_socket _context=self, _session=session) File "D:\Dev\Python36\lib\ssl.py", line 814, in __init__ self.do_handshake() File "D:\Dev\Python36\lib\ssl.py", line 1068, in do_handshake self._sslobj.do_handshake() File "D:\Dev\Python36\lib\ssl.py", line 689, in do_handshake self._sslobj.do_handshake() socket.timeout: _ssl.c:761: The handshake operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\Dev\Python36\lib\site-packages\requests\adapters.py", line 440, in send timeout=timeout File "D:\Dev\Python36\lib\site-packages\urllib3\connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "D:\Dev\Python36\lib\site-packages\urllib3\util\retry.py", line 357, in increment raise six.reraise(type(error), error, _stacktrace) File "D:\Dev\Python36\lib\site-packages\urllib3\packages\six.py", line 686, in reraise raise value File "D:\Dev\Python36\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen chunked=chunked) File "D:\Dev\Python36\lib\site-packages\urllib3\connectionpool.py", line 349, in _make_request self._raise_timeout(err=e, url="" timeout_value=conn.timeout) File "D:\Dev\Python36\lib\site-packages\urllib3\connectionpool.py", line 309, in _raise_timeout raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value) urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='en.wikipedia.org', port=443): Read timed out. (read timeout=6.05) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\db\core\pywikibot\data\api.py", line 1969, in submit body=body, headers=headers) File "D:\db\core\pywikibot\tools\__init__.py", line 1450, in wrapper return obj(*__args, **__kw) File "D:\db\core\pywikibot\comms\http.py", line 316, in request r = fetch(baseuri, method, params, body, headers, **kwargs) File "D:\db\core\pywikibot\comms\http.py", line 518, in fetch error_handling_callback(request) File "D:\db\core\pywikibot\comms\http.py", line 404, in error_handling_callback raise request.data File "D:\db\core\pywikibot\comms\http.py", line 383, in _http_process **http_request.kwargs) File "D:\Dev\Python36\lib\site-packages\requests\sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "D:\Dev\Python36\lib\site-packages\requests\sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "D:\Dev\Python36\lib\site-packages\requests\adapters.py", line 521, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='en.wikipedia.org', port=443): Read timed out. (read timeout=6.05) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\Dev\Python36\lib\threading.py", line 916, in _bootstrap_inner self.run() File "D:\Dev\Python36\lib\threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "D:\db\core\pywikibot\__init__.py", line 1409, in async_manager request(*args, **kwargs) File "D:\db\core\pywikibot\page.py", line 121, in handle callback(self, err) File "scripts\newitem.py", line 120, in page, callback=lambda _, exc: self._callback(page, exc)) File "scripts\newitem.py", line 83, in _callback self._touch_page(page) File "scripts\newitem.py", line 70, in _touch_page page.touch() File "D:\db\core\pywikibot\page.py", line 1420, in touch apply_
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T199936: newitem.py: Do not touch local page if user is not confirmed in local wiki
Bugreporter added a subscriber: Framawiki.Bugreporter added a comment. @Framawiki def _callback(self, page, exc): if exc is None: self._touch_page(page) def treat_page_and_item(self, page, item): """Treat page/item.""" if item and item.exists(): pywikibot.output(u'%s already has an item: %s.' % (page, item)) if self.getOption('touch'): pywikibot.output(u'Doing a null edit on the page.') self._touch_page(page) return So the -touch option only considers page with item. For pages without item the touch is always done regardless whether you use -touch or not.TASK DETAILhttps://phabricator.wikimedia.org/T199936EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Framawiki, gerritbot, Aklapper, pywikibot-bugs-list, Bugreporter, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199936: newitem.py: Do not touch local page if user is not confirmed in local wiki
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONIn newitem.py, after creation a new item the local page is touched. If the user is not confirmed in local wiki this should not be done because of: Any edits (including null edits) are throttled to 8/min If the pages transcluded some templates which are changed to include new external links captchas will be shown, which needs manual intervention TASK DETAILhttps://phabricator.wikimedia.org/T199936EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Ricordisamoa___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199891: fix interwiki links issue in newitem.py
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://phabricator.wikimedia.org/diffusion/PWBC/browse/master/scripts/newitem.py if page.langlinks(): # FIXME: Implement this pywikibot.output( "Found language links (interwiki links).\n" "Haven't implemented that yet so skipping.") return This piece of code has been here for (almost) four years but never properly fixed.TASK DETAILhttps://phabricator.wikimedia.org/T199891EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Ricordisamoa___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199698: Possible to check constraint violations in harvest_template.py
Bugreporter created this task.Bugreporter added a project: Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONCurrently it is not possible to check constraint violations in harvest_template.py. (efficient implement may be blocked by T168626: Check constraints before saving statements)TASK DETAILhttps://phabricator.wikimedia.org/T199698EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199661: filter_unique: allow only checking page names
Bugreporter created this task.Bugreporter added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONSee T199615: filter_unique leaks memory; it is useful if it can be assumed that we don't need any double action on the page and double action may be prevented, e.g. for Wikidata (as items are not movable and even if local pages are moved they still links to the same item, and checking whether the claim exists is done before adding a claim).TASK DETAILhttps://phabricator.wikimedia.org/T199661EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T199642: WikidataBot: Never write to wikidata:-1
Bugreporter updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...Result: When creation of an item is failed wikidata:-1 will returned; the bot will try to add statements to wikidata:-1 and pywikibot.exceptions.OtherPageSaveError will be throwed which make the bot createcrash Expected: If an item can not be created due to network error or rate limit, retry creation after some time. Otherwise (e.g. stopped by abusefilter), skip the current page and proceed the next one.TASK DETAILhttps://phabricator.wikimedia.org/T199642EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Edgars2007, gerritbot, matej_suchanek, Aklapper, pywikibot-bugs-list, Bugreporter, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T199639: Provide a "skip" parameter
Bugreporter added a comment. This works but is not useful in other types of generators (which is not ordered alphabetically) or there're some reason that something that should be run in batches (using together with -limit) but don't know where to start.TASK DETAILhttps://phabricator.wikimedia.org/T199639EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Dvorapa, Aklapper, pywikibot-bugs-list, Bugreporter___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199643: Generate a new CSRF token if the old one is invalidated
Bugreporter created this task.Bugreporter added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThe bot may fail to because the current CSRF token is invalid. Then a new one should be generated. (This is important with T139842: Restartable bot framework as CSRF token is not always persistent.)TASK DETAILhttps://phabricator.wikimedia.org/T199643EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199642: WikidataBot: Never write to wikidata:-1
Bugreporter created this task.Bugreporter added projects: Pywikibot-core, Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONReproduce: python harvest_template.py -lang:en -template:"Sockpuppet" -namespace:2 -create 1 P370 (This is only an example to reproduce the bug; no new items will be created as they will be stopped by abusefilter) Result: When creation of an item is failed wikidata:-1 will returned; the bot will try to add statements to wikidata:-1 and pywikibot.exceptions.OtherPageSaveError will be throwed which make the bot create Expected: If an item can not be created due to network error or rate limit, retry creation after some time. Otherwise (e.g. stopped by abusefilter), skip the current page and proceed the next one.TASK DETAILhttps://phabricator.wikimedia.org/T199642EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199640: Provide a way to store a breakpoint when running some scripts
Bugreporter created this task.Bugreporter added a project: Pywikibot-pagegenerators.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONe.g. You can use harvest_template.py to mass add Wikidata claims based on information harvested from Wikipedia templates. However if the process is interrupted you must restart from scratch and generate many pages that is already generated (there's a -start parameter but it is not clear where to start if you don't know the sortkey). It may be a good idea to store a breakpoint when interrupted.TASK DETAILhttps://phabricator.wikimedia.org/T199640EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T199639: Provide a "skip" parameter
Bugreporter created this task.Bugreporter added a project: Pywikibot-pagegenerators.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONWhen using pagegenerators in other scripts we often meet many pages with nothing to do (but it will be regenerated when the script is rerun). It may be a good idea to have a "skip" or "offset" parameter, e.g. -cat:A -skip:1000 will generate all pages in category A except first 1000 pages.TASK DETAILhttps://phabricator.wikimedia.org/T199639EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T174752: Allow creating new Wikidata items in coordinate_import.py
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONCurrently coordinate_import.py does not support creating new Wikidata items if no item exists.TASK DETAILhttps://phabricator.wikimedia.org/T174752EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter, Ricordisamoa___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs