[Pywikipedia-bugs] [Maniphest] [Assigned] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread Xqt
Xqt assigned this task to Framawiki. TASK DETAIL https://phabricator.wikimedia.org/T223865 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Framawiki, Xqt Cc: Lokal_Profil, Aklapper, pywikibot-bugs-list, Framawiki, Xqt, E.S.A-Sheild, joker88john,

[Pywikipedia-bugs] [Maniphest] [Updated] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223865 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Lokal_Profil, Aklapper, pywikibot-bugs-list, Framawiki, Xqt, E.S.A-Sheild, joker88john,

[Pywikipedia-bugs] [Maniphest] [Commented On] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511463 had a related patch set uploaded (by Framawiki; owner: Framawiki): [pywikibot/core@master] [TEST] fix test_create_short_link https://gerrit.wikimedia.org/r/511463 TASK DETAIL https://phabricator.wikimedia.org/T223865 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread Framawiki
Framawiki added a comment. Since T222146: Add protocol before shortened URLs, both at Meta and the Wikidata Query Engine was deployed all shortened URL returned by the API have protocols prefixed. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread Lokal_Profil
Lokal_Profil added a comment. In T223865#5196823 , @Xqt wrote: > Expanding this tests with subTest Do we have a general preference for using subTest rather than

[Pywikipedia-bugs] [Maniphest] [Updated] T223889: pywikibot.Link representation not reconstructable

2019-05-20 Thread Xqt
Xqt removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223889 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Lokal_Profil, Viztor, DannyS712, Wenyi, Tbscho, MayS,

[Pywikipedia-bugs] [Maniphest] [Updated] T223897: Raise an exception when an invalid namespace is provided to Link/BaseLink

2019-05-20 Thread Xqt
Xqt removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223897 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Lokal_Profil, Viztor, DannyS712, Wenyi, Tbscho, MayS,

[Pywikipedia-bugs] [Maniphest] [Updated] T223891: pywikibot.Link.astext ignores anchor

2019-05-20 Thread Xqt
Xqt removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223891 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Lokal_Profil, Viztor, DannyS712, Wenyi, Tbscho, MayS,

[Pywikipedia-bugs] [Maniphest] [Updated] T223890: pywikibot.Link._cmpkey ignores section

2019-05-20 Thread Xqt
Xqt removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223890 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Lokal_Profil, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont,

[Pywikipedia-bugs] [Maniphest] [Closed] T66457: refactor sitelinks structure to support badges

2019-05-20 Thread Lokal_Profil
Lokal_Profil closed this task as "Resolved". Lokal_Profil added a comment. Merged and @TODOs were nuked in a later commit TASK DETAIL https://phabricator.wikimedia.org/T66457 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc:

[Pywikipedia-bugs] [Maniphest] [Unblock] T72936: Important tasks to be solved (tracking)

2019-05-20 Thread Lokal_Profil
Lokal_Profil closed subtask T66457: refactor sitelinks structure to support badges as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T72936 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc: valhallasw, Dvorapa, Multichill,

[Pywikipedia-bugs] [Maniphest] [Unblock] T128202: Implement badges support in pywikibot

2019-05-20 Thread Lokal_Profil
Lokal_Profil closed subtask T66457: refactor sitelinks structure to support badges as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T128202 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc: gerritbot, Aklapper, StudiesWorld,

[Pywikipedia-bugs] [Maniphest] [Commented On] T223890: pywikibot.Link._cmpkey ignores section

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511399 **merged** by jenkins-bot: [pywikibot/core@master] Removing @TODOs https://gerrit.wikimedia.org/r/511399 TASK DETAIL https://phabricator.wikimedia.org/T223890 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T223891: pywikibot.Link.astext ignores anchor

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511399 **merged** by jenkins-bot: [pywikibot/core@master] Removing @TODOs https://gerrit.wikimedia.org/r/511399 TASK DETAIL https://phabricator.wikimedia.org/T223891 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T223897: Raise an exception when an invalid namespace is provided to Link/BaseLink

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511399 **merged** by jenkins-bot: [pywikibot/core@master] Removing @TODOs https://gerrit.wikimedia.org/r/511399 TASK DETAIL https://phabricator.wikimedia.org/T223897 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T223889: pywikibot.Link representation not reconstructable

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511399 **merged** by jenkins-bot: [pywikibot/core@master] Removing @TODOs https://gerrit.wikimedia.org/r/511399 TASK DETAIL https://phabricator.wikimedia.org/T223889 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T223897: Raise an exception when an invalid namespace is provided to Link/BaseLink

2019-05-20 Thread Dvorapa
Dvorapa added a comment. Perhaps these two tasks (T67262 and T223897 ) could be solved now after the Link rewrite TASK DETAIL https://phabricator.wikimedia.org/T223897 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T223897: Raise an exception when an invalid namespace is provided to Link/BaseLink

2019-05-20 Thread Dvorapa
Dvorapa added a comment. Similar (or duplicite) to T67262 TASK DETAIL https://phabricator.wikimedia.org/T223897 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Dvorapa, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Updated] T223889: pywikibot.Link representation not reconstructable

2019-05-20 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223889 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Lokal_Profil, E.S.A-Sheild, joker88john, Viztor,

[Pywikipedia-bugs] [Maniphest] [Commented On] T223897: Raise an exception when an invalid namespace is provided to Link/BaseLink

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511399 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil): [pywikibot/core@master] Removing @TODOs https://gerrit.wikimedia.org/r/511399 TASK DETAIL https://phabricator.wikimedia.org/T223897 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T223897: Raise an exception when an invalid namespace is provided to Link/BaseLink

