https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
Web browser: --- Bug ID: 54570 Summary: Working with interwikis on subpage Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Uploaded new patch with some fixes.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Any news?
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Housekeeper's note: the patch does not apply cleanly to r10035
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **assigned_to**: nobody --> xqt
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
--- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 5 --> 6
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/patches/497
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
Nemo federicoleva@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|General |interwiki.py
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |info@gno.de
https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
Ricordisamoa ricordisamoa@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@live.it
--- Comment #7 from Ricordisamoa ricordisamoa@live.it --- Could be a duplicate of Bug 55231 and Bug 55323
pywikipedia-bugs@lists.wikimedia.org