This page describes a script. In general, it refers to the script in its current form, but pywikpedia coders tend only to add functions, not take them away. Chances are that you'll be able to use most of the information on the page, regardless of the age of your installation.
|What it does:||Adds a string of text to a page.|
Add_text.py is a simple script that can add a string of text to either the top or bottom of a page. This can be used to do things like adding a template or another category to a large group of pages.
Command line examples[edit | edit source]
When using this script to add things like templates or categories to large groups of pages, it is generally best to add them to the bottom of the page. You can do this by using the following command:
python add_text.py -page:"" (if adding to a specific page) -cat:"" (if adding to a specific category)
When using this script to add things to the top of a page, you will instead use this command:
python add_text.py -page:"" (if adding to a specific page) -cat:"" (if adding to a specific category) -up (this is what adds the text to the top of the page)
Full list of available parameters[edit | edit source]