Hello again!

Sorry for asking this again, but what about this feature request? It
would be very helpful for my bot, since with this I could force the
PreloadingGenerator to drop irrelevant pages BEFORE preloading! Speed-up
and less traffic/load for mediawiki servers (and my bot on the tool-
server ;))

Greetings and Thanks a lot!
DrTrigon


Am 19.09.2010 00:06, schrieb Dr. Trigon:
> Hello all
>
> I'd like to suggest the code change given by the attached patch.
>
> The idea is to change RegexFilterPageGenerator a little bit. First
> change the 'regex' param to a list of regex(es) instead of 1 single.
> The whole list of regex will be checked for a positive match. The
> second change involves a new parameter 'invert' which, if set to
> True changes the generator from returning pages on ANY POSITIVE match
> to return page on NO POSITIVE match AT ALL. This way a positive
> (additive) and negative (subtractive) filter behaviour can be achieved.
>
> This would also be very helpful for my bot... ;)
>
> Thanks a lot and greetings
> DrTrigon
>
>
>
> _______________________________________________
> Pywikipedia-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to