copyright.py

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

copyright.py

Leonardo Gregianin
Taken from the tracker, Francesco Cosoleto said:

Hi, here you find bug fixes, minor enhancements and a
new script. Please, consider if it's something of
useful.

Summary:

* wikipedia.py: in def replaceExceptMathNowikiAndComments(): 'index'
variable wasn't always set right due to replace string may have group
references.

* family.py: useful linktrails for Italian language

* cosmetic_changes.py: Spaces inversion in wikilink ('text[ ' -> 'text
[') and remove unnecessary initial and final spaces. It treats also the
[link | label] case, but some editors seem to prefer spaces around
pipes. See [[en:Wikipedia:Semi-bots]]).

* copyright.py: This code is to find simple copyright violation. It
follows replace.py command line interface and requires extra modules for
web search engines. It's the core that I use to provide a copyright
violation notification service in Italian Wikipedia at the
moment readable in the page [[it:User:RevertBot/Report]]. I think work
fine with Google, unfortunately with Yahoo! gives troubles
(mistakes and SPAM in search result). It also include a link exclusion
system to discard Wikipedia clone and similar problems.

Opinions...

Regards,
leonardo.

_______________________________________________
Wikibots-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/wikibots-l