Last modified: 2008-09-26 08:43:25 UTC
http://en.wikipedia.org/w/api.php?action=query&prop=links&titles=10.5%20(TV%20miniseries)&pllimit=500&plnamespace=14 That query is listing links to category pages for this page: http://en.wikipedia.org/w/index.php?title=10.5_(TV_miniseries)&oldid=240036162 However, after running the page through ExpandTemplates, it is somewhat apparent that the categorylinks table isn't being properly used. The output looks like: [[Category:All articles with unsourced statements]][[Category:Articles with unsourced statements since March 2007]] Those links indicate that the links would go in the categorylinks table, however, oddly, the second category seems to be being put in the pagelinks table. This is a fairly common quirk on the English Wikipedia.
The API output is: <?xml version="1.0" encoding="utf-8"?> <api> <query> <pages> <page pageid="640040" ns="0" title="10.5 (TV miniseries)"> <links> <pl ns="14" title="Category:Articles with unsourced statements since March 2007" /> <pl ns="14" title="Category:Film articles needing expert attention" /> </links> </page> </pages> </query> </api> The article text is said to not contain any initial-colon category links.
The links in question are added by #ifexist. This is expected.