Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
81 views

I have an Android app (a word game) that relies on grabbing random pages from Wikipedia. I wrote this a couple of years ago and it worked just fine. Then recently (say, June 2025) I started to get: ...
Gideon Av's user avatar
  • 163
2 votes
1 answer
1k views

I was trying to use some Wikipedia images for a Python script, but I came across an error: Error: 403 Client Error: Forbidden. Please comply with the User-Agent policy: https://meta.wikimedia.org/wiki/...
applesmith90's user avatar
3 votes
1 answer
70 views

I wonder if it would be possible to create a .NET regular expression that would delete a reference named Wikipedia containing a certain text, as well as all its calls in the page that don't contain ...
oli_vi_er's user avatar
  • 378
1 vote
2 answers
92 views

I'm looking for a regular expression to use with AutoWikiBrowser (flavour .NET) that allows me to encapsulate simple dates in Wikipedia.fr {{date}} template, but not if they're preceded by an = (which ...
oli_vi_er's user avatar
  • 378
-1 votes
1 answer
106 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 ...
Daksh Rawal's user avatar
0 votes
1 answer
164 views

I want to scrape tables from Wikipedia in Python. Wikipedia is a good source to get data from, but the data present is in HTML format which is extremely machine unfriendly and cannot be used directly. ...
Ξένη Γήινος's user avatar
-2 votes
1 answer
144 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 ...
Manu Chadha's user avatar
  • 16.9k
1 vote
1 answer
112 views

So, I'm creating a Wikipedia user script, and for it, I need to get the current namespace and get a true or false value. I tried using wgCanonicalNamespace , but this did not work. Here is another ...
Twineee The Dark Wizard's user avatar
1 vote
1 answer
88 views

I want to return the title, first five sentences and the main image from a random wikipedia article. Is it possible to do this in a single call? I'm using PHP. First call works fine and gets the title ...
user1106252's user avatar
0 votes
1 answer
91 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 ...
wahyu nanda's user avatar
0 votes
1 answer
150 views

I am working on a project that requires an audio dataset from this page text It shows the audio files but I am unable to figure out how to download the whole dataset at once. Can anyone help me out? ...
Mudit's user avatar
  • 1
1 vote
1 answer
677 views

On a relatively fresh installation of the latest MediaWiki on a standard LAMP setup, everything works great, except I can't get dark mode working. On the MediaWiki Dark Mode page it is claimed that ...
J Griffiths's user avatar
0 votes
1 answer
62 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 ...
alvas's user avatar
  • 124k
1 vote
1 answer
269 views

I have imported to my Miraheze site the Módulo:Ficha from the Spanish Wikipedia but I get this error: Lua error on line 567: attempt to index field 'wikibase' (a nil value). Reverse trace: Module:...
Sebastian Ojeda's user avatar
-2 votes
1 answer
107 views

i am currently trying to apply a bs4-approach to wikipedia-page: results do not store in a df due to the fact that scraping on Wikipedia is a very very common technique - where we can use an ...
zero's user avatar
  • 1,223

15 30 50 per page
1
2 3 4 5
119