Re: [pywikibot] [Pywikibot-commits] Canceled: wikimedia/pywikibot-core#4227 (master - a481391)
I think it does not care as long as we got following tests from TravisCI Best xqt > Am 08.08.2017 um 06:11 schrieb Bináris: > > So what does this message mean and how to interpret it, and what is the next > step? I followed the links and the only information I got was that the job > was randonly either canceled or cancelled, with no reason or explanation. > > > 2017-08-08 2:25 GMT+02:00 Travis CI : >> >> wikimedia / pywikibot-core (master) >> >> Build #4227 was canceled. 7 hours, 54 minutes, and 13 seconds >> XXN a481391 Changeset → >> Removed nl.wikinews from the list of closed wikis >> >> This project it's not closed anymore and it's quite active >> (https://nl.wikinews.org/wiki/Speciaal:RecenteWijzigingen) >> >> Updated also languages_by_size. >> >> Change-Id: Iecd7fe52c5ca2d9d3ad2b43e8f0805ce394ddad4 >> Want to know about upcoming build environment updates? >> Would you like to stay up-to-date with the upcoming Travis CI build >> environment updates? We set up a mailing list for you! Sign up here. >> Documentation about Travis CI >> Need help? Mail support! >> Choose who receives these build notification emails in your configuration >> file. >> >> Would you like to test your private code? >> Travis CI for Private Projects could be your new best friend! >> >> ___ >> Pywikibot-commits mailing list >> pywikibot-comm...@lists.wikimedia.org >> https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits > > > > -- > Bináris > ___ > pywikibot mailing list > pywikibot@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikibot ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
Re: [pywikibot] introduction / using pywikibot to archive external URLs
The only bot I know of that does this today is InternetArchiveBot ( https://github.com/cyberpower678/Cyberbot_II/tree/master/IABot ) which is written in PHP but might have some good suggestions. In general a reference archive bot based on pywikibot feels like something which could definitely be useful. Cheers, André On 8 Aug 2017 00:19, "Nick Doty"wrote: Hi pywikibot developers, As recommended https://www.mediawiki.org/wiki/Manual:Pywikibot/ Development#Development I wanted to write to say hello. I'm a graduate student at UC Berkeley working on Internet privacy. I'm interested in using pywikibot to automatically make archives of certain external URLs that are included in a private MediaWiki instance that we're using as a repository of educational resources. I'd like to automatically check external URLs that are provided by users/curators of our wiki and create permanent external archives (through perma.cc or similar services) so that these annotated resources can be useful even as URLs age and expire. To start with, I'm looking at the weblinkchecker.py and seeing how I might modify or extend it. If some of this functionality already exists or I should look elsewhere, I would be very interested in pointers or recommendations. Similarly, if there are others who would find a link-archiving script useful, I'd love to collaborate or understand other's use cases. Thanks, Nick Doty UC Berkeley, School of Information https://npdoty.name ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
[Pywikipedia-bugs] [Maniphest] [Updated] T72702: claimit and harvest_template - add another value for one property
matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikibot-commits] [Gerrit] pywikibot/core[master]: [bugfix] Test page_image() for older mw version and missing ...
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/370609 ) Change subject: [bugfix] Test page_image() for older mw version and missing extension .. [bugfix] Test page_image() for older mw version and missing extension Bug: T172770 Change-Id: Idb3f66df995ad3b20710ef2a3358d2c066e9663b --- M tests/page_tests.py 1 file changed, 12 insertions(+), 3 deletions(-) Approvals: Strainu: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/page_tests.py b/tests/page_tests.py index d6698ce..c6d659c 100644 --- a/tests/page_tests.py +++ b/tests/page_tests.py @@ -559,9 +559,18 @@ site = self.get_site() mainpage = self.get_mainpage() image = pywikibot.FilePage(site, 'File:Jean-Léon Gérôme 003.jpg') -self.assertIsInstance(mainpage.page_image(), pywikibot.FilePage) -# for file pages, the API should return the file itself -self.assertEqual(image.page_image(), image) + +if MediaWikiVersion(site.version()) < MediaWikiVersion('1.20'): +self.assertRaises(NotImplementedError, mainpage.page_image) +elif site.has_extension('PageImages'): +self.assertIsInstance(mainpage.page_image(), pywikibot.FilePage) +# for file pages, the API should return the file itself +self.assertEqual(image.page_image(), image) +else: +self.assertRaises(pywikibot.UnknownExtension, + 'Method "loadpageimage" is not implemented ' + 'without the extension PageImages', + mainpage.page_image) class TestPageDeprecation(DefaultSiteTestCase, DeprecationTestCase): -- To view, visit https://gerrit.wikimedia.org/r/370609 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Idb3f66df995ad3b20710ef2a3358d2c066e9663b Gerrit-PatchSet: 2 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: XqtGerrit-Reviewer: John Vandenberg Gerrit-Reviewer: Magul Gerrit-Reviewer: Strainu Gerrit-Reviewer: jenkins-bot <> ___ Pywikibot-commits mailing list Pywikibot-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits
[Pywikipedia-bugs] [Maniphest] [Commented On] T172770: page_tests.TestPageObject.test_page_image fails for several sites
gerritbot added a comment. Change 370609 merged by jenkins-bot: [pywikibot/core@master] [bugfix] Test page_image() for older mw version and missing extension https://gerrit.wikimedia.org/r/370609TASK DETAILhttps://phabricator.wikimedia.org/T172770EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Strainu, Aklapper, Xqt, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, 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] [Closed] T64014: Add support for item without link to harvest_template
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T64014EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, matej_suchanek, valhallasw, Xqt, Ricordisamoa, Aklapper, JAnD, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, 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] [Updated] T87689: Harvest lists of items from a single infobox field
matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T87689EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, matej_suchanek, pywikibot-bugs-list, Aklapper, Ejegg, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, 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] T72702: claimit and harvest_template - add another value for one property
gerritbot added a comment. Change 370664 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek): [pywikibot/core@master] [IMPR] Share claimit.py logic with harvest_template.py https://gerrit.wikimedia.org/r/370664TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, 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] [Updated] T72702: claimit and harvest_template - add another value for one property
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, 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] [Unblock] T75398: claimit.py : add a list of Q to a property
matej_suchanek closed subtask T69284: claimit.py should add another value but not duplicate as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T75398EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: XXN, matej_suchanek, TerraCodes, jayvdb, pywikibot-bugs-list, Yamaha5, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Luke081515, 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] [Updated] T72702: claimit and harvest_template - add another value for one property
matej_suchanek added a parent task: T87689: Harvest lists of items from a single infobox field. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, 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] [Updated] T87689: Harvest lists of items from a single infobox field
matej_suchanek added a subtask: T72702: claimit and harvest_template - add another value for one property. TASK DETAILhttps://phabricator.wikimedia.org/T87689EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, matej_suchanek, pywikibot-bugs-list, Aklapper, Ejegg, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, 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] [Claimed] T69284: claimit.py should add another value but not duplicate
matej_suchanek claimed this task.matej_suchanek removed a project: TestMe.Herald added a subscriber: PokestarFan. TASK DETAILhttps://phabricator.wikimedia.org/T69284EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: PokestarFan, TerraCodes, matej_suchanek, gerritbot, JAnD, Legoktm, jayvdb, pywikibot-bugs-list, Yamaha5, Mpaa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, 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] [Closed] T69284: claimit.py should add another value but not duplicate
matej_suchanek closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T69284EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: PokestarFan, TerraCodes, matej_suchanek, gerritbot, JAnD, Legoktm, jayvdb, pywikibot-bugs-list, Yamaha5, Mpaa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, 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] [Unblock] T72702: claimit and harvest_template - add another value for one property
matej_suchanek closed subtask T69284: claimit.py should add another value but not duplicate as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikibot-commits] [Gerrit] pywikibot/core[master]: [bugfix] Fix assertRaisesRegex call
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/370641 ) Change subject: [bugfix] Fix assertRaisesRegex call .. [bugfix] Fix assertRaisesRegex call Bug: T172770 Change-Id: I9fb75cf2ee9707a65ebe3a9bf32a4cbf527f030d --- M tests/page_tests.py 1 file changed, 4 insertions(+), 4 deletions(-) Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved diff --git a/tests/page_tests.py b/tests/page_tests.py index c6d659c..b4d9a5e 100644 --- a/tests/page_tests.py +++ b/tests/page_tests.py @@ -567,10 +567,10 @@ # for file pages, the API should return the file itself self.assertEqual(image.page_image(), image) else: -self.assertRaises(pywikibot.UnknownExtension, - 'Method "loadpageimage" is not implemented ' - 'without the extension PageImages', - mainpage.page_image) +self.assertRaisesRegex(pywikibot.UnknownExtension, + 'Method "loadpageimage" is not implemented ' + 'without the extension PageImages', + mainpage.page_image) class TestPageDeprecation(DefaultSiteTestCase, DeprecationTestCase): -- To view, visit https://gerrit.wikimedia.org/r/370641 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9fb75cf2ee9707a65ebe3a9bf32a4cbf527f030d Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: XqtGerrit-Reviewer: John Vandenberg Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot <> ___ Pywikibot-commits mailing list Pywikibot-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits
[Pywikipedia-bugs] [Maniphest] [Commented On] T172770: page_tests.TestPageObject.test_page_image fails for several sites
gerritbot added a comment. Change 370641 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] Fix assertRaisesRegex call https://gerrit.wikimedia.org/r/370641TASK DETAILhttps://phabricator.wikimedia.org/T172770EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Strainu, Aklapper, Xqt, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, 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] T172770: page_tests.TestPageObject.test_page_image fails for several sites
gerritbot added a comment. Change 370641 merged by jenkins-bot: [pywikibot/core@master] [bugfix] Fix assertRaisesRegex call https://gerrit.wikimedia.org/r/370641TASK DETAILhttps://phabricator.wikimedia.org/T172770EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Strainu, Aklapper, Xqt, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, 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] [Closed] T172770: page_tests.TestPageObject.test_page_image fails for several sites
Xqt closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T172770EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Strainu, Aklapper, Xqt, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, 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] [Claimed] T72702: claimit and harvest_template - add another value for one property
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs