Questions tagged [mediawiki]

MediaWiki is a free software wiki package written in PHP, originally for use on Wikipedia. It is now used by several other projects hosted by the non-profit Wikimedia Foundation and by many other wikis.

MediaWiki is a free software wiki package written in PHP, originally for use on Wikipedia. It is now used by several other Wikimedia projects and by many other wikis.

Related tags: , , , , , , , , , .

MediaWiki links:

3594 questions
10
votes
4 answers

Prevent MediaWiki from being spammed

My MediaWiki site is currently under the spammers attack. I get around 10 spam pages registered daily. What I've I already done: Only users with confirmed emails can create/edit pages. ReCAPTCHA widget. Captcha displayed on the actions: 'edit'…
Mr. Pumpkin
  • 6,212
  • 6
  • 44
  • 60
10
votes
3 answers

How can I use the Wiktionary API for getting pronunciation data?

I was looking for a way to get the pronunciation of any given word by querying an API of some sort. As Wiktionary comes in handy to find pronunciations of words I was trying to use their API, but how do I get the pronunciation of a specific word? It…
baik
  • 993
  • 2
  • 14
  • 21
10
votes
4 answers

Where can I find a good mwclient introduction?

I'm just starting with mwclient. I'm going to create bots to query our MediaWiki database and make small revisions. But I cannot find anywhere a simple list of python commands like how to get ages of pages, contents of categories, contents of pages,…
10
votes
6 answers

WordPress MediaWiki integration

On the other end of the spectrum, I would be happy if I could install a wiki and share the login credentials between WordPress and the wiki. I hacked MediaWiki a while ago to share logins with another site (in ASP Classic) via session cookies, and…
Jim McKeeth
  • 38,225
  • 23
  • 120
  • 194
10
votes
3 answers

Mediawiki link within the page to a specific place, rather than a section

1. Question If I code like the following, then I have a link within the page to a specific "section" [[#SectionTitle|displayed text]] But what if I want to have a link within the page to a place, I mean any place? Sometimes I might want to directly…
user1849133
  • 527
  • 1
  • 7
  • 18
10
votes
2 answers

Using Redmine with an external Wiki?

We've got a company wiki running Mediawiki on our intranet that has been in use for a while. We just recently installed Redmine and are in the process of getting it configured just the way we like it. I was wondering if there's any way to use our…
Josh Weatherly
  • 1,710
  • 1
  • 15
  • 27
10
votes
6 answers

Parse birth and death dates from Wikipedia?

I'm trying to write a python program that can search wikipedia for the birth and death dates for people. For example, Albert Einstein was born: 14 March 1879; died: 18 April 1955. I started with Fetch a Wikipedia article with Python import…
JBWhitmore
  • 11,576
  • 10
  • 38
  • 52
10
votes
4 answers

Java Wikitext Parser

Any ideas for a nice parser with an easy to use api that is configurable? I'm looking to feed it data such as http://wikitravel.org/wiki/en/api.php?format=xml&action=parse&prop=wikitext&page=San%20Francisco, choose sections of data I want, and…
No_name
  • 2,732
  • 3
  • 32
  • 48
10
votes
3 answers

Simplest way to get MediaWiki to require HTTPS on all pages?

I need a MediaWiki installation to require the use of https (and reject normal http). I've spent 2 hours looking. Setting $wgServer doesn't work and closing port 80 in httpd.conf doesn't work either. My wiki installation is run on an Apache server.
user1258361
  • 1,133
  • 2
  • 16
  • 25
9
votes
1 answer

How to query Wiktionary API and get part of speech

I'd like to get the part of speech and maybe the definition for English words. I found a link like this: http://en.wikipedia.org/w/api.php?action=query&list=search&srwhat=text&srsearch=don%27t but it doesn't seem to get me the results I see on…
Andrew
  • 6,254
  • 16
  • 59
  • 93
9
votes
2 answers

How to add google webfonts to mediawiki?

google web fonts requires that an HTML link element should be added to the head of the page: I cant find the proper php file to modify. Im using…
Sebastian
  • 91
  • 1
  • 2
9
votes
1 answer

How does the "edit section" feature on Wikipedia work?

How does Wikipedia implement the "edit this section" feature for its articles, wherein a user can edit just a section of an article, rather than the whole article? I've tried crawling through mediawiki's code by myself, but it's a bit dense for me…
loneboat
  • 2,845
  • 5
  • 28
  • 40
9
votes
6 answers

How to speed up Pywikibot?

I've built some report tools using Pywikibot. As things are growing it now takes up to 2 hours to finish the reports so I'm looking to speed things up. Main ideas: Disable throttling, the script is read-only, so page.get(throttle=False) handles…
the
  • 21,007
  • 11
  • 68
  • 101
9
votes
1 answer

How do I get a list of MediaWiki namespaces?

How do I get a list of MediaWiki namespaces? Ideally with name and number.
the
  • 21,007
  • 11
  • 68
  • 101
9
votes
4 answers

Embedding Recent Changes on Main Page on MediaWiki

I am a complete and total newbie with MediaWiki. I would like to find a way to include Recent Changes directly on the Main Page, without having to have the user navigate to the recent changes page. What are my options for this? Thanks!
Mike Cole
  • 14,474
  • 28
  • 114
  • 194