Hello, I'm a Computer Science Engineering Student. I'm working on Mediawiki dumps and I would like to know if there is a way to obtain pagelinks and categorylinks by Category (avoiding to download the huge dump). I'm using the Special:Export and I have an xml file but without pagelinks (figuring out after have used the mwdumper to convert xml to sql).
Thanks in advance, P
Are you looking for this:
http://en.wikipedia.org/w/api.php?action=query&generator=categorymembers...
-Liangent
On Thu, Oct 20, 2011 at 1:42 AM, Giuseppe De Ruvo gderuvo@gmx.com wrote:
Hello, I'm a Computer Science Engineering Student. I'm working on Mediawiki dumps and I would like to know if there is a way to obtain pagelinks and categorylinks by Category (avoiding to download the huge dump). I'm using the Special:Export and I have an xml file but without pagelinks (figuring out after have used the mwdumper to convert xml to sql).
Thanks in advance, P
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Giuseppe De Ruvo wrote:
Hello, I'm a Computer Science Engineering Student. I'm working on Mediawiki dumps and I would like to know if there is a way to obtain pagelinks and categorylinks by Category (avoiding to download the huge dump). I'm using the Special:Export and I have an xml file but without pagelinks (figuring out after have used the mwdumper to convert xml to sql).
Thanks in advance, P
If you import a dump, the page is parsed and both categorylinks and pagelinks are recreated (which can also be done with maintenance/refreshLinks.php).
mediawiki-api@lists.wikimedia.org