Luckas Blade
Dołączył 8 paź 2008
Usunięta treść Dodana treść
→Luckas.ot flag: nowa sekcja |
m →Odp:Bot: <source> -> <syntaxhighlight> |
||
Linia 7:
I have never run pywikipedia bot (my Olafbot uses Java), but is it really so hard to configure to give up immediately? Having a look at the source code, I found an interesting option in family.py:
<
# String used as separator between interwiki links and the text
self.interwiki_text_separator = '\r\n\r\n'
</syntaxhighlight>
It is used in pywikibot/textlib.py and seems to be responsible for those annoying white lines.
I think, you should add in families/wiktionary_family.py someting like:
<
self.interwiki_text_separator = ''
</syntaxhighlight>
or perhaps
|