Extension:Wikilog

Wikilog adds blogging features to MediaWiki, making it a wiki-blog hybrid.

The extension enables special features to one or more selected namespaces. Blogs and blog posts are created in these namespaces, and the extension provides the needed functionality. The main blog page is created directly in the configured namespace, and blog posts are created as subpages of the blog page. The listing of posts is generated automatically. The extension also generates RSS and Atom feeds.

Blogs are part of the wiki, and not attached to users. Any user may have many blogs, or many users may write to a single blog. You may even have many users work and publish a single blog post together, in a very collaborative way, following the wiki philosophy.

Since multiple namespaces can be configured to be wikilogs, you are free to configure it to your needs. For example, one namespace for user blogs (matching the blog page name with the user name) and another for site blogs (with arbitrary names).

Keep in mind that the extension is still beta. If you are adventurous enough, check the Subversion repository.

I'll update this page with more information soon. For now, the documentation is the source code.

Installation

 * Although functional, the extension is still beta. You are not advised to install it unless you have experience with MediaWiki.
 * Only MySQL databases are supported at the moment.

 Checkout the latest version from the Subversion repository in the  directory of your installation. Backup your database and local configuration, it is always a good idea. Configure the extension in your LocalSettings.php file (replace, with the first even-numbered namespace greater than or equal to 100 available in your wiki):  Run the update.php script in order to create/update the tables used by the extension. 

Pages
Once installed, the extension will provide special functionality through these pages:


 * Blog:blog-name
 * This is the main page of the blog named blog-name. You have to create this article page with some introductory information about the blog.  The list of posts is generated automatically below the introductory text.
 * The page accepts a few parameters that control the listing of posts: "view", "category", "tag", "author", "year", "month" and "feed".


 * Blog:blog-name/post-title
 * The page for the post with title post-title in the blog named blog-name. Posts are not published until you sign it, using the standard --~ marker.


 * Special:Wikilog
 * A listing of all published posts from all blogs.
 * This special page may be included from other pages.
 * Special:Wikilog/Category:category-title
 * Display posts from a single category.
 * Special:Wikilog/Author:user-name
 * Display posts from a single author.
 * etc... (more documentation soon)