I am doing some querying with regards to templates and the first template that I decided to work with exposed an issue. I just ran select count(*) from templatelinks where tl_namespace = 10 and tl_title = "Don't_know"; and it returned 255 however when you join tl_from to page_id (to get where the template is being used) all results are NULL. This shouldn't happen. I suspect either database corruption or incorrect processing of template links.
Version: unspecified
Severity: normal