Jump to content

User talk:Schlurcher

Add topic
From Wikimedia Commons, the free media repository

SchlurcherBot

[edit]

Hello. I hope you are doing well. I wanted to ask you a few questions from the moment you posted request for the global bot. How did you get the DotNetWikiBot working? I had tried it a few years ago, but I couldnt get it compiled. For the http task, are you running the bot from your local machine, or some server? Also, are you maintaining a database for the urls? —usernamekiran (talk) 03:50, 14 November 2025 (UTC)Reply

Hi sure. Thanks for reaching out. 1) I've fixed DotNetWikiBot over months. Main issue was first that it did not use a new login method that was implemented like years ago. Also, the download functionality was broken. Also, I removed all .Net Framework functionality and implemented it in .Net 8. However, I applied my own fixed without keeping track of all the changes, so I cannot ensure adequate attribution. If you send me an e-mail to me via the e-mail user function and disclose your e-mail, I'm happy to share a .zip copy of my working implementation. 2) Yes I run everything locally. Details are on User:SchlurcherBot including a picture of the server ;-). 3) I'm not maintaining a link database for this. Wikimedia does: For example for Commons go here: https://dumps.wikimedia.org/commonswiki/20251101/ and search Wiki external URL link records. There is a sql database for download that contain all external URL, which I filter to http links. --Schlurcher (talk) 09:51, 14 November 2025 (UTC)Reply
Hi. Thanks for the prompt response. Code of the working framework would be appreciated a lot! I use Windows very rarely though. I got confused between your bot, and pi bot for a few seconds. Regarding the database, I meant pairs of http://someurlhttps://someurl entries. that way, you do not have to verify/test https url more than once. I do not know the flow/logic of your bot though, so I cant say with certainty if database is optimal/feasible choice, or even if it is needed. —usernamekiran (talk) 16:17, 14 November 2025 (UTC)Reply

SchlurcherBot adding "instance of photograph" when already an instance of a subclass

[edit]

Hi, I don't know if I may be doing something wrong since I know just enough about the Structured Data and Wikidata to be dangerous. I uploaded File:Anton the Bearded Dragon, Capen Hill Nature Sanctuary 2025-11-22.jpg and added the Structured Data instance of (P31)digital color photograph (Q91794765). But then, while adding many other useful properties, the bot added instance of (P31)photograph (Q125191), so now there are two "instance of" statements where one is a subclass of another. It may be that I shouldn't be adding my own instance of statements at all and just let the bot do it, but I thought I'd let you know in case the bot shouldn't be adding photograph if the file already is an instance of a subclass of photograph (and maybe also if it's already an instance of something else in general). Thanks for taking a look, and I'd appreciate guidance if I'm doing something wrong. — PeterCooperJr (talk) 14:12, 24 November 2025 (UTC)Reply

Thanks for letting me know. Your assessment is correct. The bot should not have done that. I'll have a look. --Schlurcher (talk) 21:22, 24 November 2025 (UTC)Reply