[Pywikipedia-bugs] [Maniphest] [Commented On] T109173: "Nonce already used" regularly occurring on beta cluster

2015-09-09 Thread jayvdb
jayvdb added a comment. @Tgr, I am not sure what we can or should do to help, but if you can give us some suggestions we might be able to help. It is occurring all over the place, at any test, before or after the first login. To give you some idea of frequency, each test job performs about 40

[Pywikipedia-bugs] [Maniphest] [Edited] T109173: "Nonce already used" regularly occurring on beta cluster

2015-09-09 Thread jayvdb
jayvdb edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T109173 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Tgr, greg, Aklapper, Luke081515, pywikibot-bugs-list, jayvdb, scfc, hashar

[Pywikipedia-bugs] [Maniphest] [Commented On] T111692: Robot problem in azbwiki

2015-09-09 Thread Ebrahimi-amir
Ebrahimi-amir added a comment. I use compat. In https://phabricator.wikimedia.org/T111692#1619919, @jayvdb wrote: > In https://phabricator.wikimedia.org/T111692#1619906, @Ebrahimi-amir wrote: > > > I got to solve the problem for myself robots. I added > > "self.namespaces[14]['azb'] =

[Pywikipedia-bugs] [Maniphest] [Commented On] T111692: Robot problem in azbwiki

2015-09-09 Thread jayvdb
jayvdb added a comment. See https://www.mediawiki.org/wiki/Manual:Pywikibot/Compat_deprecation TASK DETAIL https://phabricator.wikimedia.org/T111692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: XZise, Mjbmr, jayvdb, Krenair,

[Pywikipedia-bugs] [Maniphest] [Commented On] T111692: Robot problem in azbwiki

2015-09-09 Thread jayvdb
jayvdb added a comment. Please re-try using `core`. `compat` is not actively maintained. Most developers put their time into improving `core`. So, if you want this change to the `wikipedia_family.py` file in `compat`, you (or someone else) can submit a patch to Gerrit

[Pywikipedia-bugs] [Maniphest] [Commented On] T111896: Deprecated DataSite.get_info and DataSite.get_urls fail

2015-09-09 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 237032 had a related patch set uploaded (by John Vandenberg): Fix and test old DataSite.get_* methods https://gerrit.wikimedia.org/r/237032 TASK DETAIL https://phabricator.wikimedia.org/T111896 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T111896: Deprecated DataSite.get_info and DataSite.get_urls fail

2015-09-09 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T111896 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb, gerritbot Cc: gerritbot, Aklapper, pywikibot-bugs-list, jayvdb, Ricordisamoa

[Pywikipedia-bugs] [Maniphest] [Commented On] T110559: Make sure that Pywikibot still works with new api data output format

2015-09-09 Thread aude
aude added a subscriber: aude. aude added a comment. this might be a bug in wikibase and not intentional. need to poke addshore and see if this is something we can fix quickly TASK DETAIL https://phabricator.wikimedia.org/T110559 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T110559: Make sure that Pywikibot still works with new api data output format

2015-09-09 Thread Addshore
Addshore added a comment. This will be fixed for the release, the keys will be there. Our API output does have good test coverage, just apparently not of these keys... As a follow up I will add a JSON integration test for getentities TASK DETAIL https://phabricator.wikimedia.org/T110559

[Pywikipedia-bugs] [Maniphest] [Triaged] T111692: Robot problem in azbwiki

2015-09-09 Thread jayvdb
jayvdb triaged this task as "Lowest" priority. jayvdb edited projects, added pywikibot-compat; removed pywikibot-core. TASK DETAIL https://phabricator.wikimedia.org/T111692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: XZise, Mjbmr,

[Pywikipedia-bugs] [Maniphest] [Commented On] T110559: Make sure that Pywikibot still works with new api data output format

