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

reproduce select distinct with get_db_data

I am using for the first time MediaWiki so I apologize if this is a trivial question. I am retrieving data from an external database using {{#get_db_data: db=mydb |from=tabledata |data=ts=ts,obs=observer,des=description }} How can I obtain with…
Qarolina
  • 1
  • 1
0
votes
0 answers

SPARQL DBpedia - How to retrieve members of Wikipedia Category

I'm a bit confused, why I cannot retrieve members of following Wikipedia Category: http://dbpedia.org/page/List_of_members_of_the_17th_Bundestag My query, which is easy and absolutely basic: prefix dbc:…
grajkowski
  • 349
  • 1
  • 3
  • 14
0
votes
1 answer

elasticsearch 6 unable to install plugin org.wikimedia.search:extra not compatible

I have installed elastic search version 6.2.3 over docker. I face the following error when trying to install the following elasticsearch plugin org.wikimedia.search:extra Exception in thread "main" java.lang.IllegalArgumentException: plugin…
Ahmed Abbas
  • 118
  • 8
0
votes
1 answer

Finding Interlanguage Related Articles from Wiki Dump

Finding the full list of Wikipedia's English articles with their related articles in languages other than English like French and Spanish is a problem that their is no answer about that. You can find some similar questions but most of them are…
0
votes
2 answers

posix_uname() has been disabled for security reasons

I have been getting this error message displayed as a header on the website and in the site error_log: [18-Nov-2017 23:06:13 America/New_York] PHP Warning: posix_uname() has been disabled for security reasons in…
Ron K.
  • 123
  • 8
0
votes
1 answer

Mediawiki Tweeki bootstrap print style

I am using Mediawiki with the Tweeki skin. I would like to customize the Mediawiki:Print.css page so when I print into a PDF thanks to PhantomJS binaries and H2P plugin, the templates of the output PDF is the same as the template on my wiki. Using…
Joey
  • 33
  • 1
  • 4
0
votes
1 answer

How Can I add date published meta tag in Mediawiki CMS?

I have installed Mediawiki SEO extension. To add meta tag in head section they have the syntax something like that given below, but can't add date published meta tag. {{#seo: |title={{#if: {{{page_title|}}} | {{{page_title}}} | Welcome to…
0
votes
1 answer

how to use a jquery ui autocomplete function with wikimedia opensearch api?

https://en.wikipedia.org/w/api.php?action=opensearch&search=a&limit=10&namespace=0&format=json the above webpage returns a json array with nested arrays. I just want the second nested array with the titles. How can i use it with jquery ui…
0
votes
1 answer

Problems with `curl` on WikiMedia sites

I am unable to download any content from WikiMedia sites like wikipedia and wikiquote using curl. When I try I get: ~$ /usr/bin/curl -v "http://en.wikipedia.org/wiki/Celsius" * Trying 2620:0:863:ed1a::1... * TCP_NODELAY set * Connected to…
Daniel Mahler
  • 7,653
  • 5
  • 51
  • 90
0
votes
1 answer

Get Wikipedia Page Titles using API looks endless

I'm trying to get all the page titles in Wikipedia in namespace using the API as following: …
fattah.safa
  • 926
  • 2
  • 14
  • 36
0
votes
1 answer

How to Parse JSON in Swift 3 using Alamofire?

I am working with Swift 3. I haven't actually used JSON until now. I am facing this issue where I can parse data only till query . No data is being parsed after that. Please help me know what I am doing wrong over here. JSON Code : { …
0
votes
1 answer

Importing doc file in wikimedia

We have a large amount of documentation in word file format. We are moving to a wikimedia platform for that documentation. I'm looking to import all those doc files into our wiki. Is there a way to automate it?
Edzilla
  • 1
  • 1
0
votes
1 answer

How to find all sections of a wikipedia page and display them all?

A wikipedia page is divided by section, therefore If i use the API and saysection=0, I will read the text within this section. but a page may have many section, how do I loop all of them to load them all? MediaWiki Docs Here I get section=0…
rob.m
  • 9,843
  • 19
  • 73
  • 162
0
votes
1 answer

Get article timestamp in PHP with Wikipedia API

I need a simpler explanation than How do I extract data from JSON with PHP? And, I also need to spit the date away from the timestamp in the final PHP. I can grab the "Test article" metadata in PHP via the Wikipedia JSON API this way:
BlueDogRanch
  • 721
  • 1
  • 16
  • 43
0
votes
0 answers

How to get all Wikipedia articles from category and sub categories using Python?

I am trying to get all Wikipedia articles for a category and its sub categories. I have currently figured out a minor part of the problem that is to use wiki API. For example, to look for the Category:Geography, I have used the API to find the…
windboy
  • 141
  • 1
  • 9