Last modified: 2014-02-11 16:41:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56570, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54570 - Working with interwikis on subpage
Working with interwikis on subpage
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-24 22:35 UTC by Kunal Mehta (Legoktm)
Modified: 2014-02-11 16:41 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-09-24 22:35:13 UTC
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.
Comment 1 Kunal Mehta (Legoktm) 2013-09-24 22:35:16 UTC
Uploaded new patch with some fixes.
Comment 2 Kunal Mehta (Legoktm) 2013-09-24 22:35:18 UTC
Any news?
Comment 3 Kunal Mehta (Legoktm) 2013-09-24 22:35:20 UTC
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.
Comment 4 Kunal Mehta (Legoktm) 2013-09-24 22:35:22 UTC
Housekeeper's note: the patch does not apply cleanly to r10035
Comment 5 Kunal Mehta (Legoktm) 2013-09-24 22:35:24 UTC
- **assigned_to**: nobody --> xqt
Comment 6 Kunal Mehta (Legoktm) 2013-09-24 22:35:26 UTC
- **priority**: 5 --> 6
Comment 7 Ricordisamoa 2014-02-11 16:41:22 UTC
Could be a duplicate of Bug 55231 and Bug 55323

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links