MariaDB [enwikisource_p]> SELECT -> cl_to -> FROM page -> JOIN categorylinks -> ON cl_from = page_id -> WHERE page_id = cl_from -> AND page_namespace = 104 -> AND page_title = 'Euripides_(Mahaffy).djvu/153'; Empty set (0.01 sec)
After making a null edit (just clicking edit and saving the page), the categorylinks entry appears:
MariaDB [enwikisource_p]> SELECT -> cl_to -> FROM page -> JOIN categorylinks -> ON cl_from = page_id -> WHERE page_id = cl_from -> AND page_namespace = 104 -> AND page_title = 'Euripides_(Mahaffy).djvu/153'; +---------------+ | cl_to | +---------------+ | Not_proofread | +---------------+ 1 row in set (0.01 sec)
My suspicion is that the production (master) server has these rows in categorylinks and the Labs replicas are just missing rows. I guess I'll need to find another example.