Feature Requests item #2795933, was opened at 2009-05-24 05:00 Message generated for change (Tracker Item Submitted) made by ronga You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2795933...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Ronga (ronga) Assigned to: Nobody/Anonymous (nobody) Summary: Documentation mistakes at add_text.py
Initial Comment: I have improved the documentation of add_text.py a bit, and fix a few mistakes found. I would like to propose this change to be applied.
You may view the diff online here: http://botwiki.sno.cc/w/index.php?title=Python%3AAdd_text.py&diff=5955&a...
The new text: ==================================================================== This is a Bot written by Filnik to add a text at the end of the page but above categories, interwiki and template for the stars of the interwiki (default).
Alternatively it may also add a text at the top of the page.
These command line parameters can be used to specify which pages to work on:
¶ms;
Furthermore, the following command line parameters are supported:
-page Use a page as generator -text Define which text to add -summary Define the summary to use -except Use a regex to check if the text is already in the page -excepturl Use the html page as text where you want to see if there's the text, not the wiki-page. -newimages Add text in the new images -untagged Add text in the images that don't have any license template -always If used, the bot won't ask if it should add the text specified -up If used, put the text at the very top of the page
--- Example --- 1. # This is a script to add a template to the very top of the pages with category:catname python add_text.py -cat:catname -summary:"Bot: Adding a template" -text:"{{Something}}" -except:"{{([Tt]emplate:|)[Ss]omething" -up
2. # Command used on it.wikipedia to put the template in the page without any category. # But warning! Put it in a line, otherwise it won't work correctly.
python add_text.py -excepturl:"class='catlinks'>" -uncat -text:"{{Categorizzare}}" -except:"{{([Tt]emplate:|)[Cc]ategorizzare" -summary:"Bot: Aggiungo template Categorizzare"
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2795933...
pywikipedia-bugs@lists.wikimedia.org