Talk:Bot

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Writing a bot[edit]

I want to write and run a bot to perform simple tasks. I was gonna start with adding user pages to a user category. I figure if i can do that i can figure out how to do other stuff too. I've been looking around some bot pages, but not having any formal or extensive knowledge of programming, networks or the internet, I'm still not sure what to do. I can't seem to find source code for simple bots to modify, and even if i wrote a bot, I wouldn't be sure what to do with it. Do i have to have it installed on some kind of server, or can i just activate it on my computer at home when i want to run it? —The preceding unsigned comment was added by Steveire (talk) 00:14, 10 November 2005 (UTC)

This service page probably contains all the info that you need about getting and/or running a bot on one (or more) Wikimedia projects. --M/ 00:20, 10 November 2005 (UTC)

Give me a bot that finds spam urls[edit]

Hi, can anyone give me a bot that finds spam urls in my wiki and reverts them to a previous version. If i input a blacklist of URL's and it found them itself. Spammers are posting many urls on lots of different pages to spam sites. Thanks. --86.138.109.70 10:42, 21 April 2006 (UTC)

Bot Error[edit]

I'm trying to write my own bot in Perl, but i'm getting a simple and stupid error that I can't quite figure out. I send out a get request:

GET /wiki/Wikibooks_portal HTTP/1.0 
Host: en.wikibooks.org
User-Agent: mybot
Content-Type: application/x-www-form-urlencoded

and I always get an "HTTP/1.0 404 Not Found" error. However, if i change my resource to "/" instead "/wiki/Wikibooks_portal", it gets found perfectly. Is there something special that I am missing? --Whiteknight 04:17, 22 May 2006 (UTC)

PS: It doesnt work for any sub-resource, only the root resource. If i change the url, I can look at sub-resources on other web-servers, however. That means that it is doing something different on wikimedia servers (i've done several tests on different project pages). --Whiteknight 04:21, 22 May 2006 (UTC)

I want to make a bot for my own mediawiki[edit]

All explanation are for running a bot for wikipedia, wiki... There is no explanation about how to run its own bot. Where do I input the url of my mediawiki for the bot to connect please? —The preceding unsigned comment was added by 212.27.60.48 (talk) 05:24, 3 January 2007 (UTC)

Simple bot to access wiki content?[edit]

I'm not sure if this fits here, but here goes: I would like to write a bot to do something like accessing a wikimedia server (ex. wiktionary). It would not do anything but access the information, and the retrieved data would be saved to a local database (updateable periodically). It's intended use is a service for an IRC bot that allows it to retrieve data and send it to an IRC channel. Does this fit here (if not, then where might it?), and would this be considered acceptable use? Thanks, Timothyb89 07:52, 2 December 2007 (UTC)

Dumps. MaxSem(Han shot first!) 09:59, 2 December 2007 (UTC)

Question[edit]

Would it be a ground for blocking if a user denies bot processes being done with one's account but a bot process is indeed being done? -- Felipe Aira 11:03, 4 January 2008 (UTC)

Possibly. That's a question for the local community, actually. If the edits are helpful, I'd suggest instead granting that user a bot account to perform those edits instead, however.~Kylu (u|t) 23:44, 4 March 2008 (UTC)

Bot creation[edit]

How easy would it be to create a bot to change all instances of ƿ to w and all instances of ȝ to g for the Anglo-Saxon wikipedia, maintaining case (capital/lowercase)? --JJohnson1701 07:28, 11 January 2009 (UTC)

Trivial to do, but probably not a good idea - nearly every page would have to be edited.  — Mike.lifeguard | @en.wb 19:30, 11 January 2009 (UTC)

Creation of bot TrufflesBot I[edit]

This is just ClueBot exported here to fight vandalism. I asked Cobi on Wikipedia whether it would be OK for me to use it on another wiki. When he responds I'll change the notice to "Go ahead". The source is at the user page.

Don't go ahead yet! Professor Fiendish 08:11, 29 August 2009 (UTC)

Where is the best place to ask for bot assistance for maintenance of Meta-Wiki?[edit]

I have noticed a need for maintenance of a few hundred Meta-Wiki pages. They all need the same simple edit which I expect to be uncontroversial.

What is the best place to ask for assistance by a bot for this? Is it this talk page, or some other page? I don't wish to run a bot of my own. --Pipetricker (talk) 01:41, 10 January 2018 (UTC)

I still would appreciate an answer to the above question, but I might as well post the bot task I'm thinking of: see the subtopic below. --Pipetricker (talk) 11:05, 10 January 2018 (UTC)

Is there a bot which can do this simple maintenance on Meta-Wiki?[edit]

A number of user talk pages on Meta-Wiki improperly have __NOEDITSECTION__, which inhibits discussion by removing the [edit] link from all sections on the page.

__NOEDITSECTION__ was added by substing Welcome templates on pages as follows (disregarding archives):

I would like a bot to remove __NOEDITSECTION__ from those pages.

Pages which should be fixed have __NOEDITSECTION__ on a line by itself at the very top of the wikitext. Pages deviating from that, as well as subpages (such as archives), should be skipped by the bot. --Pipetricker (talk) 11:05, 10 January 2018 (UTC)

Is this a necessary task? --MF-W 15:40, 11 January 2018 (UTC)
I haven't noticed any necessity. Feel free to prioritize it as low as you like. (Maybe I'll fix one page each day I find the time.) --Pipetricker (talk) 17:14, 11 January 2018 (UTC)
@Pipetricker:, proposed change was Yes check.svg Done (made by search queries provided by you). --Kaganer (talk) 16:58, 30 January 2018 (UTC)
Oh, nice. Thank you.
Note: Done by Kaganer's TheStoneBot. --Pipetricker (talk) 20:13, 30 January 2018 (UTC)