Page MenuHomePhabricator

Some parser functions are erroneously treated as templates and displayed on Special:WantedTemplates and Special:WhatLinksHere
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • (No steps to replicate, reason unknown)

What happens?:
See https://zh.wikipedia.org/wiki/Special:WantedTemplates (archive)

Wanted templates
The following data is cached, and was last updated 07:32, 28 April 2024. A maximum of 5,000 results are available in the cache.

Showing below up to 50 results in range #1 to #50.

1. Template:Fullurl:Wikipedia:新条目推荐/候选‏‎ (4,582 links)
2. Template:Fullurl:Wikipedia:新條目推薦/候選‏‎ (4,582 links)
3. Template:Fullurl:Wikipedia:优良条目评选/提名区‏‎ (4,170 links)
4. Template:Fullurl:Wikipedia:優良條目評選/提名區‏‎ (4,170 links)
5. Template:移动自‏‎ (2,908 links)
6. Template:ISO 639 name zht‏‎ (1,644 links)
7. Template:說明‏‎ (1,616 links)
8. Template:Fullurl:Wikipedia:优良条目候选‏‎ (696 links)
9. Template:Fullurl:Wikipedia:優良條目候選‏‎ (696 links)
10. Template:Fullurl:Wikipedia:同行評審/提案區‏‎ (637 links)
...

and https://zh.wikipedia.org/wiki/Special:WhatLinksHere/Template:Fullurl:Wikipedia:新条目推荐/候选 (archive)

Pages that link to "Template:Fullurl:Wikipedia:新条目推荐/候选"
The following pages link to Template:Fullurl:Wikipedia:新条目推荐/候选:

Displayed 50 items.

Talk:黑客 (transclusion)
Talk:锂 (transclusion)
Talk:聯合國會員國列表 (transclusion)
Talk:民主 (transclusion)
Talk:Debian (transclusion)
Talk:羅馬帝國 (transclusion)
Talk:吳廷琰 (transclusion)
Talk:密宗 (transclusion)
Talk:華僑華人 (transclusion)
Talk:苏格拉底 (transclusion)
...

Some parser functions, such as {{fullurl:}} and {{int:}}, are treated as template.

Other information (browser name/version, screenshots, etc.):
This situation has not been observed in other wikis, maybe it is caused by the cache expiration at the same time?

Event Timeline

Diskdance renamed this task from Some magic word errors are treated as templates and displayed on Special:WantedTemplates and Special:WhatLinksHere to Some parser functions are erroneously treated as templates and displayed on Special:WantedTemplates and Special:WhatLinksHere.Apr 29 2024, 2:23 PM
Diskdance updated the task description. (Show Details)

According to the protection log by Xiplus-abot, some "templates" already have 1026 transclusions as of 30 January.

This is because of calls to Module:TemplateExist, and this report should be closed as invalid. cc @A2569875, the author of that module.

SunAfterRain moved this task from MediaWiki core to Closed on the Chinese-Sites board.

Thanks for taking the time to investigate.