[Pywikipedia-bugs] [Maniphest] [Commented On] T111602: Install python-enum34 on toollabs
gerritbot added a comment. Change 236420 merged by Yuvipanda: toollabs: add python-enum34 https://gerrit.wikimedia.org/r/236420 TASK DETAIL https://phabricator.wikimedia.org/T111602 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, pywikibot-bugs-list, jayvdb, valhallasw, Aklapper, yuvipanda, Gryllida, scfc, coren ___ 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
Tgr added a comment. @jayvdb is there a way to track this error? I looked at the travis history, but builds seem to break all over the place and mostly for unrelated reasons (or not obviously related, anyway - pretty much any error can be related to memcached failure), so I couldn't get a good picture of how frequent this issue is. TASK DETAIL https://phabricator.wikimedia.org/T109173 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tgr Cc: 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] [Commented On] T111602: Install python-enum34 on toollabs
yuvipanda added a subscriber: yuvipanda. yuvipanda added a comment. I don't think we should maintain any new python packages that aren't already being maintained upstream for that version of ubuntu. Why does it need to be in precise? TASK DETAIL https://phabricator.wikimedia.org/T111602 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: yuvipanda Cc: yuvipanda, gerritbot, pywikibot-bugs-list, jayvdb, valhallasw, Aklapper, Gryllida, scfc, coren ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T110559: Make sure that Pywikibot still works with new api data output format
jayvdb added a comment. The fix for https://phabricator.wikimedia.org/T110668 doesnt appear to solve the problem of dict->list for `entities`. The 'after' in https://www.wikidata.org/wiki/User:Addshore/API_Break_September_2015#Sample_JSON_changes doesnt show `entities` has changed to a list. :/ TASK DETAIL https://phabricator.wikimedia.org/T110559 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: jayvdb, Ricordisamoa, XZise, Addshore, Aklapper, pywikibot-bugs-list, Multichill ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T111479: Timeout in testApiMethods calling mediawiki_messages
Anomie moved this task to Non-core-API stuff on the MediaWiki-API workboard. TASK DETAIL https://phabricator.wikimedia.org/T111479 WORKBOARD https://phabricator.wikimedia.org/project/board/200/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Anomie Cc: Anomie, ori, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, GWicke, GPHemsley, Darkdadaah, Krenair, Legoktm ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Up For Grabs] T111692: Robot problem in azbwiki
Mjbmr placed this task up for grabs. Mjbmr added a subscriber: Mjbmr. TASK DETAIL https://phabricator.wikimedia.org/T111692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mjbmr Cc: Mjbmr, jayvdb, Krenair, pywikibot-bugs-list, Aklapper, Ebrahimi-amir ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T111692: Robot problem in azbwiki
Mjbmr added a subscriber: jayvdb. Mjbmr added a project: pywikibot-core. Mjbmr set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T111692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ebrahimi-amir, Mjbmr Cc: jayvdb, Krenair, pywikibot-bugs-list, Aklapper, Ebrahimi-amir ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T111479: Timeout in testApiMethods calling mediawiki_messages
Anomie added subscribers: ori, Anomie. Anomie added a project: Performance. Anomie added a comment. After digging deep into this issue, the slowness for Arabic-language wikis compared to other languages is because LanguageAr::normalize() is relatively slow, multiplied by almost 10 calls. Digging a little deeper, on PHP 5.5.9-1ubuntu4.11 using FastStringSearch instead of strtr for ReplacementArray is a fair bit faster for the replacement array from serialized/normalize-ar.ser. I can't compare the speeds in HHVM due to https://phabricator.wikimedia.org/T101418. https://phabricator.wikimedia.org/rMWbdb17a79a4bc8ed8bb65936d96e423d272e91583 landing shortly before this task was opened is almost certainly the immediate cause. @ori: This sounds like something you'd want to look into. My most-reduced test cases are: $data = unserialize( file_get_contents( "/srv/mediawiki/php-1.26wmf21/serialized/normalize-ar.ser" ) ); $fss = fss_prep_replace( $data ); for ( $i = 0; $i < 1000; $i++ ) { fss_exec_replace( $fss, "foo" ); } versus $data = unserialize( file_get_contents( "/srv/mediawiki/php-1.26wmf21/serialized/normalize-ar.ser" ) ); for ( $i = 0; $i < 1000; $i++ ) { strtr( "foo", $data ); } The former takes about 0.034 seconds while the latter takes 0.422 seconds when run with `time php5` on mw1017. Increasing the number of iterations to 10 (which is about where the API query here is at), FSS goes to 0.074s while strtr jumps to over 20s. HHVM's behavior with strtr is in line with Zend PHP's. The advantage for FSS seems mainly to be due to the ability to do the `fss_prep_replace()` once where strtr (presumably) has to do the equivalent for every iteration. Putting that inside the loop brings the FSS version up to around 18s for 10 iterations. TASK DETAIL https://phabricator.wikimedia.org/T111479 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Anomie Cc: Anomie, ori, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, GWicke, GPHemsley, Darkdadaah, Krenair, Legoktm ___ 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 subscriber: XZise. XZise added a comment. We also had someone yesterday on the IRC trying to use 0.8.2 and they got another issue in `pywikibot.comms.http.get_authentication` because that version doesn't support `requests.utils.urlparse`. I had checked recently which version introduced it, but unfortunately I can't remember which version that was and for which patch I was checking that out (otherwise I might've commented there the result). 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] [Commented On] T111692: Robot problem in azbwiki
XZise added a subscriber: XZise. XZise added a comment. Could you please be more specific? Not everyone (like me) understands South Azerbaijani to understand what went wrong. Now when looking at https://azb.wikipedia.org/wiki/%D8%A8%D8%A4%D9%84%D9%85%D9%87:%DA%AF%D8%A6%D8%B1%D9%85%DB%8C_%D8%B4%D9%87%D8%B1%DB%8C%D8%B3%D8%AA%D8%A7%D9%86%DB%8C%E2%80%8C%D9%86%DB%8C%D9%86_%DA%A9%D9%86%D8%AF%D9%84%D8%B1%DB%8C it seems like it did also move non-English names: - اونبیربهیلی - اینی - خان کندی، گئرمی - خسبک - شاهمار بهیلی - نوروالله بهیلی And at least the first page was edited by the bot: https://azb.wikipedia.org/w/index.php?title=%D8%A7%D9%88%D9%86%E2%80%8C%D8%A8%DB%8C%D8%B1%D8%A8%D9%87%E2%80%8C%DB%8C%E2%80%8C%D9%84%DB%8C=revision=45678=7134 TASK DETAIL https://phabricator.wikimedia.org/T111692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Mjbmr, jayvdb, Krenair, pywikibot-bugs-list, Aklapper, Ebrahimi-amir ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T111692: Robot problem in azbwiki
XZise added a comment. Okay I think it's inside `Page.change_category()` (or inside a method called there). And I've manually checked a few points and `getCategoryLinks` seems to work fine as well as `old_cat_pos = cats.index(oldCat)` so in the `cats` list should be working correctly. Maybe I can basically step through the method later more thoroughly. TASK DETAIL https://phabricator.wikimedia.org/T111692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Mjbmr, jayvdb, Krenair, pywikibot-bugs-list, Aklapper, Ebrahimi-amir ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Raised Priority] T110559: Make sure that Pywikibot still works with new api data output format
jayvdb raised the priority of this task from "Normal" to "Unbreak Now!". TASK DETAIL https://phabricator.wikimedia.org/T110559 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, jayvdb, Ricordisamoa, XZise, Addshore, Aklapper, pywikibot-bugs-list, Multichill ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T110559: Make sure that Pywikibot still works with new api data output format
jayvdb added a project: Wikidata. TASK DETAIL https://phabricator.wikimedia.org/T110559 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, jayvdb, Ricordisamoa, XZise, Addshore, Aklapper, pywikibot-bugs-list, Multichill, Wikidata-bugs, aude ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T109213: cosmetic_Changes replaces {{PAGENAME}} in with "API"
JAnD added a comment. not only in https://cs.wiktionary.org/w/index.php?title=Kategorie:Španělská_propria=650958=649485 maybe related with https://phabricator.wikimedia.org/T65811, https://phabricator.wikimedia.org/T65600 ? TASK DETAIL https://phabricator.wikimedia.org/T109213 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Danny_B, pywikibot-bugs-list, JAnD, Aklapper ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Raised Priority] T109213: cosmetic_Changes replaces {{PAGENAME}} in with "API"
JAnD raised the priority of this task from "Low" to "Normal". TASK DETAIL https://phabricator.wikimedia.org/T109213 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Danny_B, pywikibot-bugs-list, JAnD, Aklapper ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T111896: Deprecated DataSite.get_info and DataSite.get_urls fail
jayvdb added a comment. All of these methods fail in the current Wikibase because `get_item` uses lowercase `q`, and expects it to exist as a key. It may have previously worked, and still be needed for older installations of Wikibase. TASK DETAIL https://phabricator.wikimedia.org/T111896 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Aklapper, pywikibot-bugs-list, jayvdb, Ricordisamoa ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T111896: Deprecated DataSite.get_info and DataSite.get_urls fail
jayvdb created this task. jayvdb claimed this task. jayvdb added a subscriber: jayvdb. jayvdb added projects: Pywikibot-Wikidata, pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION b9bf65db extended aa0ebedc to add `DataSite` methods `get_info`, `get_aliases` and `get_urls`. It added support by using props `info`, `aliases` and `sitelinks/urls` respective, however `_get_propertyitem` includes the following assertion ``` assert props in wbdata, \ "API wbgetitems response lacks %s key" % props ``` This assertion fails for `info` and `sitelinks/urls` 1. the key `info` does not exist in the data. 2. the key in the data is `sitelinks`. Was the key ever `sitelinks/urls`? It appears they were been broken since inception, and should be removed. TASK DETAIL https://phabricator.wikimedia.org/T111896 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Aklapper, pywikibot-bugs-list, jayvdb, Ricordisamoa ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs