Group Abstract Group Abstract

Message Boards Message Boards

Why doesn't my WikipediaData[] function return texts in the wikipedia page anymore?

Posted 1 month ago

I am using Mathematica 15. I've been following Elementary Introduction to the Wolfram Language, and I reached chapter 11 String and Text. I tried WikipediaData["computer"] in the exercise notebook and it worked just fine. But when I tried it on the desktop Mathematica 15 app, it no longer worked like that. It returned

{"Title" -> "computer", "Language" -> <|"From" -> "en", "To" -> "en"|>}["Title"]

I have run PacletFind["WikipediaData"], it says the paclet version is 14.3.0, Description:Missing[NotAvailable]

I have run PingTime["www.wikipedia.com"], it says Failure, No ping echo received from host www.wikipedia.com within the \specified timeout

I have run URLRead["https://www.wikipedia.org", "StatusCode"], it says 200.

I have run $Failed === WikipediaData["computer"], it says False

I have run PacletDataRebuild[], but it doesn't seem to have any outputs and I don't think it does anything.

I have run Import["https://en.wikipedia.org/wiki/Computer", "Plaintext"], and it returns the whole wiki page as expected.

Am I doing something wrong? Is my paclet corrupted or obsolete? Do I have to reinstall the whole Mathematica 15, or is it just a bug?

POSTED BY: Steven Zhou
7 Replies

It is a bug that has been reported internally (I do not have information on its resolution, but the developers are aware)

POSTED BY: David Reiss
Posted 1 month ago

Thank you! Glad to know the developers are already informed.

POSTED BY: Steven Zhou

You are welcome. I see that they are actively tracking down the issue and I assume that, when it's fixed, it will be pushed as an automatic paclet update. (Can't say when, but they are aware ;-) )

POSTED BY: David Reiss
Posted 1 month ago

The developers should certainly be aware. Since this issue is not new with 15.0. It also affects 14.3.

POSTED BY: Hans Milton

The WikipediaData function is contained in a paclet which is loaded into Mathemtatica. When a paclet update is deployed (for a bug fix etc...) it is updated in the versions of Mathematica that it is marked to be an allowable version. So, in all likelihood, (I have not checked) it may have worked in a paclet version previously in 14.3 but then inherited the bug that was introduced in the latest version.

POSTED BY: David Reiss
Posted 1 month ago

Thank you for the information! I tried installing Mathematica 15 on a new computer and it also can't work properly. I assume it could be a universal glitch. Maybe I should contact the developers.

POSTED BY: Steven Zhou

It seems to work on Mathematica Online: https://www.wolframcloud.com/obj/2976eefd-2205-4ecc-90a7-1451ea99d30a It seems to work on my 14.1 and 14.2, but not on my 14.3 or 15.0.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard