[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pywikipediabot-users
Subject:    Re: [Pywikipedia-l] interwiki.py not cooperating with featured.py
From:       info () gno ! de
Date:       2010-05-23 19:27:05
Message-ID: 2493551.1274642825646.JavaMail.ngmail () webmail17 ! arcor-online ! net
[Download RAW message or body]

Yo should use -top option if you want to move all {{Link FA|lang}} to the top of the \
interwiki links as described on the documentation.

Greetings
xqt


----- Original Nachricht ----
Von:     Jon Harald Søby <jhsoby@gmail.com>
An:      pywikipedia-l@lists.wikimedia.org
Datum:   20.05.2010 21:22
Betreff: [Pywikipedia-l] interwiki.py not cooperating with featured.py

> Hi!
> 
> I recently started using my bot again (after some time), and was delighted
> to discover that featured.py now places the {{Link FA|xx}} templates next
> to
> the interwiki link to that language instead of above all the interwikis
> (AFAIR that was not the case a few years ago). However, interwiki.py does
> not cooperate with this, and when it finds a {{Link FA|xx}} template in the
> interwiki section of a page, it moves it to above the interwikis. This, as
> you understand, voids the improved behaviour of featured.py. For example,
> see [1] vs [2].
> 
> Unfortunately I don't know enough python to fix this myself, but I would
> like to suggest that (1) interwiki.py, when it finds them, places the
> {{Link
> FA|xx}} templates next to the [[xx:Yyy]] links, like featured.py does, and
> that (2) featured.py places all {{Link FA|xx}} templates it finds next to
> their respective [[xx:Yyy]] links, and not just the one it is currently
> working on. (As you can see from [2] there are previous {{Link FA}}
> templates there as well, and the result after a few rounds of featured.py
> and then interwiki.py can be a bit messy, see [3].) It would also be good
> if
> featured.py would change the English names of the templates to the
> localized
> versions where they exist (e.g. Link FA -> Link UA and Link GA -> Link AA
> for Norwegian).
> 
> I hope these requests aren't too difficult to fix; as I know very littel
> python I don't really know what it would take to fix them, unfortunately.
> 
> [1]
> http://no.wikipedia.org/w/index.php?title=Indonesia&action=historysubmit&dif
> f=7138198&oldid=7131261
> [2]
> http://no.wikipedia.org/w/index.php?title=Indonesia&action=historysubmit&dif
> f=7149308&oldid=7138198
> [3]
> http://no.wikipedia.org/w/index.php?title=Indonesia&oldid=7149308&action=edi
> t
> 
> -- 
> Jon Harald Søby
> http://meta.wikimedia.org/wiki/User:Jon_Harald_S%C3%B8by
> 
> 
> --------------------------------
> 
> _______________________________________________
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> 

Und was machen Sie heute abend? Alles Events Ihrer Gegend auf einen Blick im \
Arcor.de-Veranstaltungskalender: http://www.arcor.de/rd/footer.events

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic