Template talk:Request edit button

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Duplication[edit]

@Alexis Jazz: How is this different from Template:Submit an edit request? * Pppery * it has begun... 16:22, 28 July 2022 (UTC)[reply]

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}}. Alexis Jazz (talk or ping me) 18:56, 28 July 2022 (UTC)[reply]
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 problem
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 - 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)[reply]

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. Alexis Jazz (talk or ping me) 18:06, 13 August 2022 (UTC)[reply]