Extension:BlogPage

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎русский • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
BlogPage
Release status: stable
Implementation Special page
Description Blogging system with commenting and voting features, a special page to create blog posts and a special page to list blog posts.
Author(s)
Latest version 2.6.0
MediaWiki 1.31+
License GNU General Public License 2.0 or later
Download
Example Development/Testing wiki on Wikimedia Labs
Namespace NS_BLOG, NS_BLOG_TALK
Parameters
  • $wgBlogPageDisplay
  • $wgUserProfileDisplay
Added rights
createblogpost
Hooks used
ArticleFromTitle
PageContentSaveComplete
PageContentSave
AlternateEdit
CanonicalNamespaces
UserProfileRightSideAfterActivity
Translate the BlogPage extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The BlogPage extension allows users to create blog posts and others to vote and comment on blog posts.

New blog posts can be created via "Special:CreateBlogPost" by users who have the createblogpost user right.

Dependencies[edit]

The following extensions are required to be installed for this extension to work:

Installation[edit]

  • Download and place the file(s) in a directory called BlogPage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'BlogPage' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


User rights[edit]

This extension adds one new user right, createblogpost, which allows users to create new blog posts via "Special:CreateBlogPost".

API documentation[edit]

blogpage[edit]

This API checks if there is already a blog post with the given title. To call the API, use action=blogpage, along with appending the parameters.

Parameters
  • pagename -

This parameter accepts a given title for a blog.

See also[edit]