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
0
votes
1 answer

upload image to wikimedia with php

i am loged in to wikimedia server with the api and not able to upload i get this error: thanks i got this error back, File upload param file is not a file upload; be sure to use multipart/form-data for your POST and include a filename in the…
webli
  • 1
  • 6
0
votes
1 answer

incremental updates documentation is not clear enough

I have a database where I need keep up with changes on Wikidata changes, and while I was looking for ways to do it, I found these three: RSS API Call Socket.IO I would like to know if there are other ways and which one is the best or recommended…
Luiz E.
  • 6,769
  • 10
  • 58
  • 98
0
votes
1 answer

MediaWiki adjust system message language

i had been having a bug, where my system messages are shown in the wrong language. I have got one simple question: How do i set the system message to always be e.g. english or german without adding &uselang=de to the URL. Is there a way to…
Divide by Zero
  • 1,343
  • 1
  • 14
  • 37
0
votes
0 answers

get base url for Wikipedia based on user country

I'm developing an App on IOS which will get some information from Wikipedia. I should request the information from Wikipedia based on user language. For example in english the URL is: https://en.wikipedia.org/w/api.php?... but in french…
sebastien
  • 2,489
  • 5
  • 26
  • 47
0
votes
1 answer

How to edit MediaWiki HTML Header?

My goal is to edit the HTML header of my wiki articles. I want to add some hreflang tags, depending on the availability of that particular article in a certain language. Basically i have got two questions: How do i get the languages before the page…
Divide by Zero
  • 1,343
  • 1
  • 14
  • 37
0
votes
0 answers

parsoid cannot find module

Error: Cannot find module '/etc/mediawiki/parsoid/bin/server.js' With UBUNTU 14 LTS, on command nodejs bin/server.js ... There are a /etc/mediawiki/parsoid/settings.js but no server.js. Using the standard procedures. I need to install on my…
Peter Krauss
  • 13,174
  • 24
  • 167
  • 304
0
votes
0 answers

What is the Java class structure to parse a complex JSON structure with ObjectMapper?

I want to parse Wikimedia results with ObjectMapper. Here is the JSON structure: { "continue1" : { "rdcontinue" : "!!!|12723219", "continue1" : "||" }, "query" : { "pages" : { "3632887" : { "pageid" : 3632887, …
BobR
  • 273
  • 3
  • 10
0
votes
1 answer

Create Wikimedia drop down list which includes all Templates

I'm trying to create a custom select button to my WikiEdit toolbar. However, I cannot find how to populate it dynamically with all the Templates I have on my wiki page. Here is what I have added to the common.js file so far: var customizeToolbar =…
Dimentica
  • 795
  • 2
  • 11
  • 30
0
votes
3 answers

POIs with description and photos

I know this question was already asked, but I have some problems with different API/dump tested: open street map: free and with a dump that I can parse and store in my Elasticsearch database, but there is no description nor photos for…
user1853777
  • 757
  • 2
  • 7
  • 20
0
votes
1 answer

indexing wikipedia articles in SOLR around a location with given distance

What is the best way to index Wikipedia Articles (which contain Geo locations lon/lat) in a Solr Server? E.g. I have a given lon/lat Position and want to index all Wikipedia Articles around a distance of 60 kilometers. I could download the whole…
Marian Lux
  • 53
  • 8
0
votes
1 answer

Struggling with Rails Wikiquote gem?

I am writing my first rails website and have come across a problem. I want to show a "quote of the day" on the welcome page using the 'wikiquote' gem (http://hemanth.github.io/wikiquote-gem/). I put it in the code below and thought it would work,…
Busch
  • 857
  • 10
  • 29
0
votes
2 answers

Show list of page titles wikimedia

I want to show a list of the titles of all pages in a wiki on the home page. I can't find anything in the documentation, there doesn't seem to be a wikimedia forum. The only question I can find on SO hasn't been answered. Any suggestions?
Steve
  • 1,371
  • 1
  • 16
  • 38
0
votes
1 answer

Get all page ids linked to a given wikipedia page

I am trying to use the wikimedia public apis for accessing the english wikipedia database. I would like to have a way to obtain all the page ids linked to a given page. If I do like…
Kami
  • 1,079
  • 2
  • 13
  • 28
0
votes
1 answer

Wikipedia dump files

I imported dump file of Persian Wikipedia 2007 to my local mysql 5.6. It seems the user name in non-latin scripts are not saved correctly. Is there any way fix? select DISTINCT rev_user_text from revision where rev_user_text like…
Handsome Nerd
  • 17,114
  • 22
  • 95
  • 173
0
votes
1 answer

Are MediaWiki API redirects broken?

I can't figure out how to get them to work. According to the official API documentation: http://www.mediawiki.org/wiki/API:Query#Resolving_redirects it would imply that the following…
Marcus
  • 2,128
  • 20
  • 22