jayvdb added a comment.
>>! In T75513#794670, @XZise wrote:
> Indeed this looks like T71664, but in this case the test is directly calling `templatesWithParams` on an `ItemPage` which itself calls `textlib.extract_templates_and_params` and T71664 just prevented that `botMayEdit` calls that `templatesWithParams`. But in theory this should happen anywhere and not just with Wikia.
>
> A possible solution would be to override `templatesWithParams` in `ItemPage` to always return an empty list.
Hmm, I'd be more inclined to raise an exception, as anyone calling ItemPage.templatesWithParams is using the wrong method with the wrong type of page, and the code needs to be fixed.
TASK DETAIL
https://phabricator.wikimedia.org/T75513
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, jayvdb, XZise
jayvdb moved this task to Low priority issues (compat & py2.6) on the Pywikibot-Wikidata workboard.
TASK DETAIL
https://phabricator.wikimedia.org/T57150
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, Legoktm, Ricordisamoa, jayvdb
jayvdb removed a subscriber: Unknown Object (????).
jayvdb removed a project: testme.
jayvdb set Security to none.
TASK DETAIL
https://phabricator.wikimedia.org/T57150
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, Legoktm, Ricordisamoa, jayvdb
jayvdb added a comment.
fwiw, this problem also occurs in core version, and it hasnt been resolved in core. The solution to core issue T71664 was to avoid the problem (not fix it) by not calling templates/templatesWithParams, which is definitely not sensible for a wikibase page.
TASK DETAIL
https://phabricator.wikimedia.org/T57150
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, Legoktm, Ricordisamoa, jayvdb
jayvdb moved this task to Low priority issues (compat & py2.6) on the Pywikibot-Wikidata workboard.
TASK DETAIL
https://phabricator.wikimedia.org/T59480
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, Ricordisamoa, jayvdb, Xqt
jayvdb moved this task to Low priority issues (compat & py2.6) on the Pywikibot-Wikidata workboard.
TASK DETAIL
https://phabricator.wikimedia.org/T72707
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, XZise, Ricordisamoa, jayvdb
jayvdb moved this task to Compat issues on the Pywikibot-Wikidata workboard.
TASK DETAIL
https://phabricator.wikimedia.org/T57138
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ladsgroup, jayvdb
Cc: pywikipedia-bugs, Ladsgroup, Masti, Legoktm, Ricordisamoa, jayvdb
jayvdb moved this task to Compat issues on the Pywikibot-Wikidata workboard.
TASK DETAIL
https://phabricator.wikimedia.org/T57125
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, Legoktm, Multichill, jayvdb
jayvdb moved this task to Framework on the Pywikibot-Wikidata workboard.
TASK DETAIL
https://phabricator.wikimedia.org/T74074
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, Nemo_bis, jayvdb
jayvdb moved this task to Framework on the Pywikibot-Wikidata workboard.
TASK DETAIL
https://phabricator.wikimedia.org/T66457
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ricordisamoa, jayvdb
Cc: pywikipedia-bugs, Bene, Ricordisamoa, jayvdb, Liuxinyu970226