Page MenuHomePhabricator

Working with interwikis on subpage
Open, LowPublicBUG REPORT

Description

Originally from: http://sourceforge.net/p/pywikipediabot/patches/497/
Reported by: dixond
Created on: 2010-12-29 13:55:59
Subject: Working with interwikis on subpage
Assigned to: xqt
Original description:
I think I implemented my feature request with ID: 3146291
Please, review carefully my code - to be honest I don't have really much experience with Python.
And few moments:
1\) When we adding/fixing interwikis on subpage, I think we should remove interwikis in template itself if any
2\) It seems that logic of determing whether this page has subpages, getting interwikis also from included subpages etc should be decoupled from interwiki.py and moved to wikipedia.py
3\) Not really related but.. cosmetic\_changes.py removes interwikis from subpage.


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/patches/497

Details

Reference
bz54570

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:12 AM
bzimport set Reference to bz54570.
bzimport added a subscriber: Unknown Object (????).

Uploaded new patch with some fixes.

Sorry for the very... slow response. The problem is that interwiki.py is complicated \(as you have noticed\), and it's a somewhat complicated patch. To be honest: I'm not even sure how much interwiki.py does in terms of templates, subpages... and as such I'm scared as hell to even touch the script, considering it sort of works at the moment.

Housekeeper's note: the patch does not apply cleanly to r10035

Could be a duplicate of Bug 55231 and Bug 55323

Aklapper triaged this task as Low priority.Feb 4 2022, 8:07 PM
Aklapper changed the subtype of this task from "Task" to "Bug Report".