Steps to replicate the issue:
- Search Wikipedia for a module that uses the isDisambiguationPage function.
- Go to "What links here", and click there on a page in the main namespace.
- Go to edit mode, and scroll down to the "Templates used in this page" list (screenshot attached).
What happens?:
In the list, besides the templates used in the page, pages from the main namespace that are not included in the page also appear.
What should have happened instead?:
Even if we want the cache on these pages to be purged frequently (through the templates used in page tables), we should ensure that the page list doesn't display these.
Or find another solution other than inclusion in this table.
Other information:
The issue was reported on Hebrew Wikipedia, at this link. After investigation, it was found that the issue also exists in all other Wikimedia wikis, for example English Wikipedia.
