Template talk:WikiProject assessment category check
Council | ||||
|
Problem with creation preload
editI'm not sure if recent edits by MSGJ (talk · contribs) have anything to do with it, but the "create" links are not behaving as expected. See Template:WikiProject Australia/class/sandbox, this has seven message boxes at the top because I added |future=yes
. Of these, the "create" link in the first box is
- if you click that, it produces an edit box containing the code
{{subst:WPBannerMeta/templatepage/qualheader
|project = $1
|topic = $2
}}
which comes from Template:WPBannerMeta/templatepage/preloadqual, and I am certain that the $1
and $2
should have been replaced with proper values. --Redrose64 🌹 (talk) 18:53, 2 July 2023 (UTC)
- Hi, yes, here is the long answer to this. Those parameters were never filled in automatically. There is an editintro box at the top which explains what you have to do. BUT, I have managed to get this working properly in the new module so it WILL fill in those parameters automatically. I did not get round to copying the code to the old code though, but it should be straightforward enough? — Martin (MSGJ · talk) 19:48, 2 July 2023 (UTC)
By contrast, the "create" links at Template:WikiProject Beauty Pageants work as expected, for example
produces
{{subst:WPBannerMeta/templatepage/qualheader
|project = Beauty Pageants
|topic = Beauty Pageants
}}
The principal differences in the query strings seem to be that the one in error has &preloadclass=Future-Class&preloadtopic=Australia+articles&preloadproject=
whereas the working one has &preloadparams%5B1%5D=Beauty+Pageants&preloadparams%5B2%5D=Beauty+Pageants
. --Redrose64 🌹 (talk) 19:46, 2 July 2023 (UTC)