Extension:WordPress Comments

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
WordPress Comments

Release status: beta

Implementation Parser extension, Tag
Description Merging WordPress comments into MediaWiki
Author(s) Greg Perry (Superticktalk)
Latest version 0.10.1 (20/10/2011)
MediaWiki 1.13
License No license specified
Download Extension Code
Usage Notes
Example In Action
Hooks used
wp:comments

get_wordpress_comments

Translate the WordPress Comments extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

This is a wiki extension which integrates WordPress comments anywhere on any MediaWiki page. On MediaWiki sites which require registration, this extension allows visitors to comment on certain pages without logging in. It enables wiki owners access to the moderation and spam protection features of WordPress.

Purpose[edit | edit source]

This extension is an attempt of melding some of the great aspects of MediaWiki and WordPress together. Most internet users are not familiar with MediaWiki's talk page format. In some cases it is worthwhile to get transitory information from viewers in a blog format which most users are familiar with. WordPress excels at providing one of the best interfaces to do this. Wordpress has an administrative section which allows the site owner to moderate comments posted by viewers. Now the wiki site owner can moderate comments, possibly getting information or direction from comments of the viewers.

Download instructions[edit | edit source]

Copy the code from http://shadowfax.org.uk/wiki/MediaWiki_Wordpress_Comment_Extension_Code#The_code, paste it to a file named WordpressComments.php and place it in $IP/extensions/WordpressComments/. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation[edit | edit source]

To install this extension, add the following to LocalSettings.php:

include('extensions/WordpressComments/WordpressComments.php');

Usage[edit | edit source]

<wp:comments>
wp_comment=<<title_of_your_comment_post>>
wp_url=<<url base of your WordPress install>>
</wp:comments>

Demo[edit | edit source]

Authors[edit | edit source]

The code was written by Greg Perry, and released as a stable version 0.9.0.

It was adapted by Ian Coleman to the beta 0.10.1 presented here. It has not been possible to contact Greg, however, a version of the original 0.9.0 code has now been located (see discussion page or links below).

See also[edit | edit source]

External links[edit | edit source]