My blog
What is my blog
My Blog is a MediaWiki extension that allows a blogger to the user's menu. It allows each user to have the capabilities to create blog entries and to have their blog entries listed under the "Most Recent Blogs" from the Navigation Menu. The "Most Recent Blogs" ties back to the extension Dynamic Article List for PHP4.
Note: Most up to date version of this extension can be found at: http://www.chekmate.org/wiki/index.php/Projects
Maintainer
Shannon McNaught (smcnaught)
Homepage
ChekMate Technical Focus Group
License
SpecialPageListSubBlogs.php/SpecialPagesListAllBlogs.php - Adds Blog functionality to MediaWiki Copyright (C) 2005 Shannon McNaught This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Download
Issues Reported
One user has reported:
- too bad...couldn't get it going on my wiki...line 306 (MW 1.6.5) giving problems... ** RESOLVED ** Source Code has been updated. See Discussion for more details.
- This has only been tested on MediaWiki: 1.5.5 and a quick test on 1.6.5, 1.6.8 and 1.7.0. If others could comment on their experiences on installations and versions, it would be appreciated.
Installation
Add Extensions to the Extensions Folder
My Blog was created from User:Joshurtree/SpecialListSubPages.
Add these files to the extensions directory:
- link is in /includes/SkinTemplate.php
- Look for
/* set up the default links for the personal toolbar */ $personal_urls = array(); if ($this->loggedin) {
Down a few lines, right before "$href = $this->makeSpecialURL('Preferences');" Added:
$personal_urls['myblog'] = array( 'text' => "my blog", 'href' => $this->makeSpecialUrl("ListSubBlogs/User:$this->username") );
Go to MediaWiki:Sidebar http://YourHost/wiki/index.php/MediaWiki:Sidebar
Edit Page and Add:
** recentblog-url|recentblog
Edit http://YourHost/wiki/index.php/MediaWiki:recentblog-url and Add:
Special:ListAllBlogs/
Edit http://YourHost/wiki/index.php/MediaWiki:recentblog
Most Recent Blogs
Add Extensions to your LocalSettings.php
require_once("extensions/SpecialPageSubBlogs.php"); require_once("extensions/SpecialPagesAllBlogs.php");
Change Log
version 0.01b - First release.
Screenshot
Online Examples
See online example at http://www.chekmate.org/wiki/.
You will need to create an account to see your personal "my blog" page.
References
Blog Dynamic Article List Report
Added a dynamic summary report to be displayed on the front page to show recent blog entries.