2015-09-09 Thread Addshore
Addshore added a comment. Related change: https://gerrit.wikimedia.org/r/237048 TASK DETAIL https://phabricator.wikimedia.org/T110559 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: aude, gerritbot, jayvdb, Ricordisamoa, XZise,

[Pywikipedia-bugs] [Maniphest] [Commented On] T111692: Robot problem in azbwiki

2015-09-09 Thread Ebrahimi-amir
Ebrahimi-amir added a comment. Be sure to apply the settings in these http://tools.wmflabs.org/pywikibot/ files. TASK DETAIL https://phabricator.wikimedia.org/T111692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ebrahimi-amir Cc: XZise, Mjbmr,

[Pywikipedia-bugs] [Maniphest] [Edited] T101214: Decommission compat

2015-09-09 Thread jayvdb
jayvdb edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T101214 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Matanya, Liuxinyu970226, Mpaa, Ricordisamoa, JAnD, XZise, Xqt, Legoktm, valhallasw, Ladsgroup,

[Pywikipedia-bugs] [Maniphest] [Updated] T110856: Convert all scripts to TWN i18n

2015-09-09 Thread jayvdb
jayvdb removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T110856 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Avicennasis, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, Ricordisamoa

[Pywikipedia-bugs] [Maniphest] [Claimed] T108820: data.api.Request.submit: log submitted request

2015-09-09 Thread XZise
XZise claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T108820 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, XZise, VcamX, jayvdb, Aklapper, pywikibot-bugs-list, valhallasw, 01tonythomas

[Pywikipedia-bugs] [Maniphest] [Commented On] T108820: data.api.Request.submit: log submitted request

2015-09-09 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 237090 had a related patch set uploaded (by XZise): [FEAT] Request: Log the original request https://gerrit.wikimedia.org/r/237090 TASK DETAIL https://phabricator.wikimedia.org/T108820 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T111896: Deprecated DataSite.get_info and DataSite.get_urls fail

2015-09-09 Thread gerritbot
gerritbot added a comment. Change 237032 merged by jenkins-bot: Fix and test old DataSite.get_* methods https://gerrit.wikimedia.org/r/237032 TASK DETAIL https://phabricator.wikimedia.org/T111896 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis

