Bugs item #2011362, was opened at 2008-07-05 20:07 Message generated for change (Settings changed) made by siebrand You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362...
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: None Group: None
Status: Closed Resolution: Accepted
Priority: 5 Private: No Submitted By: Melancholie (melancholie) Assigned to: Nobody/Anonymous (nobody) Summary: Update featured.py (patch)
Initial Comment: Both, hiwiki and yiwiki do use Template:Link_FA, the pages hi:Template:Lien AdQ and yi:Template:רא are only redirects.
By re-adding 'Link FA' to the langs arrays, Template:Link_FA will be used by the bot (otherewise those redirects).
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 10:08
Message: Applied in r6299. Thanks.
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-11-13 12:02
Message: update File Added: featured.diff
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-09-07 09:22
Message: Logged In: YES user_id=2089773 Originator: YES
syncing File Added: featured.diff
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-08-28 09:20
Message: Logged In: YES user_id=2089773 Originator: YES
Added 'cy', see http://als.wikipedia.org/wiki/Benutzer_Diskussion:Melancholie#via_roboto_.2F... File Added: featured.diff
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-08-18 23:45
Message: Logged In: YES user_id=2089773 Originator: YES
File Added: featured.diff
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-08-18 23:44
Message: Logged In: YES user_id=2089773 Originator: YES
Added szl category File Added: featured.diff
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-08-05 13:50
Message: Logged In: YES user_id=2089773 Originator: YES
added patch (working current) File Added: featured.diff
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-07-11 07:51
Message: Logged In: YES user_id=2089773 Originator: YES
Maybe I was a little bit too imprecise ;-) Here is what I mean:
templatelist = template['_default'] try: templatelist += template[tosite.lang]
+ (u" {{%s|%s}}" % (templatelist[0], fromsite.lang))
templatelist[0] is 'Link FA', but the localized templates used are templatelist[1]. If there is a localized template (with Link_FA being only a redirect) it should be used for edit. So it might be good to change the order (make 'try:' first, add _default with +=)
For hi, yi the easiest way might be to just comment out the localized template names, as they are only redirects to Link_FA.
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-07-10 11:59
Message: Logged In: YES user_id=2089773 Originator: YES
So {{Link FA}} is always the first choice? Or does _default actually follow redirects?
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz) Date: 2008-07-10 10:41
Message: Logged In: YES user_id=1963242 Originator: NO
I'm not sure melancholie :)
I added {{Leam VdC}} in r5707, however, since r5669 ( https://fisheye.toolserver.org/browse/pywikipedia/trunk/pywikipedia/featured... ) it uses the '_default' entry (Link FA) AND the locale entry. The list for hi: is for example ['Link Fa', 'Lien AdQ']
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2008-07-10 10:28
Message: Logged In: YES user_id=2089773 Originator: YES
Furthermore, add http://fur.wikipedia.org/wiki/Model:Leam_VdC
[I wish I were able to do this things myself, but *still* no account yet]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362...
pywikipedia-l@lists.wikimedia.org