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

[tag] Cannot add {{should be SVG}} to PNG #1108

Closed
JJMC89 opened this issue Aug 15, 2020 · 1 comment · Fixed by #1114
Closed

[tag] Cannot add {{should be SVG}} to PNG #1108

JJMC89 opened this issue Aug 15, 2020 · 1 comment · Fixed by #1114

Comments

@JJMC89
Copy link
Contributor

JJMC89 commented Aug 15, 2020

I tried to add {{should be SVG|logo}} in this edit with {{Opaque}}, but Twinkle wouldn't let me.

This appears to be a png file, please use {{Should be PNG}} instead.
@Amorymeltzer
Copy link
Collaborator

I'm an idiot

Amorymeltzer added a commit to Amorymeltzer/twinkle that referenced this issue Sep 16, 2020
Stems from wikimedia-gadgets#1000 (see also wikimedia-gadgets#1108/wikimedia-gadgets#1114).  Basically, in wikimedia-gadgets#1000 I naively set tag up to check for uses of {{Bad (ext)}} whilst simultaneously forgetting that {{Bad Trace}} and {{Bad font}} were a thing.  This should also improve the message by correctly identifying when an appropriate option is available.

Reported at WT:TW: https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Twinkle&oldid=978523110#Unable_to_add_Template:Bad_trace

This all needs work anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants