Wikipedia talk:Bots/Archive 6

From Wikipedia, the free encyclopedia

Archive This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.

Contents

VFD Hourly Discussions

I know that Anthony_DiPierro was running a bot to update his own personal subpage to keep a track of the hourly discussions... but since the format on VFD has changed, he has not fixed his hourly discussions. I would like to use a bot for the purpose of updating a subpage on my user page, keeping a track of all the new discussions being added by the hour. -- AllyUnion (talk) 04:26, 2 Feb 2005 (UTC)

You mean just links to the newly created vote-pages or also links to changes in vote pages? What exactly do you hope to achieve, I think if we're going to run a bot on VfD we might as well make it one that organises VfD in such a way you don't need to run a personal bot to check for new VfDs. --fvw* 04:32, 2005 Feb 2 (UTC)
Each hour, it would post links to any new VFD discussions, keeping 7 days of VFD on the list. Here's a sample of what I mean: User:AllyUnion/VFD_List -- AllyUnion (talk) 07:53, 2 Feb 2005 (UTC)
Ah, right. I don't find it very elegant (and I think doing it hourly instead of on-demand maybe wasting server resources unless a lot of people use it), but as long as VfD isn't reorganised into something that can provide something similar, support. --fvw* 08:20, 2005 Feb 2 (UTC)
Well, there is no elegance in utility, unless you make it that way. I'm going for functionality over pretty. -- AllyUnion (talk) 11:23, 2 Feb 2005 (UTC)
Support. The server resources used by running a script once an hour are negligible. anthony 警告 20:33, 4 Feb 2005 (UTC)
The bot is using pywikipediabot framework, and is currently running to do this task. -- AllyUnion (talk) 02:24, 7 Feb 2005 (UTC)
The bot works! And if there is no objection soon, I would like to request a bot flag for the bot. -- AllyUnion (talk) 10:47, 8 Feb 2005 (UTC)
I don't think you should set a bot flag on an account that is not used exclusively as a bot. Allyunion used to be your real account. I would rather this were renamed to a non-used account, and one that isn't so similar to your current user name, in order to avoid confusion. Angela. 10:46, Feb 19, 2005 (UTC)
Okay. I'll create a new account for the bot. See User:VFD Bot. -- AllyUnion (talk) 04:50, 24 Feb 2005 (UTC)

Additional uses to bot (User:Allyunion)

Well, due to the security update, I will not be able to implement this bot yet, but I would like the approval to have my bot additionally do the following tasks at roughly exactly around every 00:00 UTC:

  1. Add each VFD subpage day. Example: {{Wikipedia:Votes for deletion/Log/2005 February 5}}
    Reason for this is because the VFD system has changed such that each day has a subpage for VFD based on the UTC clock. The transincludes must be included every day in order to properly present the VFD. -- AllyUnion (talk) 17:07, 5 Feb 2005 (UTC)
  2. Edit each new subpage day to include: == MONTHNAME DATE == (Like == February 5 ==)
    Again, VFD system changed, and each day will require to display its day section, allowing a person direct access to the VFD day. -- AllyUnion (talk) 17:07, 5 Feb 2005 (UTC)
  3. Take the last recently moved subpage day (transinclude) to Wikipedia:Votes for deletion/Old, edit all VFD subpages to include the content from Template:Vfd top and Template:Vfd bottom. (This bot will not count any of the votes, just merely include content from the templates, making it easier on the maintainers)
    Each VFD subpage includes the content from both of these templates. I believe they are not applied due to the technical limitations of the number of templates that can be used on each page. -- AllyUnion (talk) 17:07, 5 Feb 2005 (UTC)
    I have decided not to do this feature, until the bot really can do something useful. -- AllyUnion (talk) 00:59, 6 Feb 2005 (UTC)
    Actually, rethinking to add the content from Template:Vfd top and Template:Vfd bottom but as HTML comments, on all VFD subpages after moved to WP:VFD/Old -- AllyUnion (talk) 07:13, 6 Feb 2005 (UTC)

-- AllyUnion (talk) 17:07, 5 Feb 2005 (UTC)

