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

Don't add colons to wikilinks inside of {{Draft categories}} #256

Open
NovemLinguae opened this issue Feb 3, 2023 · 0 comments
Open

Don't add colons to wikilinks inside of {{Draft categories}} #256

NovemLinguae opened this issue Feb 3, 2023 · 0 comments
Labels
C-bug Category: bug

Comments

@NovemLinguae
Copy link
Member

Requested by InfiniteNexus at https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Articles_for_creation#Category_links

AFCH automatically adds colons to [[Category:abc]] type wikilinks so that drafts stay out of categories. So [[Category:abc]] is converted to [[:Category:abc]]

This ticket is to code an exception for categories inside of the template {{Draft categories}}. Apparently these colons are not needed in there.

Diff of incorrect AFCH behavior: https://en.wikipedia.org/w/index.php?diff=1137264750&diffmode=source

image

@NovemLinguae NovemLinguae added the C-bug Category: bug label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant