Wikisource:Bots/scripts

Bots (archived scripts)

This is a library of bot scripts that can be re-used for similar tasks in the future.

Pywikipedia frameworkEdit

EditsEdit

script author purpose
demosthenes-endnotes.py GrafZahl integrates the endnotes of The Public Orations of Demosthenes into the text as footnotes.
replace-link.py GrafZahl replaces a link given a list of pages.
16 .py JackPotte format the pages according some various parameters.

DeletionEdit

script author purpose
rm-soft-redir.py GrafZahl Updates links to soft redirects, and either logs or deletes the soft redirects.

MovesEdit

script author purpose
atoeam1-move.py GrafZahl Move A Treatise on Electricity and Magnetism pages, place soft redirects, and control transclusion.
un-res.py GrafZahl Move UN resolution pages and place soft redirects.
clinton-xo.py GrafZahl Move Clinton executive orders and place soft redirects.

MiscellaneousEdit

script author purpose
header_check.py GrafZahl Creates a list of pages missing headers.
spot-double-redirects.py GrafZahl Detects double redirects (soft or hard).
rm-soft-redir-helper.py GrafZahl Detects hard redirects incorrectly classified as soft and obtains a list of soft redirects with their targets.

Other scriptsEdit

EditsEdit

script author purpose
User:AndreasJ/gutenbergnotes.vim AndreasJ Vim script toFormat footnotes from some Project Gutenberg files.


See alsoEdit