开发者

What are the MediaWiki functions which alter categories in database?

开发者 https://www.devze.com 2023-03-04 21:57 出处:网络
I\'m currently working on a project to change the category administration from Mediawiki to neo4j. (To store categories and relations with neo4j instead of the Mediawiki-MySQL DB)

I'm currently working on a project to change the category administration from Mediawiki to neo4j. (To store categories and relations with neo4j instead of the Mediawiki-MySQL DB)

I didn't found a special hook from Mediawiki for the category creation (When the category and categorylinks are stored to db). Now I try to replace the functions that insert, update and select the cate开发者_运维问答gory table (MySQL).

Unfortunately I don't find a starting point from where to begin. Which file from Mediawiki should be altered? Any other suggestions?


The main update is done in includes/LinksUpdate.php. The relevant hooks are LinksUpdate and LinksUpdateComplete. There seem to be one or two other places where a sortkey is updated or a record is deleted. The reads from the table seem to be done all over the place as needed.

0

精彩评论

暂无评论...
验证码 换一张
取 消