Extension:TalkHere

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).

Installing
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" );

Configuration
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 Configuration
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 Links
In order to unhide the edit section links, add the following code to : .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.