That would be because of capitalization see https://en.wikipedia.org/w/api.php?action=parse&prop=sections&page=Set_theory
On Fri, Jan 27, 2017 at 8:06 AM, Max Vlasov <[email protected]> wrote: > Hi, > > Trying to find a way to extract links from a wikipedia see also section, > noticed a stackoverflow answer ( http://stackoverflow.com/ > questions/37396367/how-to-extract-links-from-see-also- > section-of-an-article-in-wikipedia ), suggesting parsing sections first > and then parsing "see also" separately. It had a Chicago working example, > but when I try to do the same with the "Set theory" article, I get an empty > result, so the url > > https://en.wikipedia.org/w/api.php?action=parse&prop= > sections&page=Set_Theory > > returns an empty list of section while there are obviously many sections > in this article. > > Is this expected? > > Thanks > > Max > > > _______________________________________________ > Mediawiki-api mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > >
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
