I downloaded the category and categorylinks table sql.gz files from mediawiki and generated the required tables:
category and categorylinks
Manual for the tables:
CategoryLinks
Category
Consider the following category page of: NoSQL
The parent category of this page is Database and Database management. How could I get this information from the two tables?
The manual for category table says the following but I am unable to get that information:
"
Note: The pages and sub-categories are stored in the categorylinks
table."
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…