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

xfd: CfD/S C2F should tag the page with {{subst:cfm-speedy}}, not {{subst:cfr-speedy}} #2040

Closed
NovemLinguae opened this issue Nov 11, 2024 · 0 comments · Fixed by #2043
Closed

Comments

@NovemLinguae
Copy link
Member

Requested by Jlwoodwa at https://en.wikipedia.org/wiki/Wikipedia_talk:Twinkle#CFD%2FS_merging

Making this change would better follow the instructions at https://en.wikipedia.org/wiki/Wikipedia:Categories_for_discussion/Speedy#C2F:_One_eponymous_page, which specifically states that {{subst:cfm-speedy}} should be used

The template params look the same, so shouldn't need to mess with that.

The line of Twinkle code that needs to be modified is params.tagText = '{{subst:cfr-speedy|1=' + params.cfdstarget.replace(/^:?Category:/, '') + '}}\n';. This should be split into something like if ( isC2F ) { } else { }

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.

1 participant