Jump to content

Wikisource:Bots/scripts

From Wikisource
Bots (archived scripts)

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

Pywikipedia framework

[edit]

Edits

[edit]
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.

Deletion

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

Moves

[edit]
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.

Miscellaneous

[edit]
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 scripts

[edit]

Edits

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


See also

[edit]