A lot of small projects (or even WikiProjects on larger Wikimedian projects) don't have people who are able to make bots. This page intends to become a place for people who don't know to work with bots -- to ask for help.

This page is for internal Wikimedian usage and help to other non-profit projects. For hiring bot programmers and offering work with bots, look at WikiHR.

People who are willing to help

edit
  1. --Millosh 23:41, 8 April 2007 (UTC)[reply]
  2. FrancisTyers 23:53, 8 April 2007 (UTC)[reply]
  3. Betacommand 01:57, 9 April 2007 (UTC)[reply]
  4. ST47 (en:)
  5. Menasim 11:40, 11 April 2007 (UTC)[reply]
  6. Alai 04:17, 13 April 2007 (UTC)[reply]
  7. Andre Engels 02:16, 16 April 2007 (UTC)[reply]

Needs

edit

Please describe your needs below.

Currently functional bots

edit

Bot Creation

edit

I'm a regular contributor to a guitarists' sheet-music wiki called TabWiki (MediaWiki Version 1.4.2). I think some simple bots which check for proper categorization and template usage would be very useful for the site, but I couldn't find any documentation or source code online for how to program it. I understand that they tend to use the screen scraping technique, so I think I can retrieve the information I need from the site (e.g. Does this page have the such and such category added and the so and so template at the top?) Where I'm really stuck is how to post that information to the wiki? I suspect I have to use a series of "action=submit&wpSave&wpTextBox1=TEXT&wpStartTime=20070424..." stuff, but how exactly do I do it? Is there an online manual I can read? Sample source code? How can I post large amounts of text to "wpTextBox1" and make sure there is no problem putting arbitrary text as part of the URL? Is there a better (but still easy) way to do it?

I am somewhat of a novice C# programmer, but I feel comfortable with the language and I could learn whatever I need to get the job done. Any advice would be greatly appreciated!

-RockyRaccoon 05:34, 24 April 2007 (UTC)[reply]


Bots and the Snoopy Class

edit

I have WikiMedia set up on a PC running Windows XP professional with Apache Server 2.2.6 running and am using PHP v5.2.4 for the coding.

I am using the Snoopy class to edit an internal wikimedia project. I login successfully as the WikiSysop with the snoopy->submit() method. The http request return code is 302, which is good in this case.

Next I access the WikiSysop page with the snoopy->fetch() method. I have a plethora of echo statements in my PHP code, so I verify that I am getting what I expect. The http return code is 200 in this case. I am not sure if that is good or bad. I add a short string - about 50 basic characters - at the end of the textbox1 text. The size of the page that I am accessing is about 20Kb.

Next I use the snoopy->submit() to write the edited page back to the wiki. Again, the http request return code is 200 which, in this case, is bad. When I log back in as the WikiSysop, no changes appear.

So, I have this problem with the status/return code of 200. Any help and/or suggestions are appreciated as to correct the code so it edits.

I thank you and my puppies thank you. Roy F. Dvorak, Westminster, Colorado Roy 16:21, 25 October 2007 (MST)