Template talk:Request edit button
Appearance
(Redirected from Template talk:Request edit button/sandbox)
Duplication
[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 [1]. The $1 gets replaced with the URL parameter.