- 1 What is my blog
- 2 Maintainer
- 3 License
- 4 Download
- 5 Installation
- 6 Change Log
- 7 Screenshot
- 8 Live Example
- 9 References
- 10 Blog Dynamic Article List Report
- 11 Remarks
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.
Shannon McNaught (smcnaught)
SpecialPageListSubPages.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.
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['myblog'] = array( 'text' => "my blog", 'href' => $this->makeSpecialUrl("ListSubPages/User:$this->username") );
Go to MediaWiki:Sidebar http://YourHost/wiki/index.php/MediaWiki:Sidebar
Edit Page and Add:
Edit http://YourHost/wiki/index.php/MediaWiki:recentblog-url and Add:
Most Recent Blogs
Add Extensions to your LocalSettings.php
version 0.01b - First release.
See online example at http://www.chekmate.org/wiki/.
You will need to create an account to see your personal "my blog" page.
Blog Dynamic Article List Report
Added a dynamic summary report to be displayed on the front page to show recent blog entries.
- see Descussions for list of problems
- btw: limitResult issue is resolved by following (notice that there is no comma after $offset):
array( 'ORDER BY'=>'page_touched DESC','LIMIT' => $limit,'OFFSET' => $offset ) );
- Sorry for editing this article, discussions are not editable :-(