2015-09-09 Thread XZise
XZise added a comment. Just one note: There is not always a beta equivalent (e.g. there is no http://bar.wikipedia.beta.wmflabs.org/ ). So also suggesting to add a beta family to the repo would mean that languages like `bar` actually map to the production wikis (and `from_url` must except

[Pywikipedia-bugs] [Maniphest] [Commented On] T109173: "Nonce already used" regularly occurring on beta cluster

2015-09-09 Thread Tgr
Tgr added a comment. Looks like the memcached graphite counts are a good way of tracking this after all (nutcracker restart was around 18:30 UTC): F2563030: beta memcached errors.png TASK DETAIL https://phabricator.wikimedia.org/T109173 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T108820: data.api.Request.submit: log submitted request

2015-09-09 Thread gerritbot
gerritbot added a comment. Change 237090 merged by jenkins-bot: [FIX] Request: Log the original request https://gerrit.wikimedia.org/r/237090 TASK DETAIL https://phabricator.wikimedia.org/T108820 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Updated] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis

2015-09-09 Thread jayvdb
jayvdb added a comment. In https://phabricator.wikimedia.org/T112006#1622713, @XZise wrote: > Just one note: There is not always a beta equivalent (e.g. there is no > http://bar.wikipedia.beta.wmflabs.org/ ). So also suggesting to add a beta > family to the repo would mean that languages like

[Pywikipedia-bugs] [Maniphest] [Closed] T109173: "Nonce already used" regularly occurring on beta cluster

2015-09-09 Thread jayvdb
jayvdb closed this task as "Resolved". jayvdb claimed this task. jayvdb added a comment. I've seen four builds in a row without problems, so it looks fixed. Will re-open if we encounter it again. Thanks! TASK DETAIL https://phabricator.wikimedia.org/T109173 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Reassigned] T109173: "Nonce already used" regularly occurring on beta cluster

2015-09-09 Thread jayvdb
jayvdb reassigned this task from jayvdb to bd808. TASK DETAIL https://phabricator.wikimedia.org/T109173 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: bd808, jayvdb Cc: bd808, Tgr, greg, Aklapper, Luke081515, pywikibot-bugs-list, jayvdb, scfc,

[Pywikipedia-bugs] [Maniphest] [Closed] T108820: data.api.Request.submit: log submitted request

2015-09-09 Thread jayvdb
jayvdb closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T108820 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, jayvdb Cc: gerritbot, XZise, VcamX, jayvdb, Aklapper, pywikibot-bugs-list, valhallasw, 01tonythomas

[Pywikipedia-bugs] [Maniphest] [Updated] T109213: cosmetic_Changes replaces {{PAGENAME}} in with "API"

2015-09-09 Thread Mpaa
Mpaa added a project: Pywikibot-textlib.py. TASK DETAIL https://phabricator.wikimedia.org/T109213 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: Mpaa, jayvdb, Danny_B, pywikibot-bugs-list, JAnD, Aklapper

[Pywikipedia-bugs] [Maniphest] [Commented On] T101214: Decommission compat

2015-09-09 Thread Ricordisamoa
Ricordisamoa added a comment. > 4. request that 'Bot approval' processes and teams reject compat bots > 11. Block bots using Pywikipedia in user-agent In https://phabricator.wikimedia.org/T101214#1620639, @Ladsgroup wrote: > reject compat-based bots Why such a manhunt? I'm pretty sure

[Pywikipedia-bugs] [Maniphest] [Commented On] T109213: cosmetic_Changes replaces {{PAGENAME}} in with "API"

2015-09-09 Thread Mpaa
Mpaa added a comment. In this case: https://cs.wiktionary.org/w/api.php?action=expandtemplates=%C3%9Adr%C5%BEba:Zkontrolovat%20vlo%C5%BEen%C3%AD%20%C5%A1ablony%20SS%C4%8C%7C%20{{PAGENAME}}=wikitext=5=json TASK DETAIL https://phabricator.wikimedia.org/T109213 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T109213: cosmetic_Changes replaces {{PAGENAME}} in with "API"

2015-09-09 Thread jayvdb
jayvdb raised the priority of this task from "Normal" to "High". jayvdb added a comment. Thanks for finding that @mpaa. I havent tested this, but a quick fix could be to disable cosmetic_changes on wiktionary using `config.cosmetic_changes_enable` or `config.cosmetic_changes_disable` ? i.e.

[Pywikipedia-bugs] [Maniphest] [Updated] T101214: Decommission compat

2015-09-09 Thread JAnD
JAnD added a comment. Before forbidding compat bots please solve https://phabricator.wikimedia.org/T74674, which prevents core interwiki bots in wiktionary run in autonomous mode. TASK DETAIL https://phabricator.wikimedia.org/T101214 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis

2015-09-09 Thread XZise
XZise created this task. XZise added a subscriber: XZise. XZise added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION The language links of the Beta-Cluster are to the production wikis (see T69931) which is incompatible with

[Pywikipedia-bugs] [Maniphest] [Updated] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis

2015-09-09 Thread XZise
XZise added a blocked task: T100796: Run pywikibot tests on beta wikis. TASK DETAIL https://phabricator.wikimedia.org/T112006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: Aklapper, pywikibot-bugs-list, XZise, jayvdb

[Pywikipedia-bugs] [Maniphest] [Updated] T100796: Run pywikibot tests on beta wikis

2015-09-09 Thread XZise
XZise added a blocking task: T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis. TASK DETAIL https://phabricator.wikimedia.org/T100796 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb, XZise Cc: Ricordisamoa, gerritbot,

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T110559: Make sure that Pywikibot still works with new api data output format

2015-09-09 Thread XZise
XZise lowered the priority of this task from "Unbreak Now!" to "Low". XZise added a comment. With the test not failing anymore and the patches have be merged (both request from @jayvdb's post https://phabricator.wikimedia.org/T110559#1618721 have the same structure now) I don't think we'll be

[Pywikipedia-bugs] [Maniphest] [Commented On] T102033: interwiki.py for categories in core is significantly slower than in compat

2015-09-09 Thread Malafaya
Malafaya added a comment. Most likely fixed if/when these changes get merged: - https://gerrit.wikimedia.org/r/237130 - https://gerrit.wikimedia.org/r/237113 TASK DETAIL https://phabricator.wikimedia.org/T102033 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T109213: cosmetic_Changes replaces {{PAGENAME}} in with "API"

2015-09-09 Thread JAnD
JAnD added a comment. yes, pywikibot core interwiki.py with cosmetic_changes enabled `pwb.py cosmetic_changes.py -family:wiktionary -prefixindex:category:Údržba:Doplnit_h -lang:cs` ATTENTION: You can run this script as a stand-alone for testing purposes. However, the changes that are made

[Pywikipedia-bugs] [Maniphest] [Commented On] T108904: autotranslate bug in interwiki.py with -wiktionary

2015-09-09 Thread Malafaya
Malafaya added a comment. I posted too soon. It's happening now in both auto and manual mode. I don't know what I did different before. Maybe the fix is just to skip translation altogether for -wiktionary mode. TASK DETAIL https://phabricator.wikimedia.org/T108904 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T78094: ItemPage should support redirects

2015-09-09 Thread gerritbot
gerritbot added a comment. Change 178732 merged by jenkins-bot: Support item redirects in get method in ItemPage https://gerrit.wikimedia.org/r/178732 TASK DETAIL https://phabricator.wikimedia.org/T78094 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Pywikipedia-bugs] [Maniphest] [Updated] T108820: data.api.Request.submit: log submitted request

2015-09-09 Thread jayvdb
jayvdb added projects: Pywikibot-OAuth, Pywikibot-network. TASK DETAIL https://phabricator.wikimedia.org/T108820 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, jayvdb Cc: gerritbot, XZise, VcamX, jayvdb, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T108820: data.api.Request.submit: log submitted request

2015-09-09 Thread jayvdb
jayvdb moved this task to httplib2->requests on the Pywikibot-OAuth workboard. TASK DETAIL https://phabricator.wikimedia.org/T108820 WORKBOARD https://phabricator.wikimedia.org/project/board/1246/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T109173: "Nonce already used" regularly occurring on beta cluster

2015-09-09 Thread Tgr
Tgr added a subscriber: bd808. Tgr added a comment. In https://phabricator.wikimedia.org/T109173#1619880, @jayvdb wrote: > @Tgr, I am not sure what we can or should do to help, but if you can give us > some suggestions we might be able to help. Someone needs to be able to verify whether

[Pywikipedia-bugs] [Maniphest] [Commented On] T109213: cosmetic_Changes replaces {{PAGENAME}} in with "API"

2015-09-09 Thread Mpaa
Mpaa added a subscriber: Mpaa. Mpaa added a comment. standardizePageFooter() -> textlib.getCategoryLinks(text, site=self.site) -> rest = site.expand_text(match.group('rest')) action expandtemplates replaces {{PAGENAME}} with API. e.g.

[Pywikipedia-bugs] [Maniphest] [Commented On] T112006: Link.langlinkUnsafe does not work on Beta-Cluster wikis

2015-09-09 Thread jayvdb
jayvdb added a subscriber: jayvdb. jayvdb added a comment. Using `APISite.interwiki` doesnt really fix the problem either. It will allow a site to be created, but it will be a production wiki in a different family, which means other assumptions will be broken. And it can not __only__ use