[Bug 55105] Add a new option to interwiki.py

2013-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

xqt  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
 CC||i...@gno.de

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

Kunal Mehta (Legoktm)  changed:

   What|Removed |Added

   See Also||https://sourceforge.net/p/p
   ||ywikipediabot/feature-reque
   ||sts/137

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

--- Comment #1 from Kunal Mehta (Legoktm)  ---
Hint: You can also solve the problem by inserting all the hints in the starting
page, and use the -localright parameter. If you are uncertain that you got all,
use -confirm and you will be able to interrupt the bot when it comes accross a
missing link which it tries to delete.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

--- Comment #3 from Kunal Mehta (Legoktm)  ---
Hello,

Thank you for your comment.
But I do not think the -localright parameter does what I need.
I do not want to modify the local page because I do not want to add links that
do not exist \(yet\).
I am 100% sure the hint "fr:category:décès\_en\_2000" \(for
"en:category:2000\_deaths"\) is right if it exists, but it might not exist yet.

Since the code for -localright exists, maybe the code for -hintisright can be
easily implemented.

Best regards,

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

--- Comment #7 from Kunal Mehta (Legoktm)  ---
- **status**: pending --> open

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

--- Comment #4 from Kunal Mehta (Legoktm)  ---
I gave it a try with -hintsareright

If used, and a hint to an existing page is given, any interlanguage links to
the site of that hint are ignored, and a note "extra interwiki on hinted site
ignored" with the appropriate names is output to the console.
Hints can be given on the command line, in a file, etc. and interactively.
Before interactive hints are knows, i.e. concerning links in the starting page,
-hintsareright has no effect.

It also does not work on hints to sites where there are no pages found. If you
need that, it is an extra feature which, I believe, is a bit more complicated
to implement.

Not using -hintsareright should not make a difference to what we had before, so
I just submitted the change to svn as r 6341 for you to try it out. Let me know
if it fits your needs.
If so, this bug can be closed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

--- Comment #2 from Kunal Mehta (Legoktm)  ---
- **labels**:  --> interwiki

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

--- Comment #6 from Kunal Mehta (Legoktm)  ---
Hello,

Thank you for your interest in my proposal.

I have done some testing.

Your option does not do what I expected.

Here is a real-world example. I want to update the interwikis for year 15.
So I do something like:
python interwiki.py -lang:pt -noredirect 15 \
-hint:aa,ab,af,an,ang,ar,arc,arz,ast,av,ay,az,ba,bat-smg,bcl,be,be-x-old,bg,br,bs,bug,bxr,ca,cbk-zam,ceb,chr,co,cr,crh,cs,csb,cv,cy
\
-hint:da,de,diq,dsb,dv,ee,el,en,eo,es,et,eu,ext,fi,fiu-vro,fo,fr,frp,fur,fy,ga,gd,gl,glk,gn,got,gu,gv,haw,he,hi,hif,hsb,hu,hy
\
-hint:ia,id,ie,ig,ilo,io,is,it,iu,jv,ka,kab,kg,kk,ks,ku,kw,ky,la,lb,li,lij,lmo,ln,lo,lv,map-bms,mdf,mg,mi,mk,ml,mn,ms,mt,mzn
\
-hint:na,nah,nap,nds,nds-nl,nl,nn,no,nov,nrm,nv,ny,oc,om,os,pa,pag,pam,pap,pdc,pih,pl,pms,pt,qu,rm,rmy,ro,roa-rup
\
-hint:sa,sc,scn,sco,sd,se,sg,sh,si,simple,sk,sl,sm,so,sq,sr,ss,stq,su,sv,sw,szl,ta,te,tet,tg,tk,tl,tpi,tr,tt,ty,uk,uz
\
-hint:vec,vi,vls,vo,wa,war,yi,yo,zea,zu

\(plus some other hints I did not include for simplicity\).

The page ty:15 contains wrong interwiki rights, they point to year 14.

So I am asked to answer I huge number of questions, e.g. between no:14 and
no:15

With the new option, I expected that the link no:14 is ignored since no:15 was
provided as a hint and it exists.

Is that more clear?

Best regards,

Marc-Etienne

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 55105] Add a new option to interwiki.py

2013-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=55105

--- Comment #5 from Kunal Mehta (Legoktm)  ---
- **assigned_to**: nobody --> purodha
- **status**: open --> pending

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l