Last modified: 2014-06-06 23:43:09 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 T57231, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55231 - template with /doc subpage interwiki.py has problem
template with /doc subpage interwiki.py has problem
Status: RESOLVED DUPLICATE of bug 55323
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-10-05 04:47 UTC by Kunal Mehta (Legoktm)
Modified: 2014-06-06 23:43 UTC (History)
2 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:47:35 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1366/
Reported by: reza1615
Created on: 2011-10-24 03:23:28
Subject: template with /doc subpage interwiki.py has problem
Assigned to: xqt
Original description:
Hi,
i came across a problom with templates that have /doc subpage. if some of interwikis don't have /doc it confuses and delete other interwikis
cases
http://en.wikipedia.org/w/index.php?title=Template:Cite\_encyclopedia/doc&diff=456822554&oldid=455776134
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:47:37 UTC
- **summary**: template with /doc subpage interwiki has problem --> template with /doc subpage interwiki.py has problem
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:47:38 UTC
this came from a wrong \(doc\)-subpage on vi-wiki which was not "official". vi-wiki has a documetation template too which uses /doc subpages. Somebody meant he had to localize it to a new form with \(doc\) ending \(I found only that example who gave the failure\). I repared it \[1\] and I guess it should work as expected. I also found interwiki links between doc strings from subpage to subpage and deleted them.

\[1\] http://vi.wikipedia.org/wiki/B%E1%BA%A3n\_m%E1%BA%ABu:Ch%C3%BA\_th%C3%ADch\_b%C3%A1ch\_khoa\_to%C3%A0n\_th%C6%B0\_%28doc%29
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:47:40 UTC
- **assigned_to**: nobody --> xqt
- **status**: open --> pending
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:47:42 UTC
my bot modified 2700 templates and it had 3 problem . they where the only cases that templates had /doc sub-page\!
http://en.wikipedia.org/w/index.php?title=Special:Contributions&limit=2700&contribs=user&target=Rezabot

so between cases that they will have /doc sub-page it is very risky\! to run interwiki.py
cases:
1-http://en.wikipedia.org/w/index.php?title=Template:Infobox\_musical\_artist/doc&diff=prev&oldid=456885080
2-http://en.wikipedia.org/w/index.php?title=Template:Pp-meta/doc&diff=prev&oldid=456839775
3-http://en.wikipedia.org/w/index.php?title=Template:Pp-meta/doc&diff=prev&oldid=456839775
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 04:47:44 UTC
- **status**: pending --> open
Comment 6 Kunal Mehta (Legoktm) 2013-10-05 04:47:46 UTC
I found duplicate interwiki links on /doc subpages for several sites: one for <includeonly>, one for <noinclude>. Pywikibot cannot handle this case. Normally this does not matter the bot. It should not lead to any subpage. Unfortunately fa-wiki uses a not documented subpage. I asked Amir for a comment.
Comment 7 Kunal Mehta (Legoktm) 2013-10-05 04:47:48 UTC
- **status**: open --> open-accepted
Comment 8 Kunal Mehta (Legoktm) 2013-10-05 04:47:49 UTC
This appears to be a duplicate of, or at least closely related to, bug 1924322: https://sourceforge.net/tracker/?func=detail&aid=1924322&group\_id=93107&atid=603138
Comment 9 Ricordisamoa 2014-02-11 16:42:26 UTC
Could be a duplicate of Bug 54570 and Bug 55323
Comment 10 Ricordisamoa 2014-06-06 23:43:09 UTC

*** This bug has been marked as a duplicate of bug 55323 ***

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


Navigation
Links