Module talk:Check for deprecated parameters

This is an old revision of this page, as edited by Zackmann08 (talk | contribs) at 20:07, 30 November 2018 (Review request: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 6 years ago by Zackmann08 in topic Review request

Review request

@Hike395, Jonesey95, and Frietjes: as some of the best template editors I know, I'd love to get your feedback on this module. I've been doing a lot of work cleaning up Deprecated parameters and one of the ongoing frustrations has been figuring out which parameter is deprecated. So I took the lead from Frietjes' awesome Module:Check for unknown parameters. What this does is take a list of parameters including their old value and what they should be replaced with. If the module is implemented on a template, when that template is transcluded with deprecated parameters it will put the page in a given category. Additionally, when the page is previewed it will display Warning: Page using <template name> with deprecated parameter "old_param". replace with "new_param" (this message is shown only in preview). I have a very rudimentary testcase setup at User:Zackmann08/deprecated page so that you can see what it does. To avoid redlinked categories, I'm passing in [[:Category:Pages using user:Zackmann08/deprecated template with deprecated parameters|_VALUE_{{PAGENAME}}]] so it will actually render a link. Anyway, no rush at all, but would love any feedback you can provide! --Zackmann (Talk to me/What I been doing) 20:07, 30 November 2018 (UTC)Reply