Having a bot to update VfD would be wonderful. One suggestion: as step 3), have it create the subpage for tomorrow. There's no reason not to create it ahead of time, so it's ready when it's needed.
About adding {{subst:vfd top}} and {{subst:vfd bottom}}: I don't know if this is such a good idea. When I'm scanning /Old, I ignore the sections with colored backgrounds, because they've already been closed. Adding the templates ahead of time would make it harder to see which pages have been processed.
Also, if it's feasible, change "roughly around" to "exactly". This thing'll be run as a cron job anyway, so there's no reason not to run it at the right time. dbenbenn | talk 21:00, 5 Feb 2005 (UTC)
You're forgetting about the time it takes for it to get a Wikipedia page. That is why I say roughly. Because the load time to get the page is not always exact, the time when the bot posts something to the Wikipedia will not always fall exactly 00:00 UTC. -- AllyUnion (talk) 00:54, 6 Feb 2005 (UTC)
How do you think I manage to do it by hand every day at midnight (except when I flake out)? You load the page ten minutes early, get the changes ready, then hit "save page" at the right time. Edit conflicts aren't an issue, because the page is only edited once or twice a day. Of course, doing the same thing with a bot would complicate the code slightly. It's no big deal either way. dbenbenn | talk 05:10, 6 Feb 2005 (UTC)
The code won't be complicated any further than it already is. If the bot runs exactly 10 minutes before the UTC date rolls over to the next day, all it has to do is search for the current date, then replace {{Wikipedia:Votes for deletion/Log/2005 February 5}} for {{Wikipedia:Votes for deletion/Log/2005 February 5}}\n{{Wikipedia:Votes for deletion/Log/TODAY}}. Or in computing terms: {{Wikipedia:Votes for deletion/Log/TODAY}} for {{Wikipedia:Votes for deletion/Log/TODAY}}\n{{Wikipedia:Votes for deletion/Log/TOMORROW}}. -- AllyUnion (talk) 07:08, 6 Feb 2005 (UTC)
Additionally, if it is running 10 minutes before the next UTC day, then yes, it would create the VFD page for tomorrow. I would actual want the bot to do that one hour before hand. just to be on the safe side. Of course, all changes presume that the Wikipedia is working, and is not down at the time of the updates. -- AllyUnion (talk) 07:31, 6 Feb 2005 (UTC)

Well, the additional complication would be having it wait until midnight before submitting the change. Also, there are actually 5 lines to edit on VfD. See this diff for a representative example. dbenbenn | talk 08:31, 6 Feb 2005 (UTC)

As I said, it would only be adding, not removing the discussions. Removing the discussion would still be a human job, since the bot will not know when a discussion is closed. It would be changing at line 13 and line 50, but it will not be making any changes at line 19 and line 45. -- AllyUnion (talk) 09:57, 6 Feb 2005 (UTC)
I think there's a slight misconception here about how the edits to VfD work. Every day at midnight, the new day is added, and the oldest day (now 6 days old) is removed, and added to /Old. The discussions on that old day aren't closed yet—anyone can still vote. It's just that the day doesn't appear on the main VfD page anymore. The votes get closed one by one as someone gets around to closing and tallying them. There's no reason for the bot not to do the complete extension (all 5 lines of the diff above), and it would be tremendously helpful. dbenbenn | talk 21:17, 6 Feb 2005 (UTC)
Oh, if that is the case, then it can be done. -- AllyUnion (talk) 22:52, 6 Feb 2005 (UTC)
And the submission should be right at midnight or slightly thereafter. -- AllyUnion (talk) 22:54, 6 Feb 2005 (UTC)
And of course, it would move the page appropriately to the Old page as well. -- AllyUnion (talk) 22:55, 6 Feb 2005 (UTC)
Technical detail: Search for "'''Current votes''':<br>" and find and replace that. Search for "<br>'''''Old votes''':'' <br> <!-- Old votes need both their day's link moved here from Current ones, just above, and the day's link moved to the /Old file -->" and find and replace that. -- AllyUnion (talk) 22:57, 6 Feb 2005 (UTC)

Changed to exactly. I still question whether it can post two pages at once at exactly 00:00 UTC. -- AllyUnion (talk) 23:56, 6 Feb 2005 (UTC)

