This is a regression bug. The PAGESINCATEGORY builtin function no longer processes its parameter.
The typical parameter is <nowiki>{{PAGENAME}}</nowiki> and it is used like this in common templates displaying a category redirect, in order to recategorize the redirected category (where the template is used) within a specified category, as long as it contains pages.
See [[fr:Catégorie:Norme d'affichage]] which is redirected now to [[fr:Catégorie:Format d'affichage vidéo]] with {{Catégorie redirigée|Format d'affichage vidéo}}. There's no way now to specify a parameter for {{PAGESINCATEGORY:}} that may be variable, so the tempalte no longer works as expected, and the redirected category now becomes compltely orphan, instead of having its articles still accessible from within the target category.
Here:
- "{{PAGENAME}}" returns "Norme d'affichage"
- "{{PAGESINCATEGORY:Norme d'affichage}}" returns "4", which is correct.
- "{{PAGESINCATEGORY:{{PAGENAME}}}}" returns "0", which is wrong !
This is a recent regression. This has worked since several years.
Version: unspecified
Severity: major