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

Aliases to add #118

Closed
pydis-bot opened this issue Nov 17, 2018 · 6 comments
Closed

Aliases to add #118

pydis-bot opened this issue Nov 17, 2018 · 6 comments
Labels
a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core)

Comments

@pydis-bot
Copy link

Originally posted by Thomas Petersson:

More of a personal memo, but add aliases for

  • !tags get f-strings
  • !tags get codeblock

Any other additions are welcome.

@pydis-bot pydis-bot added a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) Cogs labels Nov 17, 2018
@pydis-bot
Copy link
Author

Comment from Joseph Banks:

I'd say that we should add support for plurals instead of adding specific overrides. People adding or removing an 's' from the end of a tag seems to be the biggest error causer in my experience.

@pydis-bot
Copy link
Author

Comment from Thomas Petersson:

That was part of the implementation for fstring and codeblock. just though there might be other tags we should alias

@pydis-bot
Copy link
Author

Comment from Johannes Christ:

Are you working on this? Asking because of the assignment

@sco1
Copy link
Contributor

sco1 commented Dec 29, 2018

Is there still a short-term desire for this with the addition of #222?

I'd like to see support for tag aliasing and/or fuzzy matching, but that seems like a more generic issue than this is, and probably something for after the site rewrite since models will need to be adjusted.

@lemonsaurus
Copy link
Member

lemonsaurus commented Dec 29, 2018

I agree that fuzzy matching could be interesting to test out. we could make it relatively strict, like, only 1 letter difference. after #222 I don't see much of a point in ever making any tag aliases, we should just solve the "plural problem" instead, and fuzzy matching is an interesting solution.

@sco1
Copy link
Contributor

sco1 commented Dec 29, 2018

Since the intent of this issue seems to be resolved, I'll close this and open up an issue related to tag aliasing/fuzzy matching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core)
Projects
None yet
Development

No branches or pull requests

3 participants