The following changes have been made in the Python Wikipediabot framework in the last 2 weeks (since January 19, to be precise). The bot can be downloaded at http://cvs.sourceforge.net/viewcvs.py/pywikipediabot/pywikipedia/; for each change it is specified which version of which file is needed. Later versions are always okay too. I will try to upload
BUGFIXES (please download when using the specified bot): For all bots (change in Wikimedia software makes submitting impossible otherwise): * wikipedia.py 1.391 * login.py 1.21 (security fix: login.py does not show login data on the screen)
For bots using categories: * catall.py 1.11 * category.py 1.29 * category.py 1.30 (only outside wikimedia)
For interwiki.py: * titletranslate.py 1.35 (when used for years)
For specific wikis: * wiktionary_family.py 1.20 (on Sicilian Wiktionary or Wiktionary interwiki)
NEW BOTS * pagefromfile.py: Reads a file consisting of a (large) number of wiki pages, and submits those to the site. Currently being used on the Sicilian Wiktionary. Strangely, this goes wrong on non-ASCII characters on Windows 2000, but works correctly on Windows XP (not checked on Linux yet).
MAJOR CHANGES * New system for waiting after an edit. The new system also looks at the time the previous edit took, and the number of bot processes you are running. In most cases the new version will wait less than the old one, but if the Wiki is slow or if you are running many bot processes, it will be slower. You need to upload new versions of all bots you use, because otherwise they will not remove themselves from the list of running bot processes when they are ended! (basic: wikipedia.py 1.394, config.py 1.41 * separate bots: brackethttp.py 1.8, catall.py 1.12, category.py 1.61, check_extern.py 1.10, config.py 1.39, copy_table.py 1.26, editarticle.py 1.17, extract_wikilinks.py 1.5, find.py 1.3, getimages.py 1.7, imageharvest.py 1.4, imagetransfer.py 1.25, interwiki.py 1.133, login.py 1.22, mediawiki_messages.py 1.21, pagefromfile.py 1.6, pagelist.py 1.17, recirect.py 1.18, replace.py 1.34, saveHTML.py 1.5, solve_disambiguation.py 1.124, splitwarning.py 1.4, sqldump.py 1.16, standardize_interwiki.py 1.5, table2wiki.py 1.60, template.py 1.11, test.py 1.17, touchall.py 1.4, upload.py 1.19, us-states.py 1.9, warnfile.py 1.13, wikipedia.py 1.392, windows_chars.py 1.19) * New functionality for imageharvest.py, which can now be used to get a number of images where the URL the same except for a numerical part (imageharvest.py 1.3) * New option on extract_wikilinks.py to get the pages sorted by title (extract_wikilinks.py 1.4) * The -wiktionary option for interwiki.py now works for capitalised wiktionaries too (titletranslate.py 1.37) * summaries in Portuguese added (catall.py 1.10, redirect.py 1.17) * bot can be used on wiki.mozilla.org (family mozilla) (mozilla_family.py 1.2)
MINOR CHANGES: * contents has been updated (CONTENTS 1.35) * Spanish titles of day pages added (date.py 1.17) * namespace names in Spanish (family.py 1.19) * bot does not ask for copyright and source when uploading (lib_images 1.61) * removing a resolved issue in nl-exceptions (nl-exceptions.dat 1.21)
I want to add a button to the edit tool bar on my wiki that automatically adds some text to help users structure their entries - however I also need to add line breaks (the equivalent of <br> in HTML) - I've looked at the documentation on Wiki Markup but can't find the answer.
Anyone know if this can be done?
Paul Youlten ----- Original Message ----- From: "Andre Engels" andreengels@gmail.com To: pywikipediabot-users@lists.sourceforge.net; "Wikimedia developers" wikitech-l@wikimedia.org; "De discussielijst van de Nederlandstalige Wikipedia" wikinl-l@wikipedia.org Sent: Sunday, February 06, 2005 10:32 PM Subject: [Wikitech-l] Python Wikipediabot framework recent changes
The following changes have been made in the Python Wikipediabot framework in the last 2 weeks (since January 19, to be precise). The bot can be downloaded at http://cvs.sourceforge.net/viewcvs.py/pywikipediabot/pywikipedia/; for each change it is specified which version of which file is needed. Later versions are always okay too. I will try to upload
BUGFIXES (please download when using the specified bot): For all bots (change in Wikimedia software makes submitting impossible otherwise):
- wikipedia.py 1.391
- login.py 1.21 (security fix: login.py does not show login data on the
screen)
For bots using categories:
- catall.py 1.11
- category.py 1.29
- category.py 1.30 (only outside wikimedia)
For interwiki.py:
- titletranslate.py 1.35 (when used for years)
For specific wikis:
- wiktionary_family.py 1.20 (on Sicilian Wiktionary or Wiktionary
interwiki)
NEW BOTS
- pagefromfile.py: Reads a file consisting of a (large) number of wiki
pages, and submits those to the site. Currently being used on the Sicilian Wiktionary. Strangely, this goes wrong on non-ASCII characters on Windows 2000, but works correctly on Windows XP (not checked on Linux yet).
MAJOR CHANGES
- New system for waiting after an edit. The new system also looks at
the time the previous edit took, and the number of bot processes you are running. In most cases the new version will wait less than the old one, but if the Wiki is slow or if you are running many bot processes, it will be slower. You need to upload new versions of all bots you use, because otherwise they will not remove themselves from the list of running bot processes when they are ended! (basic: wikipedia.py 1.394, config.py 1.41 * separate bots: brackethttp.py 1.8, catall.py 1.12, category.py 1.61, check_extern.py 1.10, config.py 1.39, copy_table.py 1.26, editarticle.py 1.17, extract_wikilinks.py 1.5, find.py 1.3, getimages.py 1.7, imageharvest.py 1.4, imagetransfer.py 1.25, interwiki.py 1.133, login.py 1.22, mediawiki_messages.py 1.21, pagefromfile.py 1.6, pagelist.py 1.17, recirect.py 1.18, replace.py 1.34, saveHTML.py 1.5, solve_disambiguation.py 1.124, splitwarning.py 1.4, sqldump.py 1.16, standardize_interwiki.py 1.5, table2wiki.py 1.60, template.py 1.11, test.py 1.17, touchall.py 1.4, upload.py 1.19, us-states.py 1.9, warnfile.py 1.13, wikipedia.py 1.392, windows_chars.py 1.19)
- New functionality for imageharvest.py, which can now be used to get
a number of images where the URL the same except for a numerical part (imageharvest.py 1.3)
- New option on extract_wikilinks.py to get the pages sorted by title
(extract_wikilinks.py 1.4)
- The -wiktionary option for interwiki.py now works for capitalised
wiktionaries too (titletranslate.py 1.37)
- summaries in Portuguese added (catall.py 1.10, redirect.py 1.17)
- bot can be used on wiki.mozilla.org (family mozilla) (mozilla_family.py
1.2)
MINOR CHANGES:
- contents has been updated (CONTENTS 1.35)
- Spanish titles of day pages added (date.py 1.17)
- namespace names in Spanish (family.py 1.19)
- bot does not ask for copyright and source when uploading (lib_images
1.61)
- removing a resolved issue in nl-exceptions (nl-exceptions.dat 1.21)
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On Sun, 6 Feb 2005, Paul Youlten wrote:
I want to add a button to the edit tool bar on my wiki that automatically adds some text to help users structure their entries - however I also need to add line breaks (the equivalent of <br> in HTML) - I've looked at the documentation on Wiki Markup but can't find the answer.
Anyone know if this can be done?
With <br>
:-) Alfio
no - that just adds <br> onto the edit page.
I think I've got it working with \n\n
thanks
Paul Youlten mobile: +44(0)7814 517 807 ----- Original Message ----- From: "Alfio Puglisi" puglisi@arcetri.astro.it To: "Wikimedia developers" wikitech-l@wikimedia.org Sent: Sunday, February 06, 2005 11:10 PM Subject: Re: [Wikitech-l] <br> in Wiki Mark up
On Sun, 6 Feb 2005, Paul Youlten wrote:
I want to add a button to the edit tool bar on my wiki that automatically adds some text to help users structure their entries - however I also need to add line breaks (the equivalent of <br> in HTML) - I've looked at the documentation on Wiki Markup but can't find the answer.
Anyone know if this can be done?
With <br>
:-) Alfio _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
I forgot to mention that as a result in changes to the Wikipedia software, the bot will not be able to submit when not logged in. Also, the change of waiting behaviour had some bugs. These (or at least those of them that have been found upto now :-0 ) have been corrected in wikipedia.py 1.394, catall.py 1.13, category.py 1.62, pagefromfile.py 1.7
Furthermore, I have not been able to upload a new version to sourceforge, but those interested can get a zipped version of the full bot from me.
Andre Engels
On Sun, 6 Feb 2005 22:32:51 +0100, Andre Engels andreengels@gmail.com wrote:
The following changes have been made in the Python Wikipediabot framework in the last 2 weeks (since January 19, to be precise). The bot can be downloaded at http://cvs.sourceforge.net/viewcvs.py/pywikipediabot/pywikipedia/; for each change it is specified which version of which file is needed.
wikitech-l@lists.wikimedia.org