this post was submitted on 01 Feb 2024
159 points (98.2% liked)

Open Source

31190 readers
291 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I made this bot so that users who want to provide a quick summary of the wikipedia article they linked to in their comment can do so just by including a mention of the bot in their comment, and the bot will reply to the comment with the summary.

Currently multiple wikipedia links are not supported.

bot: https://lemmy.world/u/wikibot

all 27 comments
sorted by: hot top controversial new old
[–] threelonmusketeers@sh.itjust.works 11 points 9 months ago (1 children)
[–] wikibot@lemmy.world 17 points 9 months ago (1 children)

Here's the summary for the wikipedia article you mentioned in your comment:

Hello Internet is an audio podcast hosted by educational YouTube content creators Brady Haran and CGP Grey. The podcast debuted in 2014 and released 136 numbered episodes and 18 unnumbered episodes until February 2020, when the last episode was published. The podcast is currently indefinitely suspended and inactive. Listeners of the podcast are known as "Tims". The episodes of the podcast are usually about the interests of the creators and the differences between the hosts' lifestyles.

^article^ ^|^ ^about^

[–] Srootus@sh.itjust.works 2 points 9 months ago (3 children)
[–] wikibot@lemmy.world 4 points 9 months ago

Here's the summary for the wikipedia article you mentioned in your comment:

Jammie Dodgers are a popular British biscuit, made from shortcake with a raspberry or strawberry flavoured jam filling. Introduced in 1960, they are currently produced by Burton's Biscuit Company at its factory in Llantarnam. In 2009, Jammie Dodgers were the most popular children's sweet biscuit brand in the United Kingdom, with 40% of the year's sales consumed by adults.

^article^ ^|^ ^about^

[–] wikibot@lemmy.world 3 points 9 months ago (1 children)

Sorry, I could not get the wikipedia summary for the wikipedia link mentioned in your comment.

[–] Srootus@sh.itjust.works 4 points 9 months ago (1 children)
[–] Asudox@lemmy.world 2 points 9 months ago* (last edited 9 months ago) (1 children)

Sorry, seems like the link extraction regex is a bit broken. Will fix it soon.

Edit: Fixed. See your comment again.

[–] corvus@lemmy.ml 2 points 9 months ago (1 children)

Great job! What about mentioning the bot in the response to a comment that has a Wikipedia link.

[–] Asudox@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

Well, that wasn't something I have planned. For now, you can just take the wikipedia link from that parent comment, mention the bot with it and send it as a comment. Will implement that feature, thanks.

[–] Kotking@kbin.social 1 points 9 months ago (1 children)
[–] Asudox@lemmy.world 2 points 9 months ago (2 children)

The way you mentioned the bot is wrong. Try @wikibot@lemmy.world

[–] Kotking@kbin.social 1 points 9 months ago (1 children)

@Asudox

Mention work OK
Thought bot will show up on Kbin but didn't
There is some issues that some users aren't showing up on kbin.social but wanted to test it anyway.

[–] Asudox@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

Another user also using kbin got it to work though. Interesting.

Might be a federation issue. Could be related to LW still being on v18.5.0

[–] wikibot@lemmy.world 1 points 9 months ago

Sorry, I could not get the wikipedia summary for the wikipedia link mentioned in your comment.

[–] nix@merv.news 1 points 9 months ago (2 children)

Does it work if i use Voyagers auto complete function for @‘s? https://en.wikipedia.org/wiki/Hello_Internet

I think bots like these should work without having to be mentioned since they're so useful and unobtrusive.

@wikibot@lemmy.world

[–] wikibot@lemmy.world 2 points 9 months ago

Here's the summary for the wikipedia article you mentioned in your comment:

Hello Internet is an audio podcast hosted by educational YouTube content creators Brady Haran and CGP Grey. The podcast debuted in 2014 and released 136 numbered episodes and 18 unnumbered episodes until February 2020, when the last episode was published. The podcast is currently indefinitely suspended and inactive. Listeners of the podcast are known as "Tims". The episodes of the podcast are usually about the interests of the creators and the differences between the hosts' lifestyles.

^article^ ^|^ ^about^

[–] Asudox@lemmy.world 1 points 9 months ago (1 children)

I think bots like these should work without having to be mentioned since they're so useful and unobtrusive.

Could you elaborate further on that?

[–] nix@merv.news 2 points 9 months ago (1 children)

Like itd be convenient if they worked whenever someone included a wiki link. So people didn’t have to remember to mention its username

[–] Asudox@lemmy.world 2 points 9 months ago* (last edited 9 months ago) (1 children)

About that, well, read this conversation I had with another user that mentioned your idea:

https://lemmy.today/comment/5308154

[–] nix@merv.news 2 points 9 months ago (1 children)

Ohh ok that’s fair. I just feel like barely anyone will remember to use it

[–] Asudox@lemmy.world 2 points 9 months ago

That indeed was my concern when I discussed this with the user that suggested this mention-only setup and also in the long text I sent to the user in the convo I sent you.

[–] nix@merv.news 1 points 9 months ago

Testing to see if the subscription bot works with Voyager’s auto complete @PostWatchBot@lemy.lol