_______________________________________________Hi,instead of putting a namespace prefix, you have to specify apnamespace=<namespace number> insteadSo instead of apfrom=Talk:Foo you would do apfrom=Foo&apnamespace=1
--BrianOn 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)
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> 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