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 manualManual:Extensions
Crystal Clear action run.svg
BlogPage

Release status:Extension status stable

ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#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)Template:Extension#username
Latest versionTemplate:Extension#version 2.6.0
MediaWikiTemplate:Extension#mediawiki 1.31+
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
ExampleTemplate:Extension#example Development/Testing wiki on Wikimedia Labs
NamespaceTemplate:Extension#namespace

NS_BLOG, NS_BLOG_TALK

ParametersTemplate:Extension#parameters
  • $wgBlogPageDisplay
  • $wgUserProfileDisplay
Added rightsTemplate:Extension#rights

createblogpost

Hooks usedTemplate:Extension#hook
ArticleFromTitleManual:Hooks/ArticleFromTitle
PageContentSaveCompleteManual:Hooks/PageContentSaveComplete
PageContentSaveManual:Hooks/PageContentSave
AlternateEditManual:Hooks/AlternateEdit
CanonicalNamespacesManual:Hooks/CanonicalNamespaces
UserProfileRightSideAfterActivity

Translate the BlogPage extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

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' );
    
  • YesY 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]