[Pywikipedia-l] interwiki.py not cooperating with featured.py
info at gno.de
info at gno.de
Tue Aug 24 15:32:23 UTC 2010
Maybe we should deactivate this option and make the -top maintenance to the default since iw-bots could'nt handle it yet. If this is fixed, the game should be determining the rules for placing the templates on top or beside iw-links for each wiki in the family file instead giving each operator the choice for that.
----- Original Nachricht ----
Von: Jon Harald Søby <jhsoby at gmail.com>
An: info at gno.de
Datum: 25.05.2010 02:16
Betreff: Re: [Pywikipedia-l] interwiki.py not cooperating with featured.py
> Yes, I'm aware of that option, but it's not what I want; I want the links
> to
> stay next to the interwiki links, but interwiki.py makes that impossible,
> because it just moves them back up there. I don't think it would take too
> many lines of code to fix this, but as I said, I'm no programmer
> unfortunately.
>
> 2010/5/23 <info at gno.de>
>
> > 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 at gmail.com>
> > An: pywikipedia-l at 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 at 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
> >
>
>
>
> --
> Jon Harald Søby
> http://meta.wikimedia.org/wiki/User:Jon_Harald_S%C3%B8by
>
--
Der Newskiosk
Von Sommerloch keine Spur: Alle Top-News der großen Tageszeitungen aus Wirtschaft, Politik, Sport, Lifestyle und mehr im News-Kiosk auf arcor.de.
http://www.arcor.de/rd/footer.newskiosk
More information about the Pywikipedia-l
mailing list