Extension:Teahouse

The "Teahouse" extension is being developed on behalf of Wikimedia Deutschland e.V.. It is inspired by WPEN Teahouse project and aims to provide a modern interface for new or potential community members to ask questions about the Wikipedia project.

Information about the current state of development can be found at /Development.

How to set up
This extension provides a MediaWiki gadget, which normally is just JavaScript code within the MediaWiki namespace. To make development more easy it supports two ways to be set up.

Development
There is not much to do but to follow the steps above. In development the extensions runs as standard MediaWiki extension which just adds the JavaScripts/CSS files to ResourceLoader.

Gadgetize.php
The extension includes the  maintenance script. This script reads in the  file in the root directory and publishes the extensions source files to a target wiki instance. php maintenance/Gadgetize.php --targetapi=http://mywikiserver/w/api.php --u=MyUserName --p=$3cR3Tp4$$w0rd

MediaWiki:Gadgets-definition
To enable the gadget you will have to edit the MediaWiki:Gadgets-definition page of your wiki and add the line *teahouse[ResourceLoader|default]|teahouse/main.js|teahouse/teahouse.css *teahouse-opt-in[ResourceLoader]|main.js

Configuration
Default configuration:

Example configuration by  call: