Ladsgroup created this task. Ladsgroup claimed this task. Ladsgroup added a subscriber: Ladsgroup. Ladsgroup added projects: pywikibot-core, Pywikibot-Wikidata. Ladsgroup changed Security from none to none.
TASK DESCRIPTION Wikidata has redirects for items (e.g. Q12861247) but currently it's not supported in pywikibot.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup Cc: Aklapper, Ladsgroup, jayvdb, pywikipedia-bugs
Ladsgroup added a blocking task: T77971: redirect.py does not support wikidata redirect item.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup Cc: Aklapper, Ladsgroup, jayvdb, pywikipedia-bugs
Ladsgroup removed a blocking task: T77971: redirect.py does not support wikidata redirect item.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup Cc: Aklapper, Ladsgroup, jayvdb, pywikipedia-bugs
jayvdb added a subscriber: jayvdb.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, jayvdb Cc: Aklapper, Ladsgroup, jayvdb, pywikipedia-bugs
jayvdb added a subscriber: Ricordisamoa.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, jayvdb Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, pywikipedia-bugs
jayvdb added a comment.
https://gerrit.wikimedia.org/r/#/c/157626/ added basic support & tests for item redirects. Is the problem that ItemPage.get doesnt have 'get_redirect' ?
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, jayvdb Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, pywikipedia-bugs
Revi added a subscriber: Revi.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, Revi Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, Revi, pywikipedia-bugs
Ricordisamoa added a comment.
! In T78094#835777, @jayvdb wrote:
https://gerrit.wikimedia.org/r/#/c/157626/ added basic support & tests for item redirects. Is the problem that ItemPage.get doesnt have 'get_redirect' ?
AFAICT ItemPage.getRedirectTarget() has been working since that change. @Ladsgroup: why is it 'not supported' exactly?
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, Ricordisamoa Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, Revi, pywikipedia-bugs
Revi added a comment.
! In T78094#835871, @Ricordisamoa wrote:
! In T78094#835777, @jayvdb wrote:
https://gerrit.wikimedia.org/r/#/c/157626/ added basic support & tests for item redirects. Is the problem that ItemPage.get doesnt have 'get_redirect' ?
AFAICT ItemPage.getRedirectTarget() has been working since that change. @Ladsgroup: why is it 'not supported' exactly?
See {T77971}. Maybe this?
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, Revi Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, Revi, pywikipedia-bugs
Ricordisamoa closed this task as "Resolved". Ricordisamoa added a comment.
ItemPage supports redirects out of the box since https://gerrit.wikimedia.org/r/#/c/157626/. {T77971} is an issue with the redirect.py script and not related to the core framework.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, Ricordisamoa Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, Revi, pywikipedia-bugs
Ladsgroup added a comment.
In https://phabricator.wikimedia.org/T78094#835871, @Ricordisamoa wrote:
In https://phabricator.wikimedia.org/T78094#835777, @jayvdb wrote:
https://gerrit.wikimedia.org/r/#/c/157626/ added basic support & tests for item redirects. Is the problem that ItemPage.get doesnt have 'get_redirect' ?
AFAICT ItemPage.getRedirectTarget() has been working since that change. @Ladsgroup: why is it 'not supported' exactly?
it doesn't support redirects in Wikibase the way wikibase treats them, it supports them the way it supports page redirects. e.g. it doesn't raise error in case item.get() is used without get_redirect=True. it doesn't return ItemPage if we ask for target, and it return Page object instead. and more importantly it doesn't support a method like setRedirectTarget (I think we should write something like this for Page class too)
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, Revi, pywikipedia-bugs
XZise added a subscriber: XZise. XZise added a comment.
In https://phabricator.wikimedia.org/T78094#937221, @Ladsgroup wrote:
(I think we should write something like this for Page class too)
You might be interested in https://gerrit.wikimedia.org/r/#/c/173636/.
TASK DETAIL https://phabricator.wikimedia.org/T78094
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup, XZise Cc: Aklapper, Ladsgroup, jayvdb, Ricordisamoa, Revi, XZise, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org