Steps to replicate the issue:
- Go to Category:AfC pending submissions by age/Very old (English Wikipedia), place {{SUBPAGENAME}} on the page and then get a preview.
- Go to رده:درخواستهای مقالهها برای ایجاد در انتظار بر پایه سن/خیلی قدیمی (Same category on Persian Wikipedia), place {{SUBPAGENAME}}, and then get a preview (پیشنمایش).
What happens?:
The Magic word SUBPAGENAME on English Wikipedia returns the exact name of the subpage ("Very old"), but the same magic word on Persian Wikipedia returns the complete page name, same as the magic word PAGENAME.
What should have happened instead?:
{{SUBPAGENAME}} should return the current subpage name on all wikis, the subpage name on the mentioned page on Persian Wikipedia is "خیلی قدیمی".
Other information:
The magic word works fine at least on my sandbox and template subpages (User: and Template: namespaces).