I wanted to clean up lint errors a little and downloaded the dump of the table and wrote a script to find most common templates being used. The second and third most common templates are Template:Db-afc and Template:Db-g13 that are used for speedy deletion (which doesn't make sense, we don't have 60k pages waiting for deletion).
Here is a list:
79871849 55000918 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79871869 44893415 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79871921 55003369 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79871927 55007572 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79871935 55010772 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79871952 55002791 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79908005 55010089 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79908269 55002334 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79908306 54360240 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79931595 33613825 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79943777 52887941 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79984485 53484509 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}} 79984489 55012278 4 0 43 {"inTable":true,"name":"p","templateInfo":{"name":"Template:Db-afc"}}
Then tried to check the page id to find the page to fix them, none. nada.
I did a left-join query: select * from linter left join page on linter_page = page_id where page_namespace is null; and it seems out 17M rows in enwiki 300K belong to pages that don't exist anymore. These need to be cleaned up to at least reduce the load on the database. And also it's better to find the problem and make sure if there is a hook that removes the lint errors after deletion.