Skip to content

TfM rename#139

Merged
NovemLinguae merged 1 commit into
wikimedia-gadgets:masterfrom
Trialpearswiki:tfm
Jul 2, 2026
Merged

TfM rename#139
NovemLinguae merged 1 commit into
wikimedia-gadgets:masterfrom
Trialpearswiki:tfm

Conversation

@Trialpearswiki

@Trialpearswiki Trialpearswiki commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Comment thread xfdcloser-src/Venue.js
},
regex: {
nomTemplate: /(<noinclude>[\n\s]*)?{{(?:Template for discussion|Tfm)\/dated[^{}]*(?:{{[^}}]*}}[^}}]*)*?}}([\n\s]*<\/noinclude>)?(\n)?/gi,
nomTemplate: /(<noinclude>[\n\s]*)?{{(?:Template for discussion|Template for merging)\/dated[^{}]*(?:{{[^}}]*}}[^}}]*)*?}}([\n\s]*<\/noinclude>)?(\n)?/gi,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we leave Tfm in the list for backwards compatibility?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been broken for over a month already and we don't have any discussions using tfm anymore as far as I can tell. No opposition to keeping it around but I don't think it would ever be invoked.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally I'm all for making sure old things/ways don't break, but other than a single case where it looks like someone copied the template to the sandbox while there was an old tfm tag on it, I can't see an instance where tfm/dated would show up; it is in none of the documentation and is always placed by a subst'd {{tfm}} (see e.g. TFDHOWO). This is one of the very few places where I don't think backwards-compatibility will be needed.

@NovemLinguae NovemLinguae linked an issue Jun 12, 2026 that may be closed by this pull request
@NovemLinguae

Copy link
Copy Markdown
Member

Pro tip: if you put one of the following in your post when you first post it...

Fix #136
Fixes #136
Resolves #136

... and probably some other keywords I'm too lazy to look up, GitHub will automatically link the PR to the ticket, then when the PR is merged it'll close the ticket. Saying "Resolves issue #136" isn't the correct keyword format so I went ahead and did some manual linking.

@NovemLinguae

Copy link
Copy Markdown
Member

@Trialpearswiki Thanks for all these PRs. One reason I go to the quite considerable effort of turning every talk page thread into a GitHub ticket is so that when some super volunteer patch writer like you comes along, everything is tied up with a bow and ready for work :)

I've been busy with some other stuff and my wiki time has gone down a lot the past month or two. My plan is to catch up on reviewing these PRs at Wikimania (late July), or maybe before if I find some time.

One thing you can do to help me / expedite the process is, in cases where the patch is simple and/or there's wikicode algorithm changes, include some diffs to the testing you did on testwiki. Usually I load every patch and do a before and after manual test on testwiki. But in some cases, I can feel confident enough to merge just looking at the diffs, and when this happens, it can expedite the patch.

Thanks for all this patch writing. People like you rescue repos like this and I appreciate it :)

@NovemLinguae

Copy link
Copy Markdown
Member

Also, if you're looking for high impact patches to write, filtering by the "frequently requested" tag can be helpful: https://github.com/wikimedia-gadgets/xfdcloser/issues?q=is%3Aissue%20state%3Aopen%20label%3Afrequently-requested

@Trialpearswiki

Copy link
Copy Markdown
Contributor Author

Sounds great, will make sure to include diffs when appropriate then!

@primefac primefac closed this Jun 24, 2026
@primefac primefac reopened this Jun 24, 2026
@primefac

primefac commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Sorry, but this has really been gumming up TFD lately, there are a ton of merge templates that aren't getting taken out of the TFM tracking category because the script isn't removing the nominations. It's a straight-forward one-line change and there's nothing that will break if it's implemented.

@primefac primefac left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@NovemLinguae

Copy link
Copy Markdown
Member

Tested, works. Thanks!

@NovemLinguae NovemLinguae merged commit 59cecd8 into wikimedia-gadgets:master Jul 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Template:Tfm → Template:Template for merging

3 participants