Questions tagged [wikimedia]

Wikimedia is the foundation running Wikipedia and other sites. Most sites in the Wikimedia family are built on MediaWiki.

The Wikimedia Foundation runs a number of projects, including Wikipedia, Wiktionary and Wikinews. Use this tag for questions specific to the Wikimedia family of wikis (e.g. Wikimedia settings, or custom extensions).

Consider also:

  • if your question has to do with the MediaWiki software
  • if your question has to do with template code of MediaWiki
  • if your question is specific to Wikimedia Commons
  • if your question is specific to Wikipedia
  • if your question has to do with the use of the API on Wikipedia
152 questions
3
votes
2 answers

Getting link from random article

I have a function that gets the first section of a random Wikipedia article, but I don't know how to get the actual URL of that article. I've looked around in the WikiMedia API and couldn't find it. getRandomArticle : function() { return…
theintellects
  • 1,320
  • 2
  • 16
  • 28
3
votes
1 answer

wikimedia download from google art project

I'm quite new around. I was looking for a way to download the full resolution images in Wikimedia, from Google art project. Link: http://commons.wikimedia.org/wiki/Category:Gigapixel_images_from_the_Google_Art_Project My first thought was…
Tule
  • 31
  • 4
3
votes
4 answers

How to get the first image of any wiki page

I need to get the first image/ main image in any given wiki page. I could use a scraping tool to do this. But I am using curl to scrap a page. But may be due to slow internet connection, it is taking a long time to scrap just one wiki page. Apart…
Krishna Deepak
  • 1,735
  • 2
  • 20
  • 31
2
votes
0 answers

VisualEditor on MediaWiki 1.36.1 results in Parsoid/RESTBase server "Couldn't connect to server" on Docker

I am using Mediawiki 1.36.1 which, according the VisualEditor page, contains VisualEditor so I do not need to install it before enabling it. Furthermore, Parsoid is not required because MediaWiki >=1.35 is being used. As per the documentation, I…
alberto56
  • 2,997
  • 3
  • 28
  • 47
2
votes
1 answer

How to extract information from a Wikipedia list using SPARQL query?

I'm trying to extract all ongoing conflicts from the table shown at https://en.wikipedia.org/wiki/List_of_ongoing_armed_conflicts but I can't get my head around how to even address the content of the list. Basically, I want to return the same list.…
Nora
  • 21
  • 2
2
votes
0 answers

Can I query Wikidata for Wikimedia images related to an entity using SPARQL?

I know I can query Wikipedia pages from Wikidata like this: SELECT ?place ?article WHERE { SERVICE wikibase:box { ?place wdt:P625 ?location . # looks like cornerwest must be south of cornereast # otherwise you go around the globe #…
simone
  • 4,667
  • 4
  • 25
  • 47
2
votes
1 answer

Wikimedia Maps Layer (open street maps) getting 429 error (trouble connecting to ssl with wget)

Trying to trace down why The wikimedia map layer is down, wondering if anyone has heard anything. Google wasn't very helpful This has been broken since at least yesterday for our maps : https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}{r}.png The…
Jeremiah S.
  • 411
  • 1
  • 4
  • 22
2
votes
1 answer

Find image by Filename in Wikimedia Commons

When I call this API https://en.wikipedia.org/w/api.php with following params: "action": "query", "format": "json", "titles": "Albert Einstein", "prop": "images" I just get the title of the following images. For example the title:…
aosh5
  • 89
  • 1
  • 6
2
votes
1 answer

Wikipedia search results different for api (opensearch) vs normal web interface?

For the text query "major+histocompatibility+complex+class+II+antigens" I get different results using the web and api interfaces. Is there a way to get the same results as the web interface using the api? Query with web…
nflacco
  • 4,972
  • 8
  • 45
  • 78
2
votes
0 answers

how to get all Wikidata items that are subclasses or instances of the Wikidata items in wikimedia commons

I was working on the Issue https://github.com/commons-app/apps-android-commons/issues/3114 to add all wikidata items that are sublasses or instances of the given wikidata item(depictions) I was using this API…
2
votes
1 answer

Select rows based on information stored in separate table

First of all I'm sorry for the overly vague title, however I'm unfamiliar with the proper terminology for a problem like this. I'm attempting to retrieve a list of page titles from Wiktionary (Wikimedia wiki-based dictionary) where the page must be…
Prime
  • 2,410
  • 1
  • 20
  • 35
2
votes
1 answer

Can I make wikipedia automatically correct my query when using api?

Consider the following link. It says: Showing results for andriyivs'kyi uzviz kyiv ukraine. Search instead for Andriyivski Uzviz Kyiv Ukraine. But when I do the following request, nothing of the sort happens. Is this possible using Wikipedia API?
x-yuri
  • 16,722
  • 15
  • 114
  • 161
2
votes
1 answer

How to get all Wikipedia pages from category with title and primary image?

I want to list all pages from category with the title and primary image. My current API url is this: https://en.wikipedia.org/w/api.php?action=query&cmlimit=100&list=categorymembers&cmtitle=Category%3AAmerican%20male%20film%20actors with this…
juanpex
  • 140
  • 8
2
votes
1 answer

Use a wikimedia image on my website

So I have a wikimedia commons URL(which is really just a wrapper for the actual image), like this: https://commons.wikimedia.org/wiki/File:Nine_inch_nails_-_Staples_Center_-11-8-13(10755555065_16053de956_o).jpg If I go to that page, I can see that…
dessalines
  • 6,352
  • 5
  • 42
  • 59
2
votes
1 answer

Updating .class file in a jar throws exception

I'm trying to port a wikimedia plugin to run on OpenVMS and needed to alter a class. I'm trying to update the .class file in the jar using jar uf jar-file .class-file, however when I do this I get the following: java.util.zip.ZipException: duplicate…
CheesePls
  • 887
  • 1
  • 6
  • 17
1
2
3
10 11