[Pywikipedia-bugs] [ pywikipediabot-Bugs-3427660 ] template with /doc subpage interwiki.py has problem

SourceForge.net noreply at sourceforge.net
Mon Oct 24 16:03:27 UTC 2011


Bugs item #3427660, was opened at 2011-10-24 05:23
Message generated for change (Settings changed) made by xqt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3427660&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: interwiki
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: reza  (reza1615)
Assigned to: xqt (xqt)
Summary: template with /doc subpage interwiki.py has problem

Initial Comment:
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 By: xqt (xqt)
Date: 2011-10-24 18:03

Message:
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 By: reza  (reza1615)
Date: 2011-10-24 13:49

Message:
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 By: xqt (xqt)
Date: 2011-10-24 07:18

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3427660&group_id=93107



More information about the Pywikipedia-bugs mailing list