Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General Improvements to the Wikipedia Module #280

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

examknow
Copy link
Member

@examknow examknow commented Oct 9, 2020

This PR adds a few changes to the way the Wikipedia module works. The Wikipedia module will now:

  • Query the first 500 characters of a WP article and return it to IRC (as it has always done)
  • Determine if a page is ambiguous and will return the first 10 (can be changed via config) pages it links to. This feature will probably only work on enwiki since the format for disambiguation pages are different across wikis.
  • Allow chanops to change the language of Wikipedia that is used when using the module via 'config c'. This can also be changed for users via 'config u'.
  • Allow chanops to enable auto wiki links in their channels. For example, if a user types I want an [[Apple]] to eat, BitBot will return information about the apple article on Wikipedia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants