tags:

views:

432

answers:

3

Where and how do wikis that use the MediaWiki software store their articles?

+8  A: 

In a MySQL database, typically.

Nowadays MediaWiki also supports other databases, such as PostgreSQL. For details, read the "Database server" section here.

Edit: as to how MediaWiki stores the articles, see Manual:Database layout for much details, such as a diagram of the database schema and the SQL for creating the tables.

Jonik
Mediawiki does now (mostly) support SQLLite, so it could also be stored in a file. http://www.mediawiki.org/wiki/Manual:SQLite
Adrian Archer
A: 

In a MySQL database. I've tried using PostgreSQL but encountered a Mediawiki bug in searching text.

Reed Hedges
A: 
select * from page 
left join revision on page_id=rev_page
left join text on rev_text_id =old_id 
limit 100;

This sql-query shows which table and how MediaWiki software store their articles.

ZA