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

Issues, community wishes, and acknowledgements #21

Open
2 of 31 tasks
stjohann opened this issue Feb 5, 2022 · 0 comments
Open
2 of 31 tasks

Issues, community wishes, and acknowledgements #21

stjohann opened this issue Feb 5, 2022 · 0 comments

Comments

@stjohann
Copy link
Owner

stjohann commented Feb 5, 2022

For years, I have documented all the issues and feature requests in my personal bug tracker. This mega-issue is created in an effort to open up this list and to facilitate outside contributions to the library, while not getting myself bogged down in documenting every single bug and feature request.

Please note that the list here is mostly not vetted for validity, and I can change my mind on whether to accept pull requests resolving them. All items starting with Bug: can be safely resolved by outside contributors. Items starting with Controversial: will probably require some discussion and PRs for them are not guaranteed to be accepted fast.

If you have noticed a bug or have a feature request, either create a new issue with a detailed description for it or write a comment here.

  • Code cleanup: Remove Newtonsoft.Json dependency
  • Bug: Sometimes TranslateWiki.cs code can send the messages twice to the same channel
  • Bug: https://ru.m.wikipedia.org/wiki/Обсуждение_участника:Matsievsky#Добавление_ссылок_в_{{lang-en}}_и_{{lang-ja}} should not get a link response
  • Bug: [[Grants:Programs/Wikimedia_Community_Fund#General_Support_Fund]] does not get link response because #general is an extremely common Discord channel name
  • Bug: TranslateWiki.cs code can have problems with getting out of limit of 1024 characters sometimes
  • Bug: !help can fail if the command documentation in a language is too long and gets out of limit of 2048 (?) characters
  • Bug: API requests for user pages (for gender support) should be done better (bundled in one request and done per user)
  • Bug: Linking.Remove should be re-implemented
  • Bug: Add special pages localisation, like in MediaWiki
  • Bug: !serverDomain should not be a thing if EventStreams are disabled
  • Add namespace=all to EventStreams, but have some way for the bot owner to allow/deny using it on a server
  • Support {{fullurl:}} / {{localurl:}} in Linking.cs
  • Controversial: Add !channelDomain like already done with !channelWiki
  • Interwiki links where title starts with capital letter and has no namespaces should not require API requests for full siteinfo
  • Code cleanup: Add a method for Locale.GetMessage that accepts a language and returns a method to get locale info without specifying (the same) language
  • Code cleanup: Write unit tests for more bot responses
  • Add !search command to allow correct linking to complex wiki searches like insource:"class" insource:"messagebox" insource:/messagebox/ prefix:all: (some of which can be denied by MediaWiki invalid title rules)
  • Add command !link [[test]] [[second test]] that would return link response with embeds (for up to 2)
  • Add command !linkfile [[File:Example.png]] [[File:MediaWiki.png]] (or do it as part of !link) that would return link response with proper embeds (for up to 3)
  • Add command !linkdiff [[Special:Diff/…]] (or do it as part of !link) that would return diff info like from EventStreams (for up to 2)
  • Add lazy checks on redirects (redirect=no or resolve?) and page existence to the bot
  • Controversial: Should [[google:test meow]] be hard-coded to resolve correctly?
  • MediaWiki invalid title rules should be handled by siteinfo API for the wiki instead of hard-coding it in the bot
  • Controversial: Files from Wikimedia Commons or other common media repo should get direct links to Wikimedia Commons pages
  • [[Wikipedia talk:Twinkle/Development#Using the [rollback] or [vandalism] button in Contributions]] does not get link response due to MediaWiki invalid title rules (including in MediaWiki)
  • Links to Wikidata/Wikibase pages should have labels in current server language next to them
  • Media: file names return their full file URL in MediaWiki
  • Code cleanup: Write Config methods that take DiscordServer/DiscordGuild for simplicity, or refactor current ones
  • Add a preference for Special:MyLanguage/ links, like in jhsoby/telegram-wikilinksbot

See other open issues as well.

Acknowledgements

These are issues that have been resolved by community members, compiled in a list here to show the appreciation of their work. If you feel like your contribution is missing from here, feel free to remind me of it here or via Discord DMs. A valid contribution is an adopted technical proposal or contributed code, either formally (via PRs) or informally (via Discord chats).

DiscordWikiBot is also continuously improved by the translators on Translatewiki.net and (previously) on Github.

@stjohann stjohann pinned this issue Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant