Template talk:WikiProject assessment category check

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconCouncil
WikiProject iconThis template relates to the WikiProject Council, a collaborative effort regarding WikiProjects in general. If you would like to participate, please visit the project discussion page.

Problem with creation preload[edit]

I'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

https://en.wikipedia.org/w/index.php?title=Category:Future-Class_Australia_articles&action=edit&preload=Template:WPBannerMeta/templatepage/preloadqual&editintro=Template:WPBannerMeta/templatepage/editintro&preview=no&summary=Creating+category+for+%5B%5BWP%3A1.0%2FA%7C1.0+Assessment+scheme%5D%5D&preloadclass=Future-Class&preloadtopic=Australia+articles&preloadproject=

- 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)[reply]

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)[reply]

By contrast, the "create" links at Template:WikiProject Beauty Pageants work as expected, for example

https://en.wikipedia.org/w/index.php?title=Category%3AFA-Class_Beauty_Pageants_articles&preload=Template%3AWPBannerMeta%2Ftemplatepage%2Fpreloadqual&action=edit&preview=no&summary=Creating+category+for+%5B%5BWP%3A1.0%2FA%7C1.0+Assessment+scheme%5D%5D&editintro=Template%3AWPBannerMeta%2Ftemplatepage%2Feditintro&preloadparams%5B1%5D=Beauty+Pageants&preloadparams%5B2%5D=Beauty+Pageants

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)[reply]