After T187783. All template title must starts with upper case letter on zhwiktionary. But when I querying Mostlinkedtemplates, I get:
{"value":"49106","ns":10,"title":"Template:zhushi"} https://zh.wiktionary.org/w/api.php?action=query&format=json&list=querypage&continue=-%7C%7C&qppage=Mostlinkedtemplates&qpoffset=50&qplimit=10
{"value":"1299","ns":10,"title":"Template:Zhushi"} https://zh.wiktionary.org/w/api.php?action=query&format=json&list=querypage&continue=-%7C%7C&qppage=Mostlinkedtemplates&qpoffset=360&qplimit=10
Two rows for same template and one's title starts with lower case letter.
Description
Related Objects
Event Timeline
There's a special page, Special:MostTranscludedPages. Special:MostLinkedTemplates redirects there.
Special page is also affected, but it links both times to the same page. API is more accurate here by reflect the underlying data
https://zh.wiktionary.org/wiki/Special:最多链接模板
- Template:Zhushi (used on 49,106 pages)
- Template:Zhushi (used on 1,299 pages)
Due to the config change the old links are not reachable with special:whatlinkshere
https://zh.wiktionary.org/wiki/Special:链入页面/Template:Zhushi
It seems there are corruct entries in the templatelinks table which needs clean up.
I am not sure if there is a maintenance script to clean up these duplicates.
I assume the problem is that all the links table pointing to pages in the template namespace (templatelinks, redirects, pagelins) will need to be cleaned up to convert entries for titles that start with a lower case letter (and remove duplicates).
Looks fixed according to the special page and found no lower-case links to template namespace in linktarget