2012/1/15 Merlijn van Deen <[email protected]>

> On 13 May 2011 19:20, Lucas Nunes <[email protected]> wrote:
>
>>  Since Interwicket stopped on wiktionaries, plwiktionary has not a fix
>> interwiki bot. They want the iwikis added at the top of the page, but
>> without creating new lines after the links. Pywikipedia does exactly the
>> opposite, it creates these "new lines". It would be good if someone make a
>> code to change that.
>>
>>
> I created a tracker item for this at
> https://sourceforge.net/tracker/?group_id=93107&atid=603138
>
> If you could specify what you mean with 'iwikis added at the top of the
> page, but without creating new lines after the links', that would be
> helpful (include an example of the 'wrong' and the 'correct' versions).
>
> Merlijn
>
>
> _______________________________________________
> Pywikipedia-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
This *should* already be in place. wiktionary_family.py has this on lines
683-685:

        self.interwiki_on_one_line = ['pl']

        self.interwiki_attop = ['pl']

Which should fix that. I copied that over to my wikipedia_family.py and did
a test on the 
sandbox<https://no.wikipedia.org/w/index.php?title=Wikipedia:Sandkasse&diff=9970369&oldid=9966679>,
and it worked fine.

Have you actually tested it on plwiktionary to see if it works, Lucas?

-- 
mvh
Jon Harald Søby <http://meta.wikimedia.org/wiki/User:Jon_Harald_S%C3%B8by>
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to