Update pagelinks access
The `pagelinks`.`pl_title` and `pagelinks`.`pl_namespace` columns no longer exist, the namespace and title is available indirectly, through the `linktarget` table. Update queries to use that, or rely on `pagelinks`.`pl_target_id` where the extra join can be avoided (there’s only a single (sub)query where it’s possible).