Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 1
1 answer
165 views

I'm calling the Wikipedia API in Go using the http package. However, the response from Wikipedia is 200 OK and an empty body. My code is below: package main import ( "fmt" "net/...
Score of -1
1 answer
125 views

currently i am able to upload the images to test.commons.wikipedia using the code taken from the original mediaWiki but the images are being uploaded to https://upload.wikimedia.org/wikipedia/test i ...
Score of 1
1 answer
143 views

With the MediaWiki API we can query the Wikipedia API. One of the fields is titles where one or more titles can be queried at the same time. Batching them together is recommended in high load ...
Score of -2
1 answer
162 views

I am running a Python script which downloads articles from Wikipedia. I have tried to install wikipedia and wikipedia-api but none seem to work. #!/usr/bin/env python # Copyright (c) Microsoft ...
Score of 0
1 answer
105 views

I am using the Wikimedia API with Basic Authorization and Cookie-based authentication. Initially, after logging in, I can retrieve the CSRF token without issues. However, after about 1-2 hours, any ...
Score of 0
1 answer
74 views

When using the https://pypi.org/project/wikipedia/ API, wikipedia==1.4.0, it seems that when accessing the page, the library would first do some string processing to alter the inputs, e.g. import ...
Score of 0
1 answer
53 views

I have an issue while trying to download all the page titles in Wikipedia: I'm using a generator=allpages in order to download all of the article titles and using the clcontinue parameter to get the ...
Score of 0
0 answers
84 views

I'm making a request to the MediaWiki API to get information about a specific page, but I'm having trouble parsing the content of the revisions. Here's an example request I'm using: http://yugioh....
Score of 1
1 answer
1643 views

I want to find a way to get the contents of a Wikipedia article on a specific date. For example, I'd like to see an article in the version it was on January 1 2022. To do this manually or with ...
Score of 1
1 answer
167 views

Wikipedia has in the past few years added short descriptions to most pages, which are useful super-short snippets giving an overview of the topic of a page: https://en.wikipedia.org/wiki/Wikipedia:...
Score of 0
2 answers
98 views

I'm trying to replicate this paper, where they use a random sample of user accounts made between September 9th, 2010 and February 14th, 2011. How can I use the wikipedia API to get this data? I can't ...
Score of -1
1 answer
138 views

Could use a little push. I'm trying to use the 'wikipedia' module to pull information for various topics to use with my custom voice assistant. I'm running into issues when Wikipedia has a redirect ...
Score of 0
2 answers
396 views

I'm looking to fetch pages from wikipedia API. for the sake of keeping this short I won't explain in deep, but the bottom line is that i need to use what returned in previous request (when resolved) ...
Score of 0
1 answer
83 views

I am using the MediaWiki API to get contents of wikipedia pages and display them on a webpage. Normally I would just use the DOMPurify library to sanitise any HTML before I render it however for some ...
Score of 0
1 answer
86 views

I have been using the Mediawiki API for our bot, it returns the response in JSON format. The actual content of user query is the value of the "Snippet" (Snippet is the Key). The problem ...

15 30 50 per page
1
2 3 4 5
73