yishai goldstein wrote:
> Hi,
> generator=links doesn't seem to find all the links on the page.
> For example: 
> http://en.wikipedia.org/w/api.php?action=query&generator=links&gpllimit=500&titles=105th_Airlift_Wing
>  
> <http://en.wikipedia.org/w/api.php?action=query&generator=links&gpllimit=500&titles=105th_Airlift_Wing>
>  
> doesn't return the link to: Militia (United States)
> <http://en.wikipedia.org/wiki/Militia_%28United_States%29>
> I don't know what is special about this link that it isn't returned. 

For reference, that link is on the "National Guards" title after 
expanding first infobox. Maybe it was treated a bit different for being 
on the template. Seems to be missing from pagelinks.
See 
http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Militia_(United_States)&limit=500
 
doesn't list 105th_Airlift_Wing


> But I also found that links to redirects to the page itself are not shown.
> For Example: 
> http://en.wikipedia.org/w/api.php?action=query&generator=links&gpllimit=500&titles=100%20picometres
>  
> <http://en.wikipedia.org/w/api.php?action=query&generator=links&gpllimit=500&titles=100%20picometres>
>  
> does not show the link to: 1 E-10 m <http://en.wikipedia.org/wiki/1_E-10_m>

That may be intentional

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to