Hi there!
I'm trying to generate 10 random articles in Hebrew using this request:
https://he.wikipedia.org/w/api.php?format=xml&action=query&generator...
As you can see, I'd like to get their intro, but some of the articles' intro is empty in the API response, even though it's not empty in Wikipedia itself.
I have tried to make the same request in English, and I the problem didn't happen.
This is the first time I encounter this weird problem after making this request in my App for over a year... Am I missing something? Is there any new information that I should add to the request or it's just a bug?
Thanks!
It's probably a side effect of a change in MediaWiki that went out this week. Try purging the pages with the empty response.
On Thu, Sep 6, 2018 at 1:06 PM, Tal Barda 412tal412@gmail.com wrote:
Hi there!
I'm trying to generate 10 random articles in Hebrew using this request:
https://he.wikipedia.org/w/api.php?format=xml&action= query&generator=random&grnlimit=10&grnnamespace=0&prop=extracts&exintro& explaintext
As you can see, I'd like to get their intro, but some of the articles' intro is empty in the API response, even though it's not empty in Wikipedia itself.
I have tried to make the same request in English, and I the problem didn't happen.
This is the first time I encounter this weird problem after making this request in my App for over a year... Am I missing something? Is there any new information that I should add to the request or it's just a bug?
Thanks!
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Thanks for the answer. Do you think it's gonna be fixed any time soon?
בתאריך יום ה׳, 6 בספט׳ 2018 ב-22:53 מאת Brad Jorsch (Anomie) < bjorsch@wikimedia.org>:
It's probably a side effect of a change in MediaWiki that went out this week. Try purging the pages with the empty response.
On Thu, Sep 6, 2018 at 1:06 PM, Tal Barda 412tal412@gmail.com wrote:
Hi there!
I'm trying to generate 10 random articles in Hebrew using this request:
https://he.wikipedia.org/w/api.php?format=xml&action=query&generator...
As you can see, I'd like to get their intro, but some of the articles' intro is empty in the API response, even though it's not empty in Wikipedia itself.
I have tried to make the same request in English, and I the problem didn't happen.
This is the first time I encounter this weird problem after making this request in my App for over a year... Am I missing something? Is there any new information that I should add to the request or it's just a bug?
Thanks!
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
-- Brad Jorsch (Anomie) Senior Software Engineer Wikimedia Foundation _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org