I was thinking about it. But unfortunately, it will search for only this namespace. And it wont show me next point (apcontinue)
On Thu, Dec 20, 2018 at 4:02 PM bawolff bawolff+wn@gmail.com wrote:
Hi,
instead of putting a namespace prefix, you have to specify apnamespace=<namespace number> instead
So instead of apfrom=Talk:Foo you would do apfrom=Foo&apnamespace=1
-- Brian
On Thu, Dec 20, 2018 at 2:44 PM Czuma, Marek < marek.czuma@contractors.roche.com> wrote:
Marek Czuma marek.czuma@contractors.roche.com 3:36 PM (7 minutes ago) SAVE AS RECORD to mediawiki-api Good morning! I'm despaired, cause I have some problem with wikimedia api and I really can't find answer.
I am programmer and I try to deal with allPages endpoint. I try to fetch 500 pages, take apcontinue and once again fetch more 500 pages (from apfrom point).
Everything is ok until the moment I want to fetch something like Somenamespace:Page. I can't send request with colon inside a request.
Response; "error": { "code": "invalidtitle", "info": "Bad title "Somenamespace:Page".", "*": "See http://syswiki.gene.com/syswiki/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at < https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce%3E; for notice of API deprecations and breaking changes." }
Could you help me? I must fetch this page, but I don't know how to do it properly. _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api