nsk wrote:
Wouldn't it be nicer if cl_to in the categorylinks database table refered to cat_id rather than include the explicit category name?
You may have an article in a category even when this category page wasn't created yet (in the case you don't have any possible cat_id).
The same is valid for internal links. A [[non-existent page]] internal link must be stored as text.