2019-05-20 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223897 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Aklapper, pywikibot-bugs-list, Lokal_Profil, E.S.A-Sheild, joker88john, Viztor,

[Pywikipedia-bugs] [Maniphest] [Commented On] T223889: pywikibot.Link representation not reconstructable

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511399 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil): [pywikibot/core@master] Removing @TODOs https://gerrit.wikimedia.org/r/511399 TASK DETAIL https://phabricator.wikimedia.org/T223889 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T223891: pywikibot.Link.astext ignores anchor

2019-05-20 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223891 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Lokal_Profil, E.S.A-Sheild, joker88john, Viztor,

[Pywikipedia-bugs] [Maniphest] [Commented On] T223890: pywikibot.Link._cmpkey ignores section

2019-05-20 Thread gerritbot
gerritbot added a comment. Change 511399 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil): [pywikibot/core@master] Removing @TODOs https://gerrit.wikimedia.org/r/511399 TASK DETAIL https://phabricator.wikimedia.org/T223890 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T223897: Raise an exception when an invalid namespace is provided to Link/BaseLink

2019-05-20 Thread Lokal_Profil
Lokal_Profil created this task. Lokal_Profil added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION When an invalid namespace is provided to Link/BaseLink the invalid namespace is quietly ignored and replaced by `Namespace.MAIN`

[Pywikipedia-bugs] [Maniphest] [Commented On] T223891: pywikibot.Link.astext ignores anchor

2019-05-20 Thread Dvorapa
Dvorapa added a comment. Perhaps we could inspire in https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/395154/ and https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/509538/ TASK DETAIL https://phabricator.wikimedia.org/T223891 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Edited] T223891: pywikibot.Link.astext ignores anchor

2019-05-20 Thread Lokal_Profil
Lokal_Profil updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223891 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc: Aklapper, pywikibot-bugs-list, Lokal_Profil, Viztor, DannyS712, Wenyi, Tbscho, MayS,

[Pywikipedia-bugs] [Maniphest] [Edited] T223894: Make BaseLink derive from tools.UnicodeMixin

2019-05-20 Thread Lokal_Profil
Lokal_Profil added a subscriber: Xqt. Lokal_Profil updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223894 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc: Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Created] T223894: Make BaseLink derive from tools.UnicodeMixin

2019-05-20 Thread Lokal_Profil
Lokal_Profil created this task. Lokal_Profil added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Investigate if utf-8 encoding is suitable for the PY2 string representation of a pywikibot Link/BaseLink (currently ascii with

[Pywikipedia-bugs] [Maniphest] [Created] T223891: pywikibot.Link.astext ignores anchor

2019-05-20 Thread Lokal_Profil
Lokal_Profil created this task. Lokal_Profil added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Currently a `pywikibot.Link.astext()` returns something along the lines of `[[site:namespace:title#section]]`, thus omitting the

[Pywikipedia-bugs] [Maniphest] [Retitled] T223890: pywikibot.Link._cmpkey ignores section

2019-05-20 Thread Lokal_Profil
Lokal_Profil renamed this task from "pywikibot.Link _cmpkey ignores section" to "pywikibot.Link._cmpkey ignores section". TASK DETAIL https://phabricator.wikimedia.org/T223890 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T223889: pywikibot.Link representation not reconstructable

2019-05-20 Thread Dvorapa
Dvorapa added a comment. The namespace pehaps should be a part of the representation, but for the others, methods like `section`, `anchor` should work quite easily. Page also doesn't show text or access rights on the first glance. Anyway I would suggest to have some `.fromLink()` method

[Pywikipedia-bugs] [Maniphest] [Created] T223890: pywikibot.Link _cmpkey ignores section

2019-05-20 Thread Lokal_Profil
Lokal_Profil created this task. Lokal_Profil added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Currently a `pywikibot.Link._cmpkey()` returns `(self.site, self.namespace, self.title)`. The documentation however states that

[Pywikipedia-bugs] [Maniphest] [Created] T223889: pywikibot.Link representation not reconstructable

2019-05-20 Thread Lokal_Profil
Lokal_Profil created this task. Lokal_Profil added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Currently a `pywikibot.Link.__repr()__` returns `Link(self.title, self.site)`, omitting namespace, section and anchor/label.

[Pywikipedia-bugs] [Maniphest] [Updated] T85001: Use Momento API for archived internet resources

2019-05-20 Thread gerritbot
gerritbot added a comment. Restricted Application added a project: Internet-Archive. Change 511388 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [tests] Announce FutureWarning with weblib methods https://gerrit.wikimedia.org/r/511388 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread Xqt
Xqt added a comment. Expanding this tests with subTest shows that the protocol is always given: C:\pwb\GIT\core>pwb page_tests -v TestShortLink tests: max_retries reduced from 15 to 1 test_create_short_link (__main__.TestShortLink) Test create_short_link function. ...

[Pywikipedia-bugs] [Maniphest] [Triaged] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread Xqt
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T223865 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Framawiki, Xqt, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont,

[Pywikipedia-bugs] [Maniphest] [Created] T223865: test_create_short_link of page_tests.TestShortLink fails

2019-05-20 Thread Xqt
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION https://travis-ci.org/wikimedia/pywikibot/jobs/534636264 === FAILURES

[Pywikipedia-bugs] [Maniphest] [Edited] T223826: Create archive procedure for scripts

2019-05-20 Thread matej_suchanek
matej_suchanek updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223826 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matej_suchanek Cc: JAnD, JJMC89, Xqt, Aklapper, pywikibot-bugs-list, Multichill, Dvorapa, Viztor,