Purple exclamation mark.svg Planning the future of Botwiki! - Help us bring Botwiki up to date, contribute to our strategy discussion, add bot scripts, and contribute manuals, guides, and tutorials! Almost anything related to bots, particularly those used to edit mediawiki, is welcome.

Red exclamation mark.svg UNABLE TO EDIT? - We've experienced attacks by spambots lately and now require you to confirm your e-mail before you can edit (go to your preferences, enter an e-mail address, and request a confirmation e-mail, then go to your e-mail and click on the confirmation link). We also require new accounts to make a few edits and wait a few minutes before before you can create a page; however, if this is a problem contact us in #botwiki and we can manually confirm your account. Sorry for the inconvenience.

Help:New script

From Botwiki
Jump to: navigation, search

We are happy that Botwiki has gotten your attention and that you decided to contribute to make it better. Here are some instructions for publishing your own scripts and sharing it with others via Botwiki:

  1. Create a page at the appropriate namespace (Python, Php, Perl...) with the code of your script and a short description. You can use the tags <source lang = "xx"></source> (where xx is the source language of your script; for instance python) to show script format well.
  2. Add a link to your script and your name at Botwiki:List of scripts to let others know your script exists.
  3. Create a corresponding page in the "Manual:" namespace to document your script.
  4. Your script will now be available to everybody.

If you want to see an example, you can take a look at Python:Welcome.py and the corresponding documentation at Manual:Welcome.py.

If you have a particularly useful script for the pywikipediabot framework, you may want to consider speaking to a pywikipediabot developer about having it added to the standard script package.

You may also Import or copy scripts written by others to botwiki, so long as they meet our licensing requirements and you provide proper sources (at the very least a url to the source and a url to the license if it is not included in the script. However, please do not copy the standard modules from pywikipediabot or the code or documentation to AWB here as these are actively maintained at other places and we don't have the resources to re-import them every time the code is updated. If you have questions, ask Doug or Snowolf or add a link to our list of resources and an administrator will determine where it belongs.

Personal tools
Share
In other languages