Template talk:Request edit button
Add topicDuplication
[edit]@Alexis Jazz: How is this different from Template:Submit an edit request? * Pppery * it has begun... 16:22, 28 July 2022 (UTC)
- Pppery, the difference is I was unaware of that one. Also, this template works without lua.
Actually, there are some differences. When you click the button on {{Submit an edit request}} it leads you to a new section form with the pre-filled title "Protected edit request on 24 July 2022". That's.. 4 days ago, presumably when the page was last parsed. This template doesn't have that issue.
And my template uses mw:Extension:InputBox so it doesn't just link the 2010 wikitext editor directly, other editors can use it too if they recognize InputBoxes.
In MediaWiki talk: namespace, {{Submit an edit request}} preloads {{edit fully-protected}} while my template preloads {{edit interface-protected}}.When you click the button on {{Submit an edit request}} it leads you to a new section form with the pre-filled title "Protected edit request on 24 July 2022". That's.. 4 days ago, presumably when the page was last parsed
- true. The template is normally used as part of the MediaWiki interface and is parsed dynamically in that case so it isn't a problemAnd my template uses mw:Extension:InputBox so it doesn't just link the 2010 wikitext editor directly, other editors can use it too if they recognize InputBoxes
- would probably be a useful feature in Module:Submit an edit request too.In MediaWiki talk: namespace, {{Submit an edit request}} preloads {{edit fully-protected}} while my template preloads {{edit interface-protected}}
- {{submit an edit request}} is intended to be used on the subject page, not the talk page, so if you transclude it on a talk page it assumes you are trying to request an edit to the talk page and defaults to full protection.- So it seems, overall, that these do serve slightly different purposes. * Pppery * it has begun... 20:01, 28 July 2022 (UTC)
Preloadparams
[edit]Template:Request edit button/preload (Diff 1100570053)
User:Frietjes, that's a preloadparam. See for example . The $1 gets replaced with the URL parameter.
Suppress Template:Text diff when used in template talk space
[edit]@Alexis Jazz, JrandWP, Waddie96, Wbm1058, and Paine Ellsworth: Can we please amend Template:Request edit button/preload so that it doesn't suggest the use of {{Text diff}} when requesting edits to templates. The resulting code blobs clutter up template talk pages, the code cannot be tested directly and is sometimes misinterpreted. Editors should be encouraged to use the sandbox and test cases features, which allow the desired change to be specified unambiguously, and also allow direct testing. After all, Template:Edit fully-protected and similar templates, when used in Template talk namespace, provide several relevant links (sandbox, edit sandbox, sandbox history, sandbox last edit, sandbox diff, test cases, transclusion count) that make the advanced-permission user's job somewhat easier. --Redrose64 🌹 (talk) 18:50, 10 April 2026 (UTC)
- Redrose64, do others agree that it's unhelpful? If someone adds a namespace check I won't scream.
- (edit conflict) Agreed. I've often thought that the diffs flew directly in the face of the need for sandboxing and testing new template edits. I suppose they can be useful for short, concise improvements like spelling corrections, but they can seldom replace, nor do they effectively augment, the sandbox. P.I. Ellsworth , ed. – welcome! – 19:21, 10 April 2026 (UTC)
- Agree. Should simply request implementing the changes which were made in the template's sandbox, while explaining the rationale for them. – wbm1058 (talk) 20:25, 10 April 2026 (UTC)
- Technical question: this will have to be a change to Template:Request edit button itself with a new Template:Request edit button/preload/Template (hypothetical pagename), wouldn't it? As far as I remember, there is no way to check the namespace inside Template:Request edit button/preload in a way that would alter the wikitext that the user who clicked the button sees in the editor. —andrybak (talk) 21:02, 10 April 2026 (UTC)
- I believe you are correct — Martin (MSGJ · talk) 21:26, 10 April 2026 (UTC)
- Agree, and include module namespace too — Martin (MSGJ · talk) 21:25, 10 April 2026 (UTC)