Thanks, it works now
On Fri, Jan 27, 2017 at 4:20 PM, Betacommand <Betacommand(a)gmail.com> wrote:
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 <max.vlasov(a)gmail.com> wrote:
Hi,
Trying to find a way to extract links from a wikipedia see also section,
noticed a stackoverflow answer (
http://stackoverflow.com/quest
ions/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=section
s&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
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api