Please let me know when you're going to start running your bot. Also, I'm curious to see the source code, if you're willing to share it. Thanks, dbenbenn | talk 02:26, 7 Feb 2005 (UTC)
I don't see any problem with two edits at once a day, the rate limiting is just there to avoid overloading the server and allow for verification of bot actions. --fvw* 02:30, 2005 Feb 7 (UTC)
Another minor technicality: have it submit the changes for VfD first, and the change to /Old second (like, a couple seconds later). That way, you never have votes on /Old and VfD at the same time, which would contradict the Deletion process. (Of course, it's only a matter of a few seconds anyway, but I'm a mathematician. :) dbenbenn | talk 02:55, 7 Feb 2005 (UTC)
If that's how you want it, then it will submit the new VFD page first, then the Old page after that in the same script. -- AllyUnion (talk) 06:18, 7 Feb 2005 (UTC)
Oh, and yes, I will let you look at the code. -- AllyUnion (talk) 07:08, 7 Feb 2005 (UTC)

Okay. I'm all done with tasks 1 and 2. Task 3 will be another script. If anyone cares to view the scripts made based on the pywikipediabot framework, please leave a comment at my talk page. -- AllyUnion (talk) 10:54, 7 Feb 2005 (UTC)

Further additional tasks

(clarification of task 1)

  1. Post a new edited WP:VFD page
    1. Add the new UTC day section link on WP:VFD (in the Jump to specific days box)
    2. Remove the six days ago section link on WP:VFD (in the Jump to specific days box)
    3. Add a new six days ago /Old section link on WP:VFD (in the Jump to specific days box)
    4. Add the new UTC day transinclude on WP:VFD
    5. Remove the six days ago transinclude on WP:VFD
  2. Add the six days ago transinclude on WP:VFD/Old

Summary of tasks

A summary of its tasks can be found on its user page and whether or not it is working at this time: Allyunion -- AllyUnion (talk) 05:36, 8 Feb 2005 (UTC)


Interlanguage specialities at eo:

Additions added there: Links to eo: will "lead to the target" throught a redirect. Gangleri | Th | T 08:36, 2005 Feb 9 (UTC)

Upload script request

I'm in need of a script. I recently found a large dump of classical music, all CC-by-SA. I used wget recursively to fetch all of it (650 files; 5.29 gigs). I need to upload them now. I'd like to do it with a unix command line program. I figure the syntax should be something like:

>wikiupload Raul654bot:mypassword ./song.ogg --rate=100 --location=commons "This is a public domain song I uploaded {{PD}}"
  • The 1st arguement is the username and password (necessary for uploading files)
  • The 2nd arguement is the file to upload. So in the case of uploading a large number of files, I can just use the *
  • The 3rd arguement specifices the upload rate. I believe this is necessary because bots are supposed to be able to run at low speeds initially.
  • The 4th arguement specifies where it should go: en, de, commons, wikibooks, etc.
  • The 5th arguement is the upload text - IE, the text to be put on the image page.

→Raul654 07:36, Feb 9, 2005 (UTC)

cURL might already do what you're after. It's what I use for putting automated content into the Wikipedia - (I'm only adding article text, and I'm doing it using PHP's cURL library, so I don't think my code is likely to be of much use to you, otherwise I'd just give you the code). Nevertheless I think it should be able to do what you're after from the command line.

The following args look most applicable:

  • --cookie (you'll need a cookie for your uploading data under your username / password)
  • --limit-rate (so as to not upload too fast)
  • --form (With various args as per the Upload forms, which will include the description, and the path to the file)
  • The destination URL (which will be different depending on where you want it to go, but will presumably be the commons most of the time).

If you're lucky then maybe someone has already done this using cURL on the command line, and will let us know the command they used.

Docs and source code available at: http://curl.haxx.se/

Note that you'll probably have to call it multiple times (e.g. using "xargs"), if you want wildcard / multi-file-upload functionality.

All the best, Nickj (t) 08:08, 9 Feb 2005 (UTC)


I talked it over with Kate ,and here's what we got:

  • curl -F wpName=Bob -F wpPassword=asdf --cookie-jar ./mycookies "http://commons.wikimedia.org/w/wiki.phtml?Special:Userlogin&action=submit" > output1.html
  • curl -F wpUpload=@./Bob_test_file.txt -F wpUploadDescription=This_is_a_test -F wpUploadAffirm=1 --limit-rate 100k --cookie-jar ./mycookies "http://commons.wikimedia.org/w/wiki.phtml?Special:Upload&action=submit" > output2.html

The first one logs in Bob (whose password is asdf) and creates a cookie jar containing the log in cookie, and the second one actually does the upload (of file Bob_test_file.txt with description This_is_a_test). I tested, and the first one works *I think* but the 2nd one does not. I could appreciate someone helping debug it. →Raul654 09:38, Feb 9, 2005 (UTC)

You can try the pywikipediabot framework. They have a script called upload.py that you could use, if you made the script runable. Then you can create a perl script or a bash script based on upload.py to loop through the contents of the directory. I am uncertain if they have the pywikipedia framework ready for the commons. -- AllyUnion (talk) 10:13, 9 Feb 2005 (UTC)
Not only is pywikipediabot extremely difficult to get working, but it's nonfunctional at the moment. →Raul654 15:28, Feb 9, 2005 (UTC)
The newest version is working. -- AllyUnion (talk) 11:03, 10 Feb 2005 (UTC)

Debugging - Raul, you did good, and you were 95% of the way there:

With the first command:

  • I added wpLoginattempt="Log in" (which is the same as clicking the "log in" button) - (may or may not be needed, but it won't hurt).
  • Added wpRemember=1 (may or may not be needed, but it won't hurt).

With the second command:

  • The URL could be wrong - I used http://commons.wikimedia.org/wiki/Special:Upload instead.
  • Need the file's path in "wpUploadFile", rather than "wpUpload".
  • Add 'wpUpload="Upload file"', which is the same as clicking the button (may or may not be needed, but it won't hurt).
  • With uploading, I think you want "--cookie", rather than "--cookie-jar", since "--cookie" is read-only, whereas --cookie-jar is for storing stuff (i.e. use store to log in, then read to upload).
  • Note that you'll also want to put in a license tag in the description, otherwise the tagging folks will hunt down and nail you to a tree ;-)

Putting all that together into two commands, we get:

  • First command :

curl -F wpName=Nickj -F wpPassword=NotMyRealPassword -F wpLoginattempt="Log in" -F wpRemember=1 --cookie-jar ./mycookies "http://commons.wikimedia.org/w/index.php?title=Special:Userlogin&action=submit" > output1.html

  • Second command (note that I have omitted the rate limiting bit, as my installed curl is so ancient that it doesn't have that option, but you probably want to add it back):

curl -F wpUpload="Upload file" -F wpUploadFile=@./Part_of_Great_Barrier_Reef_from_Helecopter.JPG -F wpUploadDescription="Photo I took in Jan 2005 over part of the Great Barrier Reef in a helicopter {{GFDL}}" -F wpUploadAffirm=1 --cookie ./mycookies "http://commons.wikimedia.org/wiki/Special:Upload" > output2.html

And to the right is the result, as a thumbnail:

View of part of the Great Barrier Reef from helicopter
Enlarge
View of part of the Great Barrier Reef from helicopter

All the best, Nickj (t) 23:23, 9 Feb 2005 (UTC)

Ok, I did a lot of work on this. The problem is, the method above fails for files above 4.7 megs (5000000 bytes) because mediawiki gives you an "Are you sure you want to upload this big file?" prompt. I tried a workaround but it doesn't work yet. You can see my script here. Run it by by doing: ./wikiupload username pass file →Raul654 08:39, Feb 10, 2005 (UTC)

For the record i fixed Rauls bot so that it no longer has this limit. [1]. —Ævar Arnfjörð Bjarmason 11:37, 2005 Feb 10 (UTC)

VFD Old Bot work

On all pages moved to VFD/Old: On their talk pages, include a link to the VFD discussion, with a signed name. On all VFD subpages, include <!-- {{subst:Vfd top}} --> on the top and <!-- {{subst:Vfd bottom}} -->, with no finalization of the count. -- AllyUnion (talk) 10:25, 9 Feb 2005 (UTC)

No, this is bad. The usual way to finalise the votes is to go to /Old, pick an article that hasn't been boked, and resolve it. If they're all pre-boxed, it will make the process more difficult and less likely to be completed. —Ben Brockert (42) 06:13, Feb 10, 2005 (UTC)
Just to clarify: <!-- HTML Comment --> Anything between those two brackets will not show up on the page. -- AllyUnion (talk) 21:59, 10 Feb 2005 (UTC)
Ah, I completely ignored that they were in comment tags. In that case, please do that, it would help a lot. —Ben Brockert (42) 04:02, Feb 11, 2005 (UTC)
I've decided against creating this feature as there are two shortcuts now. -- AllyUnion (talk) 23:39, 3 Mar 2005 (UTC)

User:Allyunion - Changing template to subst

A few users forget to use {{vfd top}} as {{subst:vfd top}}. This bot is to correc that as well as: {{vfd bottom}} to {{subst:vfd bottom}}. -- AllyUnion (talk) 02:45, 10 Feb 2005 (UTC)

Can't really hurt. It would be good to check that the action was completed at the same time. —Ben Brockert (42) 06:14, Feb 10, 2005 (UTC)

Bot for maintaining Municipalities and Counties of Norway

Will be using pywikipediabot, especially replace.py and of course under supervision adhering to bot best practices and speed limits. The purpose is to maintain the various Municipalities_of_Norway: Many of the articles need a cleanup. A uniform use of the new infoboxes will help. Based on the standard numbering of municipalities, some statistical information can be added automagically. -- Egil 11:32, 11 Feb 2005 (UTC)

Request for flag made on meta:Requests for permissions#Requests_for_Bot_status -- Egil 19:59, 21 Feb 2005 (UTC)

Bugzilla:1512

  • Bugzilla:1512 describes specialities about interlanguage links to and from eo:. All the titles I could identify have been fixed manualy both at eo: and at Wikipedias in other languages. The list of "affected" titles can be found here. At some languages changes to valid interlanguage links / to the valid titles have been reverted now manualy or by bots, probably because users where not aware of this problem. Please do not hesitate to contact me if you have any questions. Regards Gangleri | Th | T 12:53, 2005 Feb 17 (UTC)
  • See also: post at sourceforge:projects/pywikipediabot 04:16, 2005 Feb 18 (UTC)

bot request

Can someone make a bot to go through the 366 days of the year and put links into the BBC's on this day page? They come in the format http://news.bbc.co.uk/onthisday/hi/dates/stories/month/date/ replacing month with the month, and date with a numerical date, not including a leading zero, 9 not 09. Dunc| 22:39, 19 Feb 2005 (UTC)

I don't think you need a bot for that... really... See my comment on your talk page. -- AllyUnion (talk) 11:10, 20 Feb 2005 (UTC)

Sorry if I didn't make myself clear. The link ought to go into an external links section in the pages in the style of "February 20" rather than the little ones that appear on the front page. It should be possible to go to March 18 (say) on any date of the year and the link should link to http://news.bbc.co.uk/onthisday/hi/dates/stories/march/18. If it is coded into the article text with {{}} then that will always take the user to today's article, rather than the date in the article title. Dunc| 12:45, 20 Feb 2005 (UTC)

This has or is being handled under User:Kakashi Bot maintained and run by me. Since this is a one time 'run', I don't think a bot flag is necessary. -- AllyUnion (talk) 19:09, 25 Feb 2005 (UTC)

Responding to Sandbot request

I am responding to a request given at Wikipedia:Bot requests for a bot that cleans out the sandbox. The request is that the bot should clean the sandbox every 6 hours.

The following sandboxes will be cleaned every 6 hours:

This bot will be running under User:Sandbot, and using either Template:Please leave this line alone (sandbox heading) or a similar template. -- AllyUnion (talk) 10:27, 25 Feb 2005 (UTC)

This also includes all talk pages, except for Wikipedia talk:Tutorial (Talk pages). Each sandbox will be cleaned separately 15 minutes apart from each other. -- AllyUnion (talk) 10:56, 25 Feb 2005 (UTC)

There has been a change, due to a request. All tutorial related sandboxes will be cleaned out every week. -- AllyUnion (talk) 18:39, 25 Feb 2005 (UTC)


VfD newpage bot

Recently there have been some 'general' articles on VfD pages to establish consensus on inclusion (or exclusion) of certain groups of articles. It would be useful to have the link (or {include}) to those articles placed on the top of each day's VfD page. I've been doing this manually but would prefer the VfD bot to handle this; would that be ok? Radiant! 11:40, Mar 4, 2005 (UTC)

Should there be no objection in 7 days from Radiant's request, I will add the feature to the bot. -- AllyUnion (talk) 06:17, 5 Mar 2005 (UTC)

Zbot

Ok, this is my first attempt at a bot, so if I seem to be missing anything, let me know. The main reason I created this bot is that I wanted to have a bot that changes flag images. What I mean by that is replacing one flag image from here, with another, which can be either on here or at the Commons. An example would be (which will be a test run if approved), is switching from Image:Belarus flag large.png to Image:Flag of Belarus.png. Not only this will free up the many images we use here at Wikipedia EN, this will also do the work that I have done by hand for months. And, if we ever go to svg conversion, this bot can be used to help in the conversion. While I am not sure how long it will take before it can be approved, but I am an idiot in dealing with programming and could use some help on trying to make the bot work. Zach (Sound Off) 06:52, 12 September 2005 (UTC)

Are you re-uploading the images to rename them, or are you just changing which image is shown in articles? —Cryptic (talk) 07:12, 12 September 2005 (UTC)
Changing what is shown in the articles. If there is any images to upload, I will do it myself manually. But, as I post on User:Zbot, I crashed Python and I am an idiot when coming to programing. In order for this bot to work, I probably might have to ask for someone to code it for me. Zach (Sound Off) 07:27, 12 September 2005 (UTC)
And since we can use SVG files, the bot can also be created (by someone else, since I gave up at coding) to help do the image conversion. Zach (Sound Off) 21:10, 12 September 2005 (UTC)
The discussion has moved to Wikipedia:Bot requests. -- Beland 04:16, 13 September 2005 (UTC)

Bot for maintaining Municipalities and Counties of Norway

Will be using pywikipediabot, especially replace.py and of course under supervision adhering to bot best practices and speed limits. The purpose is to maintain the various Municipalities_of_Norway: Many of the articles need a cleanup. A uniform use of the new infoboxes will help. Based on the standard numbering of municipalities, some statistical information can be added automagically. -- Egil 11:32, 11 Feb 2005 (UTC)

Request for flag made on meta:Requests for permissions#Requests_for_Bot_status -- Egil 19:59, 21 Feb 2005 (UTC)

Bugzilla:1512

  • Bugzilla:1512 describes specialities about interlanguage links to and from eo:. All the titles I could identify have been fixed manualy both at eo: and at Wikipedias in other languages. The list of "affected" titles can be found here. At some languages changes to valid interlanguage links / to the valid titles have been reverted now manualy or by bots, probably because users where not aware of this problem. Please do not hesitate to contact me if you have any questions. Regards Gangleri | Th | T 12:53, 2005 Feb 17 (UTC)
  • See also: post at sourceforge:projects/pywikipediabot 04:16, 2005 Feb 18 (UTC)

Simple Matt Crypto bot?

User:Matt Crypto (bot) is doing a simple, valid change every midnight. I don't think the bot flag should be set (since the cryptography wikireader always needs more attention ;)) but it ought to be put on the list of bots. Not putting it in myself because I'm not sure the bot is allowed. :) r3m0t 11:59, Feb 21, 2005 (UTC)

The bot flag in my opinion is meant to avoid a situation where the bot clutters up the recent changes. If a bot makes just a single change or a few changes every day, a bot flag seems unnecessary. - Andre Engels 08:52, 24 Feb 2005 (UTC)
Yes, I think a bot flag is unnecessary (unless there's some other reason apart from filtering RC). I requested permission to run this script last December at Wikipedia_talk:Bots/Archive_4#Trivial_daily-update_bot. — Matt Crypto 11:31, 4 Mar 2005 (UTC)

Responding to Sandbot request

I am responding to a request given at Wikipedia:Bot requests for a bot that cleans out the sandbox. The request is that the bot should clean the sandbox every 6 hours.

The following sandboxes will be cleaned every 6 hours:

This bot will be running under User:Sandbot, and using either Template:Please leave this line alone (sandbox heading) or a similar template. -- AllyUnion (talk) 10:27, 25 Feb 2005 (UTC)

This also includes all talk pages, except for Wikipedia talk:Tutorial (Talk pages). Each sandbox will be cleaned separately 15 minutes apart from each other. -- AllyUnion (talk) 10:56, 25 Feb 2005 (UTC)

There has been a change, due to a request. All tutorial related sandboxes will be cleaned out every week. -- AllyUnion (talk) 18:39, 25 Feb 2005 (UTC)

VfD newpage bot

Recently there have been some 'general' articles on VfD pages to establish consensus on inclusion (or exclusion) of certain groups of articles. It would be useful to have the link (or {include}) to those articles placed on the top of each day's VfD page. I've been doing this manually but would prefer the VfD bot to handle this; would that be ok? Radiant! 11:40, Mar 4, 2005 (UTC)

Should there be no objection in 7 days from Radiant's request, I will add the feature to the bot. -- AllyUnion (talk) 06:17, 5 Mar 2005 (UTC)

VFD into a list of day links

As per discussion on Wikipedia talk:Votes for deletion, I'll be making WP:VFD into a list of day links probably during the day (UTC) on Sunday 13 March 2005. Wikipedia:Votes for deletion (full list) (or WP:VFDF) will be the full list with all day pages transcluded for a multi-megabyte monster page. I've left notes on Wikipedia talk:Bots and User talk:AllyUnion about the change - David Gerard 09:41, 11 Mar 2005 (UTC)

No consensus has been developed over this decision. I object until I understand what is being trying to solve / accomplished. -- AllyUnion (talk) 19:32, 12 Mar 2005 (UTC)

VFD Bot extension

(copied from my and AllyUnion's talk pages —Korath (Talk) 01:36, Mar 14, 2005 (UTC))

Also, as long as I'm here, could I trouble you to tweak Vfdbot to add a <!-- Please do not add new vfds here. Put it on the appropriate day's page instead. --> or something similar to the previous day's page when updating the list of days currently transcluded into WP:VFD? I catch two or three vfds a week being added to the first day listed on vfd instead of the current day, and sometimes two or three a day where they're added to yesterday's page just after midnight UTC. The latter aren't a problem if they're missed (and I don't bother to correct them even when I see them), but the former certainly are. —Korath (Talk) 00:28, Mar 14, 2005 (UTC)

I'll tweak VFD Bot later. I'm kind of suppose to be studying for my finals. ^^;;; Do me a favor and post in the talk page for WP:BOTS to make sure it gets approval. --AllyUnion (talk) 00:55, 14 Mar 2005 (UTC)

(end copy —Korath (Talk) 01:36, Mar 14, 2005 (UTC))

Request done. -- AllyUnion (talk) 00:27, 25 Mar 2005 (UTC)


Categories for deletion / category population / category depopulation bot assistant

Moved to: User:AllyUnion/NekoDaemon. Another request will be placed once the bot is completed. -- AllyUnion (talk) 08:29, 14 May 2005 (UTC)

Minor Sandbot change

I am modifying Sandbot to reinforce the existence of the header every 30 minutes (all sandboxes). The main sandbox will be cleaned every 12 hours instead of every 6 hours. -- AllyUnion (talk) 22:36, 24 Mar 2005 (UTC)


DYK Bot?

Manually archiving DYK items to Wikipedia:Recent additions is still managable, but can anyone with more knowledge about bots tell me if it's possible to automate the archiving process (also outlining the pics correctly).

It should:

  • Archive all but the latest 2 updates from the section on DYK talk to Recent additions.
  • Archive the oldest 50 items including pics to a free numbered subpage in Recent additions.
  • Warn users about their articles being featured.

I'd also love for template updates to be automated during weekends and holidays, when no else seems to do them, but that may not be possible because that would require the bot having admin access. - Mgm|(talk) 10:11, Mar 28, 2005 (UTC)

The pywikipediabot framework doesn't have anything for page moves at the moment as far as I am aware... -- AllyUnion (talk) 14:37, 28 Mar 2005 (UTC)

The text that needs archiving would be only a section of the page. Complete page moves wouldn't be necessary. It's just text that needs to be copied, then deleted at the old location. Mgm|(talk) 14:45, Mar 28, 2005 (UTC)

Section? I'm not quite certain you're driving at. It would help me if you detail the exact archiving process and what text your moving around. -- AllyUnion (talk) 03:23, 29 Mar 2005 (UTC)

Update: The code is still being written, however I have a good idea what this bot does. Some definitions for the purpose of anyone who wishs to know:

  • dyk = Did you know
  • dykline = A line of information containing the dyk info plus a possible associated picture. It is assumed that all associated pictures proceed "...that"
  • block = A blank newline in the wikicode that separates several dyklines. A block will refer to several dyklines between two blank newline or one of the key search features, such as a hidden HTML comment or section.
  1. On the page Template talk:Did you know... User:Kurando-san will move all blocks under the ===ARCHIVE USED SUGGESTIONS HERE=== section except for 3 blocks to Wikipedia:Recent additions.
  2. On the page Wikipedia:Recent additions, if the number of dyklines exceed 50, move the oldest blocks (the bottom blocks) to an archive page, like Wikipedia:Recent additions 25 until the number of dyklines on the archive page is equal or greater than 50 dyklines. Once the number of dyklines exceed 50, create a new archive page and add to the next number in the archive. In this case, Wikipedia:Recent additions 26. Repeat until Wikipedia:Recent additions is less or equal to 50 dyklines.

-- AllyUnion (talk) 08:50, 6 Apr 2005 (UTC)


Update: I've been writing this code for several days now. It kind of works... but not really. I have posted up the code at User:AllyUnion/did_you_know.pl. If anyone manages to produce a correct output, I'll give them a Barnstar. -- AllyUnion (talk) 03:35, 9 Apr 2005 (UTC)


I'm still on a semi-Wiki-vacation. But I took some time, and I think I fixed the bot now. -- AllyUnion (talk) 13:13, 14 Apr 2005 (UTC)


Works. Running monthly under User:Kurando-san. -- AllyUnion (talk) 22:03, 14 Apr 2005 (UTC)

Wikipedia:Featured picture candidates archival bot

The purpose of this bot is to move nominations with a signed initial nomination to the 14 day holding period after 14 days have been passed. -- AllyUnion (talk) 09:31, 29 Mar 2005 (UTC)

Running under User:Kurando-san at the moment. -- AllyUnion (talk) 04:59, 5 Apr 2005 (UTC)

RKBot

I have written a small script to automate the MS Internet Control to do various substitutions on the German wikipedia and am requesting bot status for de:User:RKBot. --Reinhard 21:20, 10 Apr 2005 (UTC)

See de:Wikipedia:Bots. They have their own policy. r3m0t talk 22:11, Apr 10, 2005 (UTC)

Adding a task to VFD Bot

Update Wikipedia:Votes for deletion/Log/Yesterday every day and put yesterday's transinclude on the page. -- AllyUnion (talk) 10:31, 15 Apr 2005 (UTC)

CFD Archival Bot

User:NekoDaemon has been assigned to automatically do the following things:

  1. Add new CFD Day Transinclude at the same time as the VFD Bot
  2. Create the new CFD Day Transinclude at the same time as the VFD Bot
  3. Close the CFD Day Transinclude page at the same time as the VFD Bot

-- AllyUnion (talk) 05:44, 18 Apr 2005 (UTC)

Using Pearle for cleanup tags

I have created Template:cleanup-date to replace Template:cleanup. It is intended to make it easier to use Category:Wikipedia cleanup in a first in, first out fashion. I would like to use Pearle to change cleanup tags to cleanup-date tags. The first data source would be the per-month subpages of Wikipedia:Cleanup, which I will analyze offline and feed to the bot. For all remaining uses of the cleanup tag, I would have the bot look at previous versions at one-month intervals, to determine the month in which the tag was originally assigned. -- Beland 02:09, 9 May 2005 (UTC)


VFD Bot functionality change

Due to the change of how VFD is run, the VFD Bot will perform the updates on Wikipedia:Votes for deletion (long form) as before, and perform the new styled updates on Wikipedia:Votes for deletion. -- AllyUnion (talk) 04:58, 9 May 2005 (UTC)

PeriodBot

I've written a program that crawls the offline dump looking for paragraphs that end without punctuation. If I run this to help me find articles to (manually) edit, does that count as a bot? Do I have to limit my manual edits to some rate? Brighterorange 14:21, 12 May 2005 (UTC)

Seems to me that if it does neither automated access to the live Wikipedia articles nor automatic modification, it isn't a bot. --Carnildo 17:54, 12 May 2005 (UTC)
Hooray! Brighterorange 18:53, 12 May 2005 (UTC)