[Pywikipedia-bugs] [Maniphest] [Unassigned] T76429: argparse support for global & pagegen arguments
XZise removed XZise as the assignee of this task. TASK DETAIL https://phabricator.wikimedia.org/T76429 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, Aklapper, jayvdb, Ricordisamoa, pywikibot-bugs-list, Ladsgroup, XZise, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Unassigned] T74207: detect write api actions
XZise removed XZise as the assignee of this task. TASK DETAIL https://phabricator.wikimedia.org/T74207 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: StudiesWorld, happy5214, Mattflaschen-WMF, gerritbot, jayvdb, Ricordisamoa, Aklapper, pywikibot-bugs-list, XZise, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Masti, Alchimista, Rxy ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T120327: SUL login fails if pywikibot is the first visit to the wiki
XZise added a subscriber: XZise. XZise added a comment. You linked to the merge commit and https://phabricator.wikimedia.org/rPWBCb96e4c8e3153e0a0576d7dab184853ea53adc7dc is the actual commit which changed it. Anyway I think the only option (without undoing it) might be to detect that the site is using SUL and maybe (`query+globalallusers` <https://test.wikidata.org/w/api.php?action=help=query%2Bglobalallusers>?) there is a way to query if there is a SUL user with that name. TASK DETAIL https://phabricator.wikimedia.org/T120327 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Multichill, zhuyifei1999, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T121948: Pywikibot 2.0rc5
XZise edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T121948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, XZise, StudiesWorld, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T121684: Pywikibot gives script termination on page delete
XZise added a subscriber: XZise. XZise claimed this task. XZise added a comment. It seems that at some point in Python 3.5, `Formatter._vformat` changed what it returned and we had to override it so this is broken. Now I have 3.5 installed locally and there `_vformat` returns only one value but the current version on CPython's repository returns two and unpacks them. TASK DETAIL https://phabricator.wikimedia.org/T121684 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, pywikibot-bugs-list, Aklapper, StudiesWorld, Unatratnag ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T58959: Tests: allow for offline operation
XZise added a comment. There are two things to point out though: A test may not be labeled `net` when we screw up and there is actually a plugin for nose which prevents at least certain connections. TASK DETAIL https://phabricator.wikimedia.org/T58959 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Nemo_bis, XZise, hashar, Aklapper, IoannisKydonis, jayvdb, valhallasw, pywikibot-bugs-list, Ladsgroup ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T121318: UnicodeDecodeError in encode_url
XZise edited the task description. XZise set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T121318 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, Aklapper, StudiesWorld, pywikibot-bugs-list, Mpaa ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T98107: Ability to disable Pywikibot SCM version detection completely
XZise added a comment. Shouldn't it also be possible to have substitution parameters which won't be substituted by doubling the number of brackets (like `{{version}}` will result in `{version}`). TASK DETAIL https://phabricator.wikimedia.org/T98107 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, jayvdb, pywikibot-bugs-list, saper, Aklapper ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")
XZise added a subscriber: XZise. XZise added a comment. Well 2.0rc3 does not have that error message and thus won't cause that failure. TASK DETAIL https://phabricator.wikimedia.org/T120222 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, valhallasw, Aklapper, WereSpielChequers, StudiesWorld, Lokal_Profil, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")
XZise added a comment. Alternatively could you maybe replace the `{1}` with `{1!r}` and check if that traceback disappears? It'll probably output the error but it would be interesting to see what the actual error message is. TASK DETAIL https://phabricator.wikimedia.org/T120222 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Ladsgroup, XZise, valhallasw, Aklapper, WereSpielChequers, StudiesWorld, Lokal_Profil, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T112340: Page.isEmpty
XZise added a comment. Just as a general note, these 6 lines mentioned in the OP could be easily shortened into one: `return len(page.text) > 50` TASK DETAIL https://phabricator.wikimedia.org/T112340 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: vadi, XZise Cc: Xqt, gerritbot, StudiesWorld, XZise, 01tonythomas, Rajdeep594, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T120278: Cant login as admin using delete.py
XZise added a comment. Do both accounts use the same password? And if not, which account's password are you using? TASK DETAIL https://phabricator.wikimedia.org/T120278 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Milicevic01 ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T120278: Cant login as admin using delete.py
XZise closed this task as "Resolved". XZise claimed this task. XZise added a comment. Could you see the password? Otherwise it might be mistyped. TASK DETAIL https://phabricator.wikimedia.org/T120278 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Milicevic01 ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T102315: pywikibot support for https-only
XZise added a comment. Well if you look in my comment (https://phabricator.wikimedia.org/T102315#1371485) you'll see that for most purposes we are not doing HTTP requests but HTTPS requests. TASK DETAIL https://phabricator.wikimedia.org/T102315 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: StudiesWorld, Ricordisamoa, XZise, BBlack, Nemo_bis, Tony_Tan_98, Aklapper, jayvdb, pywikibot-bugs-list, Anshoe, Dinoguy1000, Seb35, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T120278: Cant login as admin using delete.py
XZise added a subscriber: XZise. XZise added a comment. Maybe it has a different account set up as sysop? TASK DETAIL https://phabricator.wikimedia.org/T120278 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Milicevic01 ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T108440: Pull out all Wikibase-related parts of pywikibot to pywikibot/wikibase and use it as a submodule
XZise added a subscriber: XZise. XZise added a comment. Is this actually resolved? As @Ladsgroup mentioned the parts are still in pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T108440 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup, XZise Cc: XZise, Ricordisamoa, jayvdb, Halfak, Aklapper, pywikibot-bugs-list, Ladsgroup, He7d3r ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T117570: jenkins output is unreadable
XZise added a subscriber: XZise. XZise added a comment. The duplicates are because we have flake8 for Python 2 (`flake8`) and Python 3 (`flake8-py3`) and a set of more strict rules (`flake8-docstrings-mandatory`). And for example `pywikibot/__init__` is tested by all while `tests/wikibase_tests` is not tested by `flake8-docstrings-mandatory` (which is only working on specific files and tus the different output in line 5). And with regarding having the results hidden in the output, this is due to https://phabricator.wikimedia.org/rPWBC7a35ea98c1d19ff78f6f4ca9edc9e885c65af904 (https://phabricator.wikimedia.org/T87169) as that runs multiple tests in one suite. So without that patch you would still have the duplicates but separated over multiple runs. So I'm not sure what can be done here. Integration could actually fix the issue that it does not run tests for non-whitelisted users, althoug just running the “jenkins” environment seems sensible to me. Then pywikibot changes how it runs the tests (but that could only apply to duplicates). And maybe the implementation for tox should have some way to show the results at the end instead with the other output. TASK DETAIL https://phabricator.wikimedia.org/T117570 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, StudiesWorld, valhallasw, pywikibot-bugs-list, hashar, greg ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T116585: 'NoneType' object has no attribute '__getitem__'
XZise added a subscriber: XZise. XZise claimed this task. XZise added a comment. Oops sorry, I introduced it in https://phabricator.wikimedia.org/rPWBC4e393d63a8632d5ad02760645ab2f0ef7cde08ce. TASK DETAIL https://phabricator.wikimedia.org/T116585 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Wesalius ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis
XZise added a comment. `jq` is a script to parse JSON in bash. Has nothing to do with pywikibot TASK DETAIL https://phabricator.wikimedia.org/T112006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: demon, greg, Luke081515, gerritbot, Krenair, jayvdb, Aklapper, pywikibot-bugs-list, XZise, scfc, hashar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T116371: Conflict edit non recognized
XZise added a subscriber: XZise. XZise added a comment. The wiki should actually detect there is an editing conflict and report that accordingly. It should also print a warning (at least in that script) that an editing conflict occurred. TASK DETAIL https://phabricator.wikimedia.org/T116371 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, jayvdb, Aklapper, pywikibot-bugs-list, Beta16 ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T109173: "Nonce already used" regularly occurring on beta cluster
XZise added a comment. Primarily a response from @jayvdb to the comments in https://gerrit.wikimedia.org/r/#/c/237977/. And as soon as that got merged we are going to get more information from Travis. Not sure who can then help with that information though. TASK DETAIL https://phabricator.wikimedia.org/T109173 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, gerritbot, ori, bd808, Tgr, greg, Aklapper, Luke081515, pywikibot-bugs-list, jayvdb, scfc, hashar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T115790: Botwiki currently/permanently(?) not available
XZise closed this task as "Invalid". XZise claimed this task. XZise added a comment. The site is now available again. TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Legoktm, Snowolf, Aklapper, pywikibot-bugs-list, XZise ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T115780: ItemPage.get causes TypeError
XZise added a subscriber: XZise. XZise added a comment. You -1'ed a patch caused it to stall. And to preempt anyone opening a bug report because of the bug the patch is fixing, John opened this one here. It's not about preventing you to -1 anything but about the bug in our library. And it mentions that there is already an unmerged patch which is -1'ed by you at that time. This bug is about the existence/usability of the var args while https://phabricator.wikimedia.org/T68120 was about using additional keyword arguments from superclasses. TASK DETAIL https://phabricator.wikimedia.org/T115780 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb, XZise Cc: XZise, pywikibot-bugs-list, Ricordisamoa, jayvdb, Legoktm, gerritbot, Aklapper ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T115790: Botwiki currently/permanently(?) not available
XZise added a comment. This does actually prevent https://phabricator.wikimedia.org/T85786 at the moment. TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, pywikibot-bugs-list, XZise ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T115790: Botwiki currently/permanently(?) not available
XZise created this task. XZise added a subscriber: XZise. XZise added projects: pywikibot-core, Pywikibot-tests. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I don't know if botwiki is only temporarily not available or if it has been shutdown completely but our tests currently fail because it can't detect the wiki: ``` == FAIL: test_detect_site (tests.site_detect_tests.SiteDetectionTestCase) Test detection of MediaWiki sites. -- Traceback (most recent call last): File "/home/travis/build/xZise/pywikibot-core/tests/site_detect_tests.py", line 184, in test_detect_site self.assertAllPass() File "/home/travis/build/xZise/pywikibot-core/tests/site_detect_tests.py", line 115, in assertAllPass self.assertEqual(set(self.passes), set(self.all) - set(self.skips)) AssertionError: Items in the second set but not the first: 'http://botwiki.sno.cc/wiki/$1' ``` The traceback is [[https://travis-ci.org/xZise/pywikibot-core/jobs/85923932#L3733|from this test]] and [[https://travis-ci.org/xZise/pywikibot-core/jobs/85923932#L3064|this]] is the location it fails. TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, pywikibot-bugs-list, XZise, jayvdb ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T115679: Handle property datatype changing gracefully
XZise added a subscriber: XZise. XZise added a comment. By the way the cache time doesn't matter that much as the cached item does not store the time of expiration but the time of creation. So we could reduce the time and anyone who uses a version after that won't have cached it for about 100 years. TASK DETAIL https://phabricator.wikimedia.org/T115679 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Ricordisamoa, hoo, Lydia_Pintscher, Multichill, Legoktm, Aklapper, jayvdb, pywikibot-bugs-list, Wikidata-bugs, aude ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T110637: requests 0.8.2 is not supported
XZise added a comment. Those then can't use `socketio_client`. TASK DETAIL https://phabricator.wikimedia.org/T110637 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, gerritbot, valhallasw, jayvdb, Aklapper, VcamX, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T115428: imageharvest and panoramiopicker uses BeautifulSoup version 3 instead of bs4
XZise added a subscriber: XZise. TASK DETAIL https://phabricator.wikimedia.org/T115428 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, Avicennasis, pywikibot-bugs-list, jayvdb, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T115643: Allow configuration of the "nobots" template name (future request)
XZise added a comment. There are two different components: - Preventing it from saving a page - Actually skipping them in the pagegenerator Changing the first will still allow you to iterate over them (for example in `python pwb.py listpages`) while the latter will not show them in `python pwb.py listpages` (if you use that pagegenerator) but if you don't use that generator it'll still work on these pages and save them. The latter would be something like the inverted `-grep` option. The former has the issue that every wiki seems to implement their own style. So sometimes a template means the inverted of another template, sometimes they mean the same and sometimes either of them can have parameters which further narrow down to which bots it applies. At the moment the `nobots` template by default blocks the access for all or only to the bots listed in the first parameter while the `bots` template by default blocks no access and `deny`/`denyscript` can limit that while `allow`/`allowscript` can allow something specifically. My point is that we probably need a consistent way do describe those things so that they can be modified by site configuration (https://phabricator.wikimedia.org/T104821) or inside the family. So there could be also a third component, to add a shortcut for a pagegenerator which skips the pages according to the `nobots`/`bots` rule present (basically if `page.botMayEdit` must be True to be yielded by the generator). TASK DETAIL https://phabricator.wikimedia.org/T115643 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, Wesalius, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T115297: Pywikibot does not support explicit plural forms
XZise claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T115297 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T57102: listify to file option in category.py
XZise added a comment. Isn't it already possible to also get subcategories using `-subcats`/`-subcatsr`? Now with regard to the talkpages @jayvdb afaik suggested to make the `pywikibot.pagegenerators.PageWithTalkPageGenerator` visible via the command line so that you can use it's generator. But I don't think that'll be useful for the formatter as the it only works on one page at a time. So personally, adding a way to also handle the talk pages is more suitable. You just need to enhance the formatter to also provide variables for the talk page. There is Gerrit 239682 <https://gerrit.wikimedia.org/r/#/c/239682> upon this could be build. Or we have a proxy class for page instances and the format gets two of those to provide a proxy for each page “variant” (non-talk page and talk page). So that instead of the entries `site`, `title` there are `site`, `page.title` and `talk.title`. Maybe we could coordinate and I implement the proxy class in my patch and you provide the talkpage related part (aka creating a proxy instance and providing that) in your patch. But still I think we don't need an option to save it to disc for `listpages`. I can understand that it's suggested for `category listify` as that saves the list to the wiki, but that `category listify` is mostly redundant with `listpages` and so it was suggested to deprecate the former. But `listpages` prints the output to the console so you can use redirection (as I've shown above) so that doesn't need it. Now in case others disagree and they want that option, please don't use an option like `-listify` because that doesn't describe what it does. Maybe something like `-tofile` instead (`-file` is already used by pagegenerators). TASK DETAIL https://phabricator.wikimedia.org/T57102 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, XZise, jayvdb, Mpaa, Aklapper, Tokencolour, Legoktm, pywikibot-bugs-list, Ladsgroup, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T114639: http://wikia.com/ is blocking travis
XZise closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T114639 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Inez, PMG, Jkuner-Wikia, Trevor-at-Wikia, Grunny, gerritbot, XZise, Aklapper, jayvdb, pywikibot-bugs-list, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode
XZise added a comment. Okay I can verify that the size is 3135 bytes with @Mpaa's change and 2936 Bytes without. But did you also use the `-botflag` option? TASK DETAIL https://phabricator.wikimedia.org/T113450 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa, XZise Cc: XZise, Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Billinghurst, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode
XZise added a subscriber: XZise. XZise added a comment. How did you use it and have you verified that you use @Mpaa's change? TASK DETAIL https://phabricator.wikimedia.org/T113450 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Billinghurst, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Assigned] T113450: pywikibot-touch.py needs to operate in bot mode
XZise assigned this task to Mpaa. TASK DETAIL https://phabricator.wikimedia.org/T113450 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa, XZise Cc: XZise, Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Billinghurst, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T57102: listify to file option in category.py
XZise added a comment. Afaik this but is invalid as `listpages` already supports redirection? $ python pwb.py listpages -lang:test -family:test -cat:A 1 Category page 2 Incnis Mrsi 3 Test sortkey 4 Test sortkey2 5 Test sortkey3 5 page(s) found $ python pwb.py listpages -lang:test -family:test -cat:A > list 5 page(s) found $ cat list 1 Category page 2 Incnis Mrsi 3 Test sortkey 4 Test sortkey2 5 Test sortkey3 The only valid part is that `listpages` doesn't support everything `category listify` supports. TASK DETAIL https://phabricator.wikimedia.org/T57102 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, XZise, jayvdb, Mpaa, Aklapper, Tokencolour, Legoktm, pywikibot-bugs-list, Ladsgroup, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T74863: add coverage report to tests
XZise added a comment. @Ricordisamoa: I guess your dislike has the same reason as T101807: Run Pywikibot tests against Win32 using Appveyor <https://phabricator.wikimedia.org/T101807>? In which case I strongly agree with @jayvdb's response (https://phabricator.wikimedia.org/T101807#1355749). TASK DETAIL https://phabricator.wikimedia.org/T74863 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Ricordisamoa, hashar, Andrew, Ladsgroup, XZise, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Up For Grabs] T114978: plural-gettext.txt and plural.py have not been updated since August 2011
XZise placed this task up for grabs. XZise added a comment. Oh sorry it seemed I overlooked the last part of your opening post. Now for the moment I'm a bit worried that the package is a bit overkill when we need just one dict and then that it is a string and not a function. And that string is not even valid Python code: '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3' So this would either need a parser from us or another third party (unless I overlooked the parser in the project). I also don't know what it is using as the source material. It is definitely using the CLDR material directly as that is formatted differently. TASK DETAIL https://phabricator.wikimedia.org/T114978 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Xqt, jayvdb, KartikMistry ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T114978: plural-gettext.txt and plural.py have not been updated since August 2011
XZise added a subscriber: XZise. XZise claimed this task. XZise added a comment. I think it should be possible to either have a script deriving the plural rules using Unicode's CLDR definition or to introduce/use that XML directly. For the second part the main problem is probably the copyright (although it seems you are able to publish and distribute the data files (which would include plurals.xml <http://unicode.org/repos/cldr/trunk/common/supplemental/plurals.xml>). Anyway one different advantage of the plurals.xml file is that, with a proper parser, we could actually test their samples against our rules. TASK DETAIL https://phabricator.wikimedia.org/T114978 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Xqt, jayvdb, KartikMistry ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T115230: test_token failure on developer builds
XZise added a subscriber: XZise. TASK DETAIL https://phabricator.wikimedia.org/T115230 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T114574: Create an alias "mul" for -lang: syntax in pywikibot
XZise added a subscriber: XZise. TASK DETAIL https://phabricator.wikimedia.org/T114574 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Mpaa, jayvdb, Aklapper, pywikibot-bugs-list, Billinghurst, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114639: http://wikia.com/ is blocking travis
XZise added a comment. Hmm we still get 403s: https://travis-ci.org/wikimedia/pywikibot-core/jobs/84420867#L1253 TASK DETAIL https://phabricator.wikimedia.org/T114639 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Inez, PMG, Jkuner-Wikia, Trevor-at-Wikia, Grunny, gerritbot, XZise, Aklapper, jayvdb, pywikibot-bugs-list, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Reassigned] T114464: Pywikibot 2.0 should be Python 2.7, 3.3 and 3.4 only
XZise reassigned this task from valhallasw to jayvdb. TASK DETAIL https://phabricator.wikimedia.org/T114464 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb, XZise Cc: Ricordisamoa, XZise, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114931: metadata param in PageGenerator might lead to huge data transfer
XZise added a subscriber: XZise. XZise added a comment. If I remember correctly the issue is that the metadata is transferred unsolicited. But I can't find the task for it. TASK DETAIL https://phabricator.wikimedia.org/T114931 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Mpaa ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T57102: listify to file option in category.py
XZise added subscribers: jayvdb, XZise. XZise added a comment. @jayvdb already suggested to make `CategoryListifyRobot` obsolete by the `listpages` script. And in theory you could also pipe the result simply I guess? TASK DETAIL https://phabricator.wikimedia.org/T57102 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, jayvdb, Mpaa, Aklapper, Tokencolour, Legoktm, pywikibot-bugs-list, Ladsgroup, 01tonythomas ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114931: metadata param in PageGenerator might lead to huge data transfer
XZise added a comment. Okay I looked through my IRC logs and found something from June. The pywikibot.data.api.PageGenerator always adds `iiprop=metadata` which includes a lot of data in case of djvu files like in File:Alberti - De re aedificatoria, 1541.djvu <https://commons.wikimedia.org/w/api.php?action=query=File:Alberti%20-%20De%20re%20aedificatoria,%201541.djvu=imageinfo=metadata>. TASK DETAIL https://phabricator.wikimedia.org/T114931 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Mpaa ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114639: site detection of http://guildwars.wikia.com/ fails
XZise added a subscriber: XZise. XZise added a comment. Okay because I thought this site might actually block Travis somehow I just ran that test with just that URL and included a bit of debug output. This is the result <https://travis-ci.org/xZise/pywikibot-core#L513>: Test detection of MediaWiki sites. ... WARNING: Http response status 403 403 You are not allowed to access this resource The second line is the HTTP status code and the third line the actual content returned by the site. TASK DETAIL https://phabricator.wikimedia.org/T114639 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T114608: Internal link considered as an interwiki link
XZise claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T114608 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, XZise, Aklapper, pywikibot-bugs-list, Automatik ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114625: BasePage.purge should clear all local Page state
XZise added a subscriber: XZise. XZise added a comment. That issue seems similar to the fact that deleting `latest_revision_id` also doesn't properly reset everything. So maybe there should be one “clear_cache” which is called by both `latest_revision_id.deleter` and `purge`? TASK DETAIL https://phabricator.wikimedia.org/T114625 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, pywikibot-bugs-list, jayvdb, Aklapper ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114534: release 2.0rc4
XZise added a subscriber: XZise. XZise added a comment. What is the advantage of introducing new unnecessary unicode_literals liabilities? TASK DETAIL https://phabricator.wikimedia.org/T114534 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, jayvdb, Aklapper, pywikibot-bugs-list, valhallasw ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114534: release 2.0rc4
XZise added a comment. Anyway I don't like how we aren't improving the tests. It might be that issues are covered by our master branch tests, but those don't test the 2.0 branch and we might very well introduce a bug due to incorrect cherry picking. Sorry wrt to my last comment, but I have been trying cherry pick everything useful but apparently my definition is way off. And if you want to also introduce the forced `unicode_literals`, should those two patches be integrated into one patch so that our `setup.py` is never broken? TASK DETAIL https://phabricator.wikimedia.org/T114534 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, jayvdb, Aklapper, pywikibot-bugs-list, valhallasw ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Status] T114487: Pywikibot master setup.py won't install
XZise changed the task status from "Duplicate" to "Resolved". XZise assigned this task to jayvdb. TASK DETAIL https://phabricator.wikimedia.org/T114487 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb, XZise Cc: Mineo, JesseW, jayvdb, gerritbot, Avicennasis, Aklapper, pywikibot-bugs-list, Jagwar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Merged] T112728: Can't be installed via setup.py
XZise closed this task as a duplicate of T114487: Pywikibot master setup.py won't install. TASK DETAIL https://phabricator.wikimedia.org/T112728 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Jagwar, Avicennasis, gerritbot, jayvdb, JesseW, Aklapper, pywikibot-bugs-list, Mineo ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T114487: Pywikibot master setup.py won't install
XZise added subscribers: JesseW, Mineo. XZise merged a task: T112728: Can't be installed via setup.py. TASK DETAIL https://phabricator.wikimedia.org/T114487 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Mineo, JesseW, jayvdb, gerritbot, Avicennasis, Aklapper, pywikibot-bugs-list, Jagwar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Blocker] T89589: Usage of unicode_literals from __future__ package
XZise changed the status of blocking task T114487: Pywikibot master setup.py won't install from "Duplicate" to "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T89589 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Xqt, Rubin16, gerritbot, Ricordisamoa, jayvdb, pywikibot-bugs-list, Aklapper, XZise ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114608: Internal link considered as an interwiki link
XZise added a subscriber: XZise. XZise added a comment. Okay I guess it happens because the prefix `fr` is defined via the interwiki map and thus considered an interwiki link. Now I guess the correct fix would be to compare the sites (aka if `fr` redirects to itself) and then don't consider it an interwiki link instead of using the language code. TASK DETAIL https://phabricator.wikimedia.org/T114608 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, Automatik ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114464: Pywikibot 2.0 should be Python 2.7, 3.3 and 3.4 only
XZise added a comment. But at the moment it's mostly dependencies afaik. In my patches it's not like that we are unable to improve pywikibot without breaking 2.6 support. The only exception might be the argparse patch but there is a backport specifically for Python 2.6, so it's not like that dependency will drop support for Python 2.6. TASK DETAIL https://phabricator.wikimedia.org/T114464 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T66958: Python 2 Page representation (repr) returns non-ASCII bytes
XZise added a comment. The mentioned django bug report does not mention https://www.python.org/dev/peps/pep-3138/#motivation: > - Convert other non-printable characters(0x00-0x1f, 0x7f) and non-ASCII > characters (>= 0x80) to '\xXX'. > > […] > > For Unicode strings, the following additional conversions are done. > - Convert leading surrogate pair characters without trailing character > (0xd800-0xdbff, but not followed by 0xdc00-0xdfff) to '\u'. > - Convert 16-bit characters (>= 0x100) to '\u'. > - Convert 21-bit characters (>= 0x1) and surrogate pair characters to > '\U00xx'. > > […] > > This algorithm converts any string to printable ASCII, and repr() is used > as a handy and safe way to print strings for debugging or for logging. So at least when Python 3 was implemented the `repr()` function defined as as returning ASCII. But who knows if they meant `bytes` or `ASCII compatible str`. So in the end it might be legitimate to return unicode but then only containing ASCII characters (and then Python would automatically convert one into the other without a problem). TASK DETAIL https://phabricator.wikimedia.org/T66958 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, valhallasw, gerritbot, Dalba, Xqt, jayvdb, pywikibot-bugs-list, Ladsgroup ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T72976: codec encoding problems on win32
XZise closed this task as "Resolved". XZise claimed this task. XZise added a comment. Afaik this has been solved with https://phabricator.wikimedia.org/rPWBC38589d3057847b9650b514e186b4bb3c66fad841. And if we do want to solve it properly (see https://phabricator.wikimedia.org/T66958) this problem cannot appear anyway. TASK DETAIL https://phabricator.wikimedia.org/T72976 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Ricordisamoa, Aklapper, XZise, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T72976: codec encoding problems on win32
XZise added a commit: rPWBC38589d305784: [FIX] Page: Use repr-like if it can't be encoded. TASK DETAIL https://phabricator.wikimedia.org/T72976 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Ricordisamoa, Aklapper, XZise, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Unblock] T60053: [Tracking] Pywikibot Python 3 compatibility
XZise closed blocking task T72976: codec encoding problems on win32 as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T60053 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, Xqt, jayvdb, valhallasw, Ricordisamoa, pywikibot-bugs-list, Ladsgroup, XZise, Dalba ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T114464: Pywikibot 2.0 should be Python 2.7, 3.3 and 3.4 only
XZise added a subscriber: XZise. TASK DETAIL https://phabricator.wikimedia.org/T114464 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Unblock] T106224: Python 3.5/3.6 compatibility
XZise closed blocking task T106209: inspect.getargspec is deprecated in 3.5 and going to be removed in Python 3.6 as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T106224 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, Ricordisamoa, Aklapper, XZise, jayvdb, pywikibot-bugs-list, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T106209: inspect.getargspec is deprecated in 3.5 and going to be removed in Python 3.6
XZise closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T106209 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, Ricordisamoa, gerritbot, XZise, pywikibot-bugs-list, Aklapper ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T114478: CRITICAL: Closing network session.
XZise added subscribers: jayvdb, XZise. XZise added a comment. This looks similar to T103080: Link should recognise {{ns:Project}} in text <https://phabricator.wikimedia.org/T103080> (@jayvdb}. TASK DETAIL https://phabricator.wikimedia.org/T114478 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Altostratus, XZise Cc: XZise, jayvdb, Aklapper, pywikibot-bugs-list, Altostratus ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T106224: Python 3.5/3.6 compatibility
XZise added a comment. Afaik it supports 3.5 even without fixing `getargspec`. It'll just report deprecation warnings (which are by default disabled). TASK DETAIL https://phabricator.wikimedia.org/T106224 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, Ricordisamoa, Aklapper, XZise, jayvdb, pywikibot-bugs-list, Krenair ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T109119: Check the style of the commit message
XZise added a comment. Please note that my paste hasn't been implemented and I haven't got around to port my code to the implemented variant. And checking if a commit hash has been merged has the problem that without SSH (@hashar do you know if it's available for the script?) we can only check if a hash has been merged, but it might be that the hash is for another repository if it's not merged. With SSH we could query gerrit to check if it's a future patch. Also what do you want with “Conflicts”? Suggest more checks (certainly possible) or are you concerned that the current parser doesn't allow it (as it doesn't allow any other `Foo: Bar` fields in the last paragraph)? In the latter case it shouldn't be a problem as the “Conflicts” section is separated by newlines. TASK DETAIL https://phabricator.wikimedia.org/T109119 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, Jdforrester-WMF, JanZerebecki, Legoktm, bd808, gerritbot, hashar, greg, Aklapper, pywikibot-bugs-list, XZise ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Merged] T72976: codec encoding problems on win32
XZise closed this task as a duplicate of T107428: UnicodeEncodeError in Page.__repr__(). TASK DETAIL https://phabricator.wikimedia.org/T72976 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Ricordisamoa, Aklapper, XZise, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T107428: UnicodeEncodeError in Page.__repr__()
XZise closed this task as "Resolved". XZise claimed this task. XZise added a comment. I merged https://phabricator.wikimedia.org/T72976 into this one as the patch fixing both bugs primarily mentions this bug. TASK DETAIL https://phabricator.wikimedia.org/T107428 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Ricordisamoa, gerritbot, XZise, jayvdb, Aklapper, Xqt, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T107428: UnicodeEncodeError in Page.__repr__()
XZise added a subscriber: Ricordisamoa. XZise merged a task: T72976: codec encoding problems on win32. TASK DETAIL https://phabricator.wikimedia.org/T107428 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Ricordisamoa, gerritbot, XZise, jayvdb, Aklapper, Xqt, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114420: Invalid version number (ValueError exception) for newest pypi version
XZise added a comment. Okay just checked, the pypi version hasn't been updated though. TASK DETAIL https://phabricator.wikimedia.org/T114420 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: pywikibot-bugs-list, XZise, Avicennasis, Aklapper, Jagwar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Up For Grabs] T114484: pywikibot==2.0rc1.post2 fails with ValueError: Invalid version number "1.27.0-wmf.1"
XZise placed this task up for grabs. XZise set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T114484 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, pywikibot-bugs-list, Aklapper, JeanFred, gerritbot, hashar, intracer ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Retitled] T114420: Invalid version number (ValueError exception) for newest pypi version
XZise changed the title from "Invalid version number (ValueError exception)" to "Invalid version number (ValueError exception) for newest pypi version". XZise reopened this task as "Open". XZise raised the priority of this task from "Normal" to "Unbreak Now!". XZise added a project: pywikibot-core. Herald added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T114420 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: pywikibot-bugs-list, XZise, Avicennasis, Aklapper, Jagwar, jayvdb ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T114420: Invalid version number (ValueError exception) for newest pypi version
XZise added a comment. Ehm you didn't link https://phabricator.wikimedia.org/rPWBC1ff1cec7a33df85ed0cd957bf01e3f744b7f0310 but https://phabricator.wikimedia.org/rPWBC44898b75e9468bf245130ab6ccbda7607f03f923. So with the 2.0 branch you are fine? But yes could you please open a separate bug for this thanks TASK DETAIL https://phabricator.wikimedia.org/T114420 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: hashar, gerritbot, JeanFred, pywikibot-bugs-list, XZise, Avicennasis, Aklapper, Jagwar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T109119: Check the style of the commit message
XZise added a comment. In https://phabricator.wikimedia.org/T109119#1697346, @bd808 wrote: > In https://phabricator.wikimedia.org/T109119#1696489, @XZise wrote: > > > And checking if a commit hash has been merged has the problem that without > > SSH (@hashar do you know if it's available for the script?) we can only > > check if a hash has been merged, but it might be that the hash is for > > another repository if it's not merged. With SSH we could query gerrit to > > check if it's a future patch. > > > Let's try hard not to tie this to Gerrit internals. I think that migration to > Differential will happen sooner than many people imagine. Well that all depends on the implementation, doesn't it? I already have written a script to work with Gerrit so it's not much work to me. And then it could be “generic” and just be a function which returns whether a commit/changeid/D… reference hasn't been merged. TASK DETAIL https://phabricator.wikimedia.org/T109119 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, Jdforrester-WMF, JanZerebecki, Legoktm, bd808, gerritbot, hashar, greg, Aklapper, pywikibot-bugs-list, XZise ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T109119: Check the style of the commit message
XZise added a comment. In https://phabricator.wikimedia.org/T109119#1697336, @bd808 wrote: > In https://phabricator.wikimedia.org/T109119#1696169, @jayvdb wrote: > > > One of the easy checks in the original task description is not yet > > implemented: > > > > - There should be no I… references but instead always git commit hashes. > > > So I should not be able to make commit messages to refer to uncommitted > change sets (or a series of related changes cherry-picked to multiple > branches)? Is this desired so that commit history information is self > contained? I personally prefer that self containment and don't really see when a patch needs to reference a future patch. That future patch may get abandoned to the feature from that patch may get implemented on another patch. Afaik patches should only reference in the past. And in which case should a patch mention that it's going to be cherry picked in another branch? The same applies to the above, what happens if that cherry pick does not happen? And in any case that cherry pick references to the original patch it comes from. And what happens if the patch gets cherry picked into other branches and are thus not present in the original patch's message. Mentioning git commit hashes has the big advantage that you don't have to resolve them as I mention in the original post. In https://phabricator.wikimedia.org/T109119#1697336, @bd808 wrote: > I assume you would intend it to extend to D... references when we finally get > switched to Differential instead of Gerrit. I'm not sure how Differential actually works but alone for the reason I mention in the original post, that you need to resolve that manually or need Differential, it should apply to that too. Please note that, as John mentioned, the current implementation does not pose that limit, so even if it would be enabled it wouldn't be necessary. TASK DETAIL https://phabricator.wikimedia.org/T109119 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, Jdforrester-WMF, JanZerebecki, Legoktm, bd808, gerritbot, hashar, greg, Aklapper, pywikibot-bugs-list, XZise ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T114484: pywikibot==2.0rc1.post2 fails with ValueError: Invalid version number "1.27.0-wmf.1"
XZise added a subscriber: XZise. XZise added a comment. Ugh it should've been updated to 2.0rc3 which has that issue fixed, but it seems nobody has uploaded it to pypi. TASK DETAIL https://phabricator.wikimedia.org/T114484 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JeanFred, XZise Cc: XZise, pywikibot-bugs-list, Aklapper, JeanFred, gerritbot, hashar, intracer ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T114420: Invalid version number (ValueError exception) for newest pypi version
XZise added a comment. Off topic: As a tip for phabricator, you don't need to actually link tasks but can just write it's ID (https://phabricator.wikimedia.org/T114487) and the same happens (as you saw in my comment) with the git commit hash (if it contains at least 7 digits). TASK DETAIL https://phabricator.wikimedia.org/T114420 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: hashar, gerritbot, JeanFred, pywikibot-bugs-list, XZise, Avicennasis, Aklapper, Jagwar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T112340: Page.isEmpty
XZise added a subscriber: XZise. XZise added a comment. In https://phabricator.wikimedia.org/T112340#1677194, @01tonythomas wrote: > Hello @Rajdeep594! You neednt have the task assigned to you to start working > on it. If you feel like, you can click on 'Edit Task' and add your name to > 'Assinged To' field. Alternatively if you comment below you can change the “Action” from “Comment” to “Reassign/Claim” and you can set whoever claims it (by default it's you). And if someone is committed to work on a bug it's always better to claim it of course so that others see that it's being handled. Now I don't know what your intentions were, because of course you can still work on it without claiming it (as you said). TASK DETAIL https://phabricator.wikimedia.org/T112340 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Rajdeep594, XZise Cc: XZise, 01tonythomas, Rajdeep594, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T114189: Semantic Versioning format for WMF deploy branches breaks Pywikibot
XZise edited the task description. XZise set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T114189 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis
XZise added a comment. Is #WMF-deploy-2015-10-07_(1.27.0-wmf.2) actually correct, because this change should be only deployed on the beta cluster wikis? TASK DETAIL https://phabricator.wikimedia.org/T112006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Krenair, XZise Cc: demon, greg, Luke081515, gerritbot, Krenair, jayvdb, Aklapper, pywikibot-bugs-list, XZise, scfc, hashar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113892: templateWithParams() and HTML comments
XZise added a subscriber: XZise. XZise added a comment. Please note that this broke `templatesWithParams` as it doesn't detect the `Temp` template somewhere. TASK DETAIL https://phabricator.wikimedia.org/T113892 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, Shloub, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T113892: templateWithParams() and HTML comments
XZise edited the task description. XZise set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T113892 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, Shloub, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113892: templateWithParams() and HTML comments
XZise added a comment. Interestingly I have `mwparserfromhell` installed and it use it and it does return the comment inside (so it would need to remove disabled parts too). TASK DETAIL https://phabricator.wikimedia.org/T113892 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, Mpaa, XZise, Aklapper, Shloub, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T113892: templateWithParams() and HTML comments
XZise claimed this task. XZise added a comment. At least for non-mwpfh users this issue could be solved easily. For mwpfh users this is still a problem as it'll break backwards compatibility when we remove disabled parts by default too in `templatesWithParams`. We might only need to remove them for the template name itself and the indexed parameters. TASK DETAIL https://phabricator.wikimedia.org/T113892 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, Mpaa, XZise, Aklapper, Shloub, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T113892: templateWithParams() and HTML comments
XZise added a comment. My point was that maybe the False is not wrong as it should've been called earlier in the code block I quoted. If you were to change the False into True you wouldn't be able to switch it off. So you either need there a more complex logic… or actually look at the code before and fix it. To me it looks like it should be the inverse of `use_mwparserfromhell` if it's None. Anyway it was added in https://phabricator.wikimedia.org/rPWBC13cd73de7ac9244f67bc33a27e7278b9d48abbd3 but I can't find any comment about that though. And the reason it's disabled by default when using mwpfh is that it wasn't doing that before. TASK DETAIL https://phabricator.wikimedia.org/T113892 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: jayvdb, Mpaa, XZise, Aklapper, Shloub, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Unblock] T71980: patrol.py depends on mwlib.uparser not available on wmflabs
XZise closed blocking task T95142: patrol.py: implement alternative to mwlib as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T71980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, Billinghurst, valhallasw, scfc, jayvdb, Ricordisamoa, pywikibot-bugs-list, XZise, yuvipanda, Anshoe, droid ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T95142: patrol.py: implement alternative to mwlib
XZise closed this task as "Resolved". XZise added a comment. I close it for now but would be interested in the whitelists of others. I only compared it with the result from the example mentioned in the doc string. TASK DETAIL https://phabricator.wikimedia.org/T95142 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Krenair, gerritbot, pywikibot-bugs-list, XZise, Ricordisamoa, jayvdb, Aklapper ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Unblock] T75704: Python 3 library support
XZise closed blocking task T95142: patrol.py: implement alternative to mwlib as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T75704 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, gerritbot, XZise, jayvdb, Ricordisamoa, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T113796: ImportError: cannot import name UnicodeType
XZise added a comment. Additionally I'm interested in what happened before that? We had similar issues introduced in https://phabricator.wikimedia.org/rPWBC7634a0515714c6508fa4a2ab443b124af9ed4473 which were fixed in https://phabricator.wikimedia.org/rPWBCba891785caed9bc9ee876a717b5b41d46a556f51 (see https://phabricator.wikimedia.org/T113161). But it could only happen if there is no `user-config.py` file and it tries to open the wizard to create one. But that shouldn't have the root of the traceback in the `pwb.py` script. TASK DETAIL https://phabricator.wikimedia.org/T113796 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, JAnD, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Closed] T113796: ImportError: cannot import name UnicodeType
XZise closed this task as "Invalid". XZise claimed this task. XZise added a comment. Okay in this case it looks like SVN screwed this up. TASK DETAIL https://phabricator.wikimedia.org/T113796 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, JAnD, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T113796: ImportError: cannot import name UnicodeType
XZise added a comment. That is weird. `UnicodeType` was added in https://phabricator.wikimedia.org/rPWBC7b3f10e72b3fca034d17a4d0c74c13ca445ba4d5 and I can import `pywikibot` or the `interwiki` script without a problem. Could it be that it's only partially up to date? Is there `UnicodeType` in the `pywikibot/tools/__init__.py`? TASK DETAIL https://phabricator.wikimedia.org/T113796 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, JAnD, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T113796: ImportError: cannot import name UnicodeType
XZise added projects: pywikibot-core, Pywikibot-interwiki.py. XZise added a subscriber: XZise. TASK DETAIL https://phabricator.wikimedia.org/T113796 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, JAnD, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Claimed] T108061: Python 2.6 using cryptography package 0.8.2
XZise claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T108061 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, VcamX, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113517: Search test failed
XZise added a comment. I can verify that our tests now pass that again: - Working: https://travis-ci.org/wikimedia/pywikibot-core/jobs/81935467#L696 - Same place from the log in the OP: https://travis-ci.org/xZise/pywikibot-core/jobs/81838559#L598 TASK DETAIL https://phabricator.wikimedia.org/T113517 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: EBernhardson, XZise Cc: hashar, gerritbot, EBernhardson, greg, Luke081515, pywikibot-bugs-list, Aklapper, XZise, Deskana, scfc, jeremyb ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis
XZise added a comment. Following the link I posted above I don't get “bar” anymore (good) but I still get invalid wikis. So I just written a short script: - `http://aa.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://als.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://ar.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://bat-smg.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://be-x-old.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://ca.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://de.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://eml.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://en.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://eo.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://es.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://fa.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://fiu-vro.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://he.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://hi.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://ja.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://ko.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://no.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://roa-rup.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://ru.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://simple.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://sq.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://uk.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently - `http://zh-classical.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://zh-min-nan.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://zh-yue.wikipedia.beta.wmflabs.org/`: HTTP/1.1 404 Not Found - `http://zh.wikipedia.beta.wmflabs.org/`: HTTP/1.1 301 Moved Permanently Afaik all 404 shouldn't be there. And in case you are interested in the script: for url in `curl "http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query=siteinfo=interwikimap=json; | ./jq '.query.interwikimap | map(select(has("language"))) | [.[].url[:-7]] | unique | .[]' --raw-output`; do echo "* \`$url\`: " `curl -I "$url" | head -1` ; done > out TASK DETAIL https://phabricator.wikimedia.org/T112006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Krenair, XZise Cc: demon, greg, Luke081515, gerritbot, Krenair, jayvdb, Aklapper, pywikibot-bugs-list, XZise, scfc, hashar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113461: pywikibot.Link should support interwiki prefix be-x-old
XZise added a subscriber: XZise. XZise added a comment. The `Link.parse` method could in theory check the family's `interwiki_replacements` and replace them before getting the actual site associated with this link. TASK DETAIL https://phabricator.wikimedia.org/T113461 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, jayvdb, Ladsgroup, zhuyifei1999 ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T113461: pywikibot.Link should support interwiki prefix be-x-old
XZise added a comment. Ah dang it that isn't actually the problem… the problem is that we don't parse `be-x-old.wikipedia.org` into the new site. When you use Python 3 you actually see the original traceback and it's actually written in the exception text: `Unknown URL 'https://be-x-old.wikipedia.org/wiki/$1'`. The actual bug is that there is no hostname provided for obsolete sites. So it might be a duplicate of T74674: Unable to communicate with obsolete / non-existing wikis <https://phabricator.wikimedia.org/T74674>. TASK DETAIL https://phabricator.wikimedia.org/T113461 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, pywikibot-bugs-list, jayvdb, Ladsgroup, zhuyifei1999 ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113461: pywikibot.Link should support interwiki prefix be-x-old
XZise added a comment. Because it compares the article paths and to do that it needs to query the wiki and that is not possible (hence https://phabricator.wikimedia.org/T74674, because the hostname is not available). If that is possible, it might be possible to `Family.from_url` to work also for obsolete wikis. TASK DETAIL https://phabricator.wikimedia.org/T113461 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Krenair, XZise, Aklapper, pywikibot-bugs-list, jayvdb, Ladsgroup, zhuyifei1999 ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis
XZise added a comment. How long does it take until that comes live so that we can verify that it worked? At the moment the English Wikipedia still advertises `bar` as a langlink to a non-existing wiki: http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query=siteinfo=interwikimap TASK DETAIL https://phabricator.wikimedia.org/T112006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Krenair, XZise Cc: demon, greg, Luke081515, gerritbot, Krenair, jayvdb, Aklapper, pywikibot-bugs-list, XZise, scfc, hashar ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs