[Pywikipedia-bugs] [Maniphest] [Created] T104787: Rewrite/Update/Validate pagegenerators YearPageGenerator and DayPageGenerator using Wikidata

2015-07-05 Thread jayvdb
jayvdb created this task. jayvdb added subscribers: jayvdb, Multichill, Xqt, valhallasw. jayvdb added projects: pywikibot-core, Pywikibot-pagegenerators, Pywikibot-Wikidata. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION YearPageGenerator and DayPageGenerator need

[Pywikipedia-bugs] [Maniphest] [Commented On] T104787: Rewrite/Update/Validate pagegenerators YearPageGenerator and DayPageGenerator using Wikidata

2015-07-05 Thread Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa. Ricordisamoa added a comment. TLDR; CLDR TASK DETAIL https://phabricator.wikimedia.org/T104787 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa, valhallasw, Xqt, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Commented On] T104787: Rewrite/Update/Validate pagegenerators YearPageGenerator and DayPageGenerator using Wikidata

2015-07-05 Thread Multichill
Multichill added a comment. Also worth discussing, .. what are these two generators and date.py being used for? Or, should we simply drop date.py and these two generators? I think I used it once, by far not enough to keep it around and spend a lot of effort on it. Maybe ask around on the

[Pywikipedia-bugs] [Maniphest] [Edited] T104787: Rewrite/Update/Validate pagegenerators YearPageGenerator and DayPageGenerator using Wikidata

2015-07-05 Thread jayvdb
jayvdb edited the task description. jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T104787 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: valhallasw, Xqt, Aklapper, Multichill, jayvdb, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T100928: pywikibot.page.isDisambig depends on disambiguationspage

2015-07-05 Thread jayvdb
jayvdb added a comment. Yes, it is an empty wiki, without any family configuration. I am thinking that if there is no way to know if the page is a Disambig page, issue a FamilyMaintenanceWarning, and return False. TASK DETAIL https://phabricator.wikimedia.org/T100928 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T103470: Many Battlestar wikis are broken

2015-07-05 Thread jayvdb
jayvdb added a subscriber: Nemo_bis. jayvdb added a comment. Does #wikiteam have recent dumps of these wikis? https://wikiapiary.com/wiki/Farm:Battlestar_Wiki suggests that some of these wikis, eg zh and fr, were quite decent wikis, and gives last sample dates which are more recent. TASK

[Pywikipedia-bugs] [Maniphest] [Updated] T104798: Escaping doubling brace does not work in handle_link

2015-07-05 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T104798 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: gerritbot, jayvdb, XZise, Aklapper, Xqt, pywikibot-bugs-list, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Commented On] T103470: Many Battlestar wikis are broken

2015-07-05 Thread Nemo_bis
Nemo_bis added a comment. Can't find: https://archive.org/search.php?query=battlestarwikiorg Seems lost. :/ Asking a dump from the sysadmin would be nice. TASK DETAIL https://phabricator.wikimedia.org/T103470 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T104800: default disambiguationspage message not correctly parsed for ~10 languages

2015-07-05 Thread jayvdb
jayvdb created this task. jayvdb claimed this task. jayvdb added subscribers: Xqt, Aklapper, jayvdb, Ladsgroup, pywikibot-bugs-list, gerritbot. jayvdb added a project: pywikibot-core. TASK DESCRIPTION The default disambiguationspage message parser in page.isDisambig does the following

[Pywikipedia-bugs] [Maniphest] [Closed] T100928: pywikibot.page.isDisambig depends on disambiguationspage

2015-07-05 Thread jayvdb
jayvdb closed this task as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T100928 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, jayvdb Cc: Xqt, Aklapper, jayvdb, Ladsgroup, pywikibot-bugs-list, gerritbot, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Unblock] T100802: Run test against an empty MediaWiki instance

2015-07-05 Thread jayvdb
jayvdb closed blocking task T100928: pywikibot.page.isDisambig depends on disambiguationspage as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T100802 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot,

[Pywikipedia-bugs] [Maniphest] [Commented On] T103470: Many Battlestar wikis are broken

2015-07-05 Thread jayvdb
jayvdb added a comment. It looks like the wikis were disabled some time between May and August 2014 https://web.archive.org/web/20140823065501/http://fr.battlestarwiki.org/wiki/Accueil. fwiw, the interwikimap http://en.battlestarwiki.org/w/api.php?action=querymeta=siteinfosiprop=interwikimap

[Pywikipedia-bugs] [Maniphest] [Commented On] T104568: Add Orain support for Pywikibot

2015-07-05 Thread Addshore
Addshore added a comment. Would be nice to have, what details do we need? TASK DETAIL https://phabricator.wikimedia.org/T104568 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: FastLizard4, Addshore, pywikibot-bugs-list, NDKilla, VcamX,

[Pywikipedia-bugs] [Maniphest] [Commented On] T104798: Escaping doubling brace does not work in handle_link

2015-07-05 Thread gerritbot
gerritbot added a comment. Change 222889 merged by jenkins-bot: [bugfix] Double double escape brace chars to enable double formatting https://gerrit.wikimedia.org/r/222889 TASK DETAIL https://phabricator.wikimedia.org/T104798 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-07-05 Thread jayvdb
jayvdb added subscribers: jayvdb, Xqt. TASK DETAIL https://phabricator.wikimedia.org/T74101 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Xqt, jayvdb, XZise, Multichill, Ricordisamoa, pywikibot-bugs-list, Mpaa, Anshoe, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Created] T104798: Escaping doubling brace does not work in handle_link

2015-07-05 Thread Xqt
Xqt created this task. Xqt added a subscriber: Xqt. Xqt added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION ``` ERROR: KeyError: u'lightpurple' Traceback (most recent call last): File C:\pwb\GIT\core\pwb.py, line 226, in module

[Pywikipedia-bugs] [Maniphest] [Claimed] T104798: Escaping doubling brace does not work in handle_link

2015-07-05 Thread Xqt
Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T104798 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, XZise, Aklapper, Xqt, pywikibot-bugs-list, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Closed] T104798: Escaping doubling brace does not work in handle_link

2015-07-05 Thread Xqt
Xqt closed this task as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T104798 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: gerritbot, jayvdb, XZise, Aklapper, Xqt, pywikibot-bugs-list, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T104798: Escaping doubling brace does not work in handle_link

2015-07-05 Thread Xqt
Xqt added a subscriber: jayvdb. TASK DETAIL https://phabricator.wikimedia.org/T104798 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, XZise, Aklapper, Xqt, pywikibot-bugs-list, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Edited] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-07-05 Thread jayvdb
jayvdb edited the task description. jayvdb edited projects, added pywikibot-compat; removed Pywikibot-General. TASK DETAIL https://phabricator.wikimedia.org/T74101 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: XZise, Multichill,

[Pywikipedia-bugs] [Maniphest] [Commented On] T104568: Add Orain support for Pywikibot

2015-07-05 Thread jayvdb
jayvdb added a comment. @addshore , the main question is whether Orain is OK with Pywikibot including an Orain wiki on our travis-ci build matrix, which would involve a regular read-only load test of the server, for each checking which is probably averaging 10 times a day. Pywikibot also has

[Pywikipedia-bugs] [Maniphest] [Created] T104809: impossible to respond to captchas when using put_async

2015-07-05 Thread valhallasw
valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Because the put happens in a different thread, the message will be printed, but the response will not

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T104805: handle_links() does not work as expected

2015-07-05 Thread Xqt
Xqt added subscribers: XZise, jayvdb. Xqt added a comment. TASK DETAIL https://phabricator.wikimedia.org/T104805 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, XZise, Aklapper, Xqt, pywikibot-bugs-list, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Commented On] T104805: handle_links() does not work as expected

2015-07-05 Thread XZise
XZise added a comment. Okay I accidentally inverted the logic and it replaced the section with the other (disabled) option. And this option would currently use the old label. The first option (//Change link target//) works as expected as the old link doesn't use a section and that option only

[Pywikipedia-bugs] [Maniphest] [Updated] T104805: handle_links() does not work as expected

2015-07-05 Thread XZise
XZise added a comment. Okay there are actually two issues: The patch 222927 https://gerrit.wikimedia.org/r/222927 fixes a problem introduced with rPWBCc223f4480a65: [BREAK][FIX] Redesign of InteractiveReplace https://phabricator.wikimedia.org/rPWBCc223f4480a65cbf7d13e5095fd29023dd9b87f3d as

[Pywikipedia-bugs] [Maniphest] [Commented On] T104568: Add Orain support for Pywikibot

2015-07-05 Thread XZise
XZise added a subscriber: XZise. XZise added a comment. We don't write anything on Travis builds by default but the number of reads is hard to count. TASK DETAIL https://phabricator.wikimedia.org/T104568 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Pywikipedia-bugs] [Maniphest] [Commented On] T104805: handle_links() does not work as expected

2015-07-05 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 222927 had a related patch set uploaded (by XZise): [FIX] Replace section/label according to the names https://gerrit.wikimedia.org/r/222927 TASK DETAIL https://phabricator.wikimedia.org/T104805 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T104805: handle_links() does not work as expected

2015-07-05 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T104805 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, jayvdb, XZise, Aklapper, Xqt, pywikibot-bugs-list, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-07-05 Thread XZise
XZise added a comment. Okay looking further into it, I can only get it to work when I use one letter in `cmstartsortkey` while `cmstartsortkeyprefix` seems to work also if the sortkey has not specified explicitly (not sure what happened yesterday). - `cmstartsortkeyprefix=Test`

[Pywikipedia-bugs] [Maniphest] [Commented On] T104568: Add Orain support for Pywikibot

2015-07-05 Thread FastLizard4
FastLizard4 added a comment. What exactly do these load tests and write tests entail? What's being tested? TASK DETAIL https://phabricator.wikimedia.org/T104568 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: FastLizard4 Cc: XZise, FastLizard4,

[Pywikipedia-bugs] [Maniphest] [Edited] T60574: unicodeDecodeError in url2unicode()

2015-07-05 Thread jayvdb
jayvdb edited the task description. jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T60574 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Xqt, jayvdb, Ricordisamoa, pywikibot-bugs-list, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Created] T104819: Pywikibot wiki health check

2015-07-05 Thread jayvdb
jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Pywikibot should include a single command that runs a series of checks against any wiki to perform a health check, with

[Pywikipedia-bugs] [Maniphest] [Commented On] T104821: Load settings from site

2015-07-05 Thread gerritbot
gerritbot added a comment. Change 201446 had a related patch set uploaded (by John Vandenberg): [FEAT] Load the settings from wiki https://gerrit.wikimedia.org/r/201446 TASK DETAIL https://phabricator.wikimedia.org/T104821 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T104821: Load settings from site

2015-07-05 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T104821 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, gerritbot Cc: Aklapper, pywikibot-bugs-list, jayvdb, gerritbot, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Triaged] T57836: Invalid link found while title parsing

2015-07-05 Thread jayvdb
jayvdb edited the task description. jayvdb triaged this task as High priority. jayvdb removed a project: Pywikibot-General. TASK DETAIL https://phabricator.wikimedia.org/T57836 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Xqt,

[Pywikipedia-bugs] [Maniphest] [Edited] T104820: page generators for featured, former featured and good pages

2015-07-05 Thread jayvdb
jayvdb edited the task description. jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T104820 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: pywikibot-bugs-list, jayvdb, Aklapper, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Updated] T57243: replaceCategoryLinks misplaces featured article links

2015-07-05 Thread jayvdb
jayvdb added a project: pywikibot-core. jayvdb added a subscriber: jayvdb. TASK DETAIL https://phabricator.wikimedia.org/T57243 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: jayvdb, Legoktm, Ricordisamoa, pywikibot-bugs-list, Ladsgroup,

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T56738: Implement an UnconnectedPages generator in Pywikibot

2015-07-05 Thread jayvdb
jayvdb moved this task to Upstream on the Pywikibot-Wikidata workboard. TASK DETAIL https://phabricator.wikimedia.org/T56738 WORKBOARD https://phabricator.wikimedia.org/project/board/110/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc:

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T103284: wikibase edit tests fail loading family calendarmodel

2015-07-05 Thread jayvdb
jayvdb moved this task to Ready to go on the Pywikibot-Wikidata workboard. TASK DETAIL https://phabricator.wikimedia.org/T103284 WORKBOARD https://phabricator.wikimedia.org/project/board/110/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T98663: Deprecate DataSite.createNewItemFromPage

2015-07-05 Thread jayvdb
jayvdb moved this task to Ready to go on the Pywikibot-Wikidata workboard. TASK DETAIL https://phabricator.wikimedia.org/T98663 WORKBOARD https://phabricator.wikimedia.org/project/board/110/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb

[Pywikipedia-bugs] [Maniphest] [Edited] T57200: _getall works incorrectly in hr-wiki

2015-07-05 Thread jayvdb
jayvdb edited the task description. jayvdb added a project: Pywikibot-interwiki.py. jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T57200 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Aklapper, Alexsh,

[Pywikipedia-bugs] [Maniphest] [Created] T104820: page generators for featured, former featured and good pages

2015-07-05 Thread jayvdb
jayvdb created this task. jayvdb added subscribers: Aklapper, jayvdb, pywikibot-bugs-list. jayvdb added a project: pywikibot-core. TASK DESCRIPTION I think it would be useful to create page generators (in pagegenerators.py) for pages which should remain at a consistent 'quality' level.

[Pywikipedia-bugs] [Maniphest] [Commented On] T104820: page generators for featured, former featured and good pages

2015-07-05 Thread Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa. Ricordisamoa added a comment. Hm... site-specific generators? TASK DETAIL https://phabricator.wikimedia.org/T104820 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Declined] T57200: _getall works incorrectly in hr-wiki

2015-07-05 Thread jayvdb
jayvdb added a subscriber: jayvdb. jayvdb closed this task as Declined. jayvdb claimed this task. jayvdb added a comment. As this is interwiki.py, for compat, on Wikipedia, everyone affected is now using Wikidata or core, so declining this one. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T104653: Site and generator potential mismatches

2015-07-05 Thread jayvdb
jayvdb added a comment. One approach to very heavily reduce this problem is to build a special deprecator, which detects and screams when site = None. This can be added to every function that has a site argument. This will cause a lot of warnings in the test suite, which we will need to fix.

[Pywikipedia-bugs] [Maniphest] [Retitled] T57243: replaceCategoryLinks places featured article templates before categories; instead of between categories and interwikis

2015-07-05 Thread jayvdb
jayvdb changed the title from replaceCategoryLinks misplaces featured article links to replaceCategoryLinks places featured article templates before categories; instead of between categories and interwikis. jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T57243

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T85385: Implement Monolingual text in Pywikibot

2015-07-05 Thread Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa. TASK DETAIL https://phabricator.wikimedia.org/T85385 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa, jayvdb, Aklapper, pywikibot-bugs-list, Multichill, Liuxinyu970226,

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T74369: Add Wikidata Category (wdcat) generator

2015-07-05 Thread Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa. TASK DETAIL https://phabricator.wikimedia.org/T74369 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa, pywikibot-bugs-list, Multichill, jayvdb, Malyacko, P.Copp