User talk:Shadow1/Jul2007
From Wikipedia, the free encyclopedia
[edit] A question about perlwikipedia
Hi Shadow. I left a bug report at User:Shadow1/perlwikipedia/Bugs (rather easy to fix).
I have a question. Is the code at http://perlwikipedia.googlecode.com/svn/ always the most recent version? If so, I could fix that bug myself (there was an extra "my").
There is another issue. Perlwikipedia does not work for me. When I run it, I get
Error requesting Special:Userlogin: 403 Forbidden at ./mvs3test.pl line 41
Any thoughts? Thanks! Oleg Alexandrov (talk) 02:48, 21 June 2007 (UTC)
-
- Ah, right. For security reasons, the Perlwikipedia useragent was banned from the servers (fortunately only index.php, so api.php functions still work). To fix it, you can use something like
$perlwikipedia_object->{mech}->agent("User:Shadow1/1.0");
I fixed the "double my" bug, svn is easy enough to use.
About the useragent, yes it worked for me with
$perlwikipedia_object->{mech}->agent("User:Oleg Alexandrov/1.0");
But this requires editing the Perlwikipedia module by hand. I have a suggestion. We could pass the username as an argument to the new() routine. I can implement this if that's fine with you. Oleg Alexandrov (talk) 01:50, 22 June 2007 (UTC)
-
-
- It does? I meant to insert that code into the main script using Perlwikipedia, not the module itself, since you can modify the useragent from outside the module. But in any case, adding the username as an argument to new() seems the best approach. Shadow1 (talk) 10:53, 22 June 2007 (UTC)
- You are right, this can be done outside of the module too, but that would expose too much internal functionality I believe. Since you're not against it, I'll modify new() to take the user name as a parameter. Oleg Alexandrov (talk) 14:55, 22 June 2007 (UTC)
- Ok, thanks Oleg! Shadow1 (talk) 14:56, 22 June 2007 (UTC)
- Done. I updated the "Using Wikipedia" documentation too. I plan to go through the other documentation at some point too. Oleg Alexandrov (talk) 02:06, 23 June 2007 (UTC)
- Ok, thanks Oleg! Shadow1 (talk) 14:56, 22 June 2007 (UTC)
- You are right, this can be done outside of the module too, but that would expose too much internal functionality I believe. Since you're not against it, I'll modify new() to take the user name as a parameter. Oleg Alexandrov (talk) 14:55, 22 June 2007 (UTC)
- It does? I meant to insert that code into the main script using Perlwikipedia, not the module itself, since you can modify the useragent from outside the module. But in any case, adding the username as an argument to new() seems the best approach. Shadow1 (talk) 10:53, 22 June 2007 (UTC)
-
[edit] Hide
Thank you for taking that off. I have no idea on how to add pictures there right. And it was the wrong person. Vladimir Stalin 02:25, 25 June 2007 (UTC)
[edit] Signpost updated for June 25th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 26 | 25 June 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 08:05, 26 June 2007 (UTC)
[edit] I hate you
I take that back, you've deleted nothing MrsValery 23:00, 1 July 2007 (UTC)
[edit] Request for bot my talk page
Could you try to configure me to archive my talk page (User talk:Bigtop) automatically because it's kinda messed up and I don't want to manually clean up the talk page by myself? Thanks. Bigtop 00:11, 2 July 2007 (UTC)
[edit] Signpost updated for July 2nd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 27 | 2 July 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 08:13, 3 July 2007 (UTC)
[edit] About Shadowbot3
I know that it's Werdna's code originally, but maybe you could look at it and answer - does it actually do anything with the <span id="############" /> tags it puts at the top of each section?
- The span tags are used if the user has enabled the archive indexing option. Each entry in the index then links to the span id, so that the browser immediately jumps to that section when the entry is clicked. Shadow1 (talk) 15:46, 5 July 2007 (UTC)
[edit] Keyword based archiving
I'm looking for a bot that archives (or could be set up to archive) page sections that contain a certain keyword ({{resolved}}) rather than archiving by date - ST47 has suggested you may have a suitable code and has kindly offered help [1] if modifications are needed, do you think the scheme is workable without taking up too much time? Kind regards sbandrews (t) 09:48, 5 July 2007 (UTC)
- User:Eagle 101 has an archiving bot set up for the Meta spam blacklist that performs almost exactly this function. At one point I was working on the very same bot, but lost the code. Shadow1 (talk) 15:48, 5 July 2007 (UTC)
[edit] Ampersand issues
Hi Alex. I noticed that Perlwikipedia does not handle well articles whose name has an ampersand (for example, Texas A&M University). I uploaded a fix to googlecode, but I don't feel comfortable enough with such encoding things, so I wonder if you could take a look at the fix. Thanks a lot, Oleg Alexandrov (talk) 00:05, 5 July 2007 (UTC)
- I think the uri_escape() on the line above your fix should perform this function. The code wouldn't handle ampersands before the fix? Shadow1 (talk) 15:50, 5 July 2007 (UTC)
- uri_escape does not convert the ampersands (by design, I believe, see also here). From what I tested, the code did not handle ampersands correctly before the fix. If you have time, perhaps you could test this too. I am not perfectly comfortable with the hackish fix, there's got to be a better way. Cheers, Oleg Alexandrov (talk) 04:41, 6 July 2007 (UTC)
[edit] User:Shadowbot3
Hi, I should know the code for User:Shadowbot3 to archive the Village pump. I m interested to make it on cawiki. Pasqual (ca) · CUT 00:19, 6 July 2007 (UTC)
[edit] Xanther1
I've changed Xanther's block from 120 hours to 48 hours. I agree that his persistent edit warring is not appropriate, but a jump from 24 hours to 120 doesn't seem warranted. However, I have warned him via email that the next time that he starts edit warring again, he will be blocked indefinitely. Feel free to contact me with any concerns. Shadow1 (talk) 00:05, 7 July 2007 (UTC)
- Not a problem, thanks for the heads up about the change. I also appreciate the email you sent them :). Jmlk17 01:47, 7 July 2007 (UTC)
[edit] Signpost updated for July 9th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 28 | 9 July 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 08:13, 10 July 2007 (UTC)
[edit] Attacking?
I'm not sure exactly what it was I did that could be construed as a personal attack... TonyWonderBread 16:25, 14 July 2007 (UTC)
[edit] Thanks
Thanks for taking care of the imposter. CambridgeBayWeather (Talk) 18:21, 19 July 2007 (UTC)
[edit] Signpost updated for July 16th, 2007.
Weekly Delivery
|
---|
|
||
Volume 3, Issue 29 | 16 July 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 20:10, 19 July 2007 (UTC)
[edit] perlwikipedia Bug Report
I added a bug report to your perlwikipedia bug page[2]. I had trouble matching the layout of the other reports given the pre sections messed up the auto numbering. If you have any problems understanding what I wrote, please let me know. Thanks for all your work on this module! -- JLaTondre 12:03, 18 July 2007 (UTC)
- I applied the patch. I tested it too. Thanks! The new revision is available at the Google code repository for Perlwikipedia. Oleg Alexandrov (talk) 03:28, 19 July 2007 (UTC)
- You beat me Oleg, I had that patch all ready to commit last week when another user had the same problem :) Shadow1 (talk) 14:59, 19 July 2007 (UTC)
- Heh. :) On a related note, I reverted my earlier change where I had the ampersand be encoded. uri_encode does that anyway, it did not do it for me since I had an ancient version of that, an upgrade fixed this. Oleg Alexandrov (talk) 02:45, 20 July 2007 (UTC)
- You beat me Oleg, I had that patch all ready to commit last week when another user had the same problem :) Shadow1 (talk) 14:59, 19 July 2007 (UTC)
[edit] Page deleted, July 19th, 2007
Hi...sorry, but i fail to see why the page "Professor Pigface" was deleted. Could you please give a reason? Mooneyman 06:43, 20 July 2007 (UTC)
- Yes, because it's not notable, as I stated in the deletion reason. I see a total of 29 hits on Google, including the links to YouTube videos. Not to mention, being the creator of the subject, you have a clear conflict of interest. Shadow1 (talk) 13:34, 20 July 2007 (UTC)
oh. i'm just glad you gave a reason. thank you.