Talk:Bot
Add topicWriting 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)
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):
- On around 205 registered user talk pages, it originates from an earlier version of Template:Welcome (see talk archive).
- On around 369 IP-user talk pages, it originates from an earlier version of Template:Welcomeip.
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 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)
- @Pipetricker:, proposed change was Done (made by search queries provided by you). --Kaganer (talk) 16:58, 30 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)
Dead link
[edit]Botwiki dead or down? —The preceding unsigned comment was added by 87.91.248.85 (talk • contribs) 11:22, 19 February 2019 (UTC)
The link is down now as well. ( User:FrequencyZero jan 18th 2020 )
Tutorial
[edit]Where is the tutorial to create a bot? —The preceding unsigned comment was added by 87.91.248.85 (talk • contribs) 11:22, 19 February 2019 (UTC)
Important: maintenance operation on September 1st
[edit]Read this message in another language
The Wikimedia Foundation will be testing its secondary data centre. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic to the secondary data centre on Tuesday, September 1st 2020.
Unfortunately, because of some limitations in MediaWiki, all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
You will be able to read, but not edit, all wikis for a short period of time.
- You will not be able to edit for up to an hour on Tuesday, September 1st. The test will start at 14:00 UTC (15:00 BST, 16:00 CEST, 10:00 EDT, 19:30 IST, 07:00 PDT, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday September 2).
- If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
Other effects:
- Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
- There will be code freezes for the week of September 1st, 2020. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can read the schedule at wikitech.wikimedia.org. Any changes will be announced in the schedule. There will be more notifications about this. Please share this information with your community.
User:Trizek (WMF) (talk) 10:30, 31 August 2020 (UTC)
Important: maintenance operation on October 27
[edit]Please help translate to your language Thank you.
This is a reminder of a message already sent to your wiki.
On Tuesday, October 27 2020, all wikis will be in read-only mode for a short period of time.
You will not be able to edit for up to an hour on Tuesday, October 27. The test will start at 14:00 UTC (14:00 WET, 15:00 CET, 10:00 EDT, 19:30 IST, 07:00 PDT, 23:00 JST, and in New Zealand at 03:00 NZDT on Wednesday October 28).
Background jobs will be slower and some may be dropped. This may have an impact on some bots work.
Know more about this operation.
-- User:Trizek (WMF) (talk) 09:25, 26 October 2020 (UTC)
I am running a bot because I want to welcome new users
[edit]This is Mr Baron von Fenton, I am running a bot called MetaWelcomeBot, so do you mind if this bot can perform welcome messages for newly created accounts please? -- 82.32.183.60 10:36, 27 February 2021 (UTC)
Server switch
[edit]Read this message in another language • Please help translate to your language
The Wikimedia Foundation tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
Unfortunately, because of some limitations in MediaWiki, all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
You will be able to read, but not edit, all wikis for a short period of time.
- You will not be able to edit for up to an hour on Tuesday, 29 June 2021. The test will start at 14:00 UTC (07:00 PDT, 10:00 EDT, 15:00 WEST/BST, 16:00 CEST, 19:30 IST, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday 30 June).
- If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
Other effects:
- Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
- There will be code freezes for the week of June 28. Non-essential code deployments will not happen.
SGrabarczuk (WMF) 01:23, 27 June 2021 (UTC)
Server switch
[edit]Read this message in another language • Please help translate to your language
The Wikimedia Foundation tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic back to the primary data center on Tuesday, 14 September 2021.
Unfortunately, because of some limitations in MediaWiki, all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
You will be able to read, but not edit, all wikis for a short period of time.
- You will not be able to edit for up to an hour on Tuesday, 14 September 2021. The test will start at 14:00 UTC (07:00 PDT, 10:00 EDT, 15:00 WEST/BST, 16:00 CEST, 19:30 IST, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday, 15 September).
- If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
Other effects:
- Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
- We expect the code deployments to happen as any other week. However, some case-by-case code freezes could punctually happen if the operation require them afterwards.
SGrabarczuk (WMF) (talk) 01:10, 11 September 2021 (UTC)
Bots need to upgrade to Pywikibot 6.6.1
[edit]Dear bot operators, bots running Pywikibot must upgrade to version 6.6.1 otherwise they will break when deprecated API parameters are removed. If you have any questions or need help in upgrading, please reach out using one of the Pywikibot communication channels.
Thanks, Legoktm (talk) 18:02, 22 September 2021 (UTC)
Your wiki will be in read only soon
[edit]Read this message in another language • Please help translate to your language
The Wikimedia Foundation tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
All traffic will switch on 1 March. The test will start at 14:00 UTC.
Unfortunately, because of some limitations in MediaWiki, all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
You will be able to read, but not edit, all wikis for a short period of time.
- You will not be able to edit for up to an hour on Wednesday 1 March 2023.
- If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
Other effects:
- Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
- We expect the code deployments to happen as any other week. However, some case-by-case code freezes could punctually happen if the operation require them afterwards.
- GitLab will be unavailable for about 90 minutes.
Trizek (WMF) (Discussion) 21:24, 27 February 2023 (UTC)
Your wiki will be in read-only soon
[edit]Read this message in another language • Please help translate to your language
The Wikimedia Foundation tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
All traffic will switch on 26 April. The test will start at 14:00 UTC.
Unfortunately, because of some limitations in MediaWiki, all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
You will be able to read, but not edit, all wikis for a short period of time.
- You will not be able to edit for up to an hour on Wednesday 26 April 2023.
- If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
Other effects:
- Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
- We expect the code deployments to happen as any other week. However, some case-by-case code freezes could punctually happen if the operation require them afterwards.
- GitLab will be unavailable for about 90 minutes.
MediaWiki message delivery 01:21, 21 April 2023 (UTC)
Your wiki will be in read-only soon
[edit]Read this message in another language • Please help translate to your language
The Wikimedia Foundation will switch the traffic between its data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
All traffic will switch on 20 September. The test will start at 14:00 UTC.
Unfortunately, because of some limitations in MediaWiki, all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
You will be able to read, but not edit, all wikis for a short period of time.
- You will not be able to edit for up to an hour on Wednesday 20 September 2023.
- If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
Other effects:
- Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
- We expect the code deployments to happen as any other week. However, some case-by-case code freezes could punctually happen if the operation require them afterwards.
- GitLab will be unavailable for about 90 minutes.