Support Requests item #1789036, was opened at 2007-09-06 01:10
Message generated for change (Comment added) made by wikipedian
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=178903…
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: Open
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: -nobacklink option removed?
Initial Comment:
I would like to know if the option -nobacklink has been removed from interwiki.py.
I always used this option to reduce processing times and also CPU consumption (while
displaying the backlink warnings, the CPU reaches 100% for some seconds, freezing other
processes almost completely).
Thanks.
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date:
2007-09-06 01:58
Message:
Logged In: YES
user_id=880694
Originator: NO
Hi André,
first of all, I have sped up the backlink processing code. It is still
slow, but not as slow as it used to be. Here is my commit message from
2007-08-13:
----
By making use of dictionaries and sets, decreased complexity from O(n^3)
to O(n^2).
For example, the backlinks report for
python interwiki.py -lang:de Indien -localonly
is now generated in 26 seconds, instead of the 190 seconds that were
needed before.
----
Also, I thought that this is something you don't want to change each time
you run the bot. Either you always want them, or you never do (IMHO). Thus,
a command-line parameter just wasn't the right thing, especially because
interwiki.py has way too many of them, which makes it hard to learn.
Instead, you can now add this in your user-config.py:
interwiki_backlink = False
Is that OK for you?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=178903…