Open main menu

Extension:TalkHere

MediaWiki extensions manual
OOjs UI icon advanced.svg
TalkHere
Release status: experimental
Implementation Page action
Description shows talk page at the bottom of article page, provides on-page edit box
Author(s) Duesentrieb
MediaWiki 1.10alpha after rev:20952
License No license specified
Download Template:WikimediaDownload/svnbundle
log
$wgTalkHereNamespaces
Translate the TalkHere extension if it is available at translatewiki.net
Check usage and version matrix.

The TalkHere extension shows the talk page of each article at the bottom of the article page; this provides a way for users to post comments to articles prominently, even if they are not allowed to edit the article page itself. The TalkHere extension also provides an on-page editor to add comments (requires AJAX support).

Contents

InstallingEdit

Copy the TalkHere directory into the extensions folder of your MediaWiki installation. Then add the following line to your LocalSettings.php file (near the end):

require_once( "$IP/extensions/TalkHere/TalkHere.php" );

ConfigurationEdit

The TalkHere extension provides the following options:

$wgTalkHereNamespaces
This defines which namespaces TalkHere should be applied to. The default is NULL, meaning all (non-talk) namespaces. To enable TalkHere for the main namespace only, set $wgTalkHereNamespaces = array( NS_MAIN );

Optional ConfigurationEdit

The TalkHere extension uses the $wgUseAjax global MediaWiki configuration option to determine whether to dynamically insert the edit form. It works fine without this, but you don't get the edit form on the same page. To enable this, add this to your LocalSettings.php file:

$wgUseAjax = true; // Enable AJAX interface in TalkHere

Enabling Edit Section LinksEdit

In order to unhide the edit section links, add the following code to [[MediaWiki:Common.css]]:

.talkhere-comments .editsection {
	display: inline;
}

Please note that this might lead to confusion though, as instead of returning to the article after editing, the talk page will be displayed instead.