User:Robobot/talk
I added this user to the "Bots" group. There are a few things I'd like to ask, though:
- Once it really is a coded bot, could you send me the source code? I'd just like to be able to figure out what's going on if there are any issues.
- Please only use this for really simple things that you could do in batch with a bot. For most small changes (fixing typos, updating dead links, etc) that people make, we have the option to make it a "minor edit" -- you can hide minor edits on the Changes page if you want, but I don't think things like that should really be done by "Bots", even if they are small.
- I'd actually prefer you change the password and keep it to yourself. If other people want to access the wiki through a "Bots" user, I can add their users to the "Bots" group. Especially if we turn off the Captcha for registered users, then having an account with a publicly known password could be very dangerous. And in general it's just not a good thing to share passwords. =)
Be careful and have fun. =)
--Voidious 14:14, 23 April 2009 (UTC)
Thanks. Currently feature I'm going to implements is:
- Fixing typo
- Make page loading faster by changing any links that go into category User Page Redirect go direct at user page.
- Added link for old discussion. (and fixing CamelCase)
- Automatically convert the not-yet-convert table.
- Redirect a GuessFactor Targeting page to GuessFactor targeting (traditional) (or something like that)
- Automatically sign for one who forgot.
- Add CreditForOldWikiPage template if possible.
- Change any old direct link at old wiki to use OldWiki template.
- Interlanguage links.
- any other batch command on response.
I don't think I can make it run every hour, I'll try to run it once a day. Or anyone offer a server for it? But now I have to finish my bot first. Anyway first all, can anyone give me a good either PHP or Java wiki framework? I have read so many but can't decide which one to use.
Once you removed CAPTCHA for bot, let me know and I'll change the password. Yes, I can send you source code, as you are more experienced programmer than me so you can help me fixing the bugs. I don't really think we need to mark bot changes as minor as the Recent Changes page hide bot edit by default.
Again, Thank you very much. » Nat | Talk » 15:15, 23 April 2009 (UTC) (PS. Anyone want to named his/her robot Robobot?)
Well, a little suggestion: Be really careful with things like auto-signature adding. To me it sounds like something that could easily make mistakes and accidentally sign things that didn't need signing. I think for some of these things, there are many weird corner case you'd need to watch out for, to avoid the bot being annoying --Rednaxela 16:37, 23 April 2009 (UTC)
- Thanks. I think I'll only do that on talk page. Diff the last edit, check is there any new paragraph, if there are then check for latest modified paragraph, then check is signature exists, if it is not there, then added it. I don't think it help much, but I'll give it a try. Perhaps I'll ask some bot author on Wikipedia about this one. (note the Thai Wikipedia of course) » Nat | Talk » 17:09, 23 April 2009 (UTC)
I've now change my own password. Robobot 09:55, 26 April 2009 (UTC)
@Nat, What OS is this server running? If it's *nix, I believe you can run the Robobot as a cron job every hour. It shouldn't be too hard. You may need to make a shell script in order for it to work, but i believe it's doable. Contact me if you need help (I'm a native *buntu Linux user) :) --HACKhalo2 12:42, 21 May 2009 (UTC)
- It isn't run on the server, it is on my laptop (or desktop-replacement actually), which is Windows Vista. Windows does have Schedule Task which can act like crontab. However, my laptop can't run 24/7 (and so my wireless router) so I need someone to host it instead of me when I finish it, otherwise it can be only run daily (or sometimes weekly) Actually I don't need cron or schedule task or anything, just loop forever and check for system time, maybe
Thread.sleep(3600000);
will work. Anyway, the 'core' component isn't finish yet, just several batch commands (I'm not so good in event-driven programming) » Nat | Talk » 12:53, 21 May 2009 (UTC)
- @Nat, So the Wiki is running off your laptop? --HACKhalo2 12:59, 21 May 2009 (UTC)
- I think you misunderstood something. The wiki bot doesn't need to be on the same server as the wiki! No, the wiki is running from David Alves' rented VPS, and my bot it accessing the wiki through MediaWiki API. » Nat | Talk » 13:09, 21 May 2009 (UTC)
- Ah ok, that makes sense. I was just problem solving :/ --HACKhalo2 14:00, 21 May 2009 (UTC)
Argh! MediaWiki/1.11.0 does not support API edit! I wonder why AaronR bot can do edit. Voidious, UPDATE PLEASE! » Nat | Talk » 01:51, 30 April 2009 (UTC)
Userpages Links Replace
I have finished develop the userlink replace feature. However I now check for userlist for a replace. I know I can use the category User Page Redirect but someone may user many alias (such as Chase-san sometime use only Chase) Anybody have a ideas on this? » Nat | Talk » 07:52, 5 May 2009 (UTC)
Do anyone have a full list of username, with user nick too? I'm having problem here since, e.g. Martin Alan Pedersen musr be at User:Pedersen but it may have a link text as Pedersen, Martin, or Martin Alan Pedersen, or Chase-san may have Chase and Chase-san etc. If someone can compile me a full list I promise this bot will start to fix the user link shortly shortly. » Nat | Talk » 02:54, 21 May 2009 (UTC)
OK, I have posted the source code at User:Robobot/User Page Redirect » Nat | Talk » 07:41, 21 May 2009 (UTC)
I'll run this task weekly on Sunday (tomorrow is the first day I will start this routine) around 7:00 UTC since there are more and more user redirects and archived talk page each day, I can't run it weekly (this bot is traffic eater since it currently download around 300+ pages each run. But when this bot fully operation, it will download only latest edit since its last run) » Nat | Talk » 14:40, 23 May 2009 (UTC)
Hey Nat, check out this revision comparison: [1]. It looks like the bot replaced <
with <
. (This made the wiki page have that HTML tag in it.) I don't think that's a very common thing on wiki pages, so I doubt it happened in many places, but it's something you should probably look at. Thanks, --Voidious 17:43, 26 May 2009 (UTC)
Oops! Sorry. Feel free to revert it. I'll cease it operation until I found the cause and solution. Thanks for report. » Nat | Talk » 09:17, 27 May 2009 (UTC)
Suggestions
It would be nice if the bot could fix double redirects. A list of them is at Special:DoubleRedirects. --Starrynte 21:35, 11 October 2009 (UTC)
Just a bit of programming, it can. But right now I run it manually. It isn't a lot, so fixing by hand isn't a hard job (I used to fix it by hand before you) --Nat Pavasant 02:19, 12 October 2009 (UTC)