Extension:Wikilog
Cette extension n'est en ce moment pas activement maintenue ! Même si elle reste opérationnelle, les rapports de bogue ou les demandes de nouvelles fonctionnalités risquent de ne plus être pris en compte. |
![]() État de la version : non-maintenu |
|
---|---|
![]() |
|
Implémentation | Fonction d'analyseur , Page spéciale |
Description | Ajoute des fonctionnalités de blogging et de forum à MediaWiki, à travers un espace de noms spécial, ce qui en fait un hybride wiki-blog-forum, comme un Bliki. |
Auteur(s) | Juliano F. Ravasi, Vitaliy Filippov (VitaliyFilippovdiscussion) |
Dernière version | 2.0.1 (2016-08-04) |
MediaWiki | 1.19 - 1.27 |
PHP | 5.3+ |
Modifie la base de données |
Oui |
Licence | Licence publique générale GNU v2.0 ou supérieur |
Téléchargement | GitHub: Note : RELEASE-NOTES |
Exemple | http://wiki.4intra.net/Blog:Стас_Фомин (russian) |
|
|
|
|
|
|
The Wikilog extension enhances MediaWiki with some common blogging features, making it a wiki-blog hybrid. There are many names that are used to represent this concept: wikilog, wikiblog, bliki, etc. (refer to the Bliki article on Wikipedia).
Wiki pages are configured to act as blogs, which are called "wikilogs". Just like blogs, each wikilog contains a number of published articles, with the most recent ones displayed on the wikilog main page in reverse chronological order.
One or more custom namespaces are configured as Wikilog namespaces; pages created directly in these namespaces become wikilogs, while subpages to these pages become wikilog articles (blog posts) and are listed automatically on that wikilog's main page.
The extension provides the extra functionality for wikilogs and wikilog articles. Wikilog articles inherit all the usual wiki functionality, like wiki syntax, edit history, page categories, talk pages, etc. Among the features added by the extension are: automatic listing of articles, setting of article authors, handling of article comments, generation of syndication feeds (Atom and RSS) for individual wikilogs and for all wikilogs of the wiki, etc. For more information, see the full list of features.
The philosophy of Wikilog is not to just make a blog out of a wiki, but to combine both concepts. Unlike most blogs, wikilog articles can be collaboratively written and published by multiple users. Talk pages of wikilog articles provide a simpler interface for commenting than standard MediaWiki talk pages. It is similar to most blog software, with the addition of discussion threading.
Wikilog was originally developed by Juliano F. Ravasi. Current development is done in a repository on GitHub by User:VitaliyFilippov:
Prérequis
Pour utiliser Wikilog, les composants suivants sont nécessairesː
- MediaWiki 1.19 or higher.
- A MySQL or PostgreSQL database backend.
Les éléments suivants sont recommandésː
Installation
- Download the extension and install it as
./extensions/Wikilog
, relative to your MediaWiki installation directory. You may download the tarball from GitHub or clone using Git.
- Warning: Use the github download to get the most current version. The other download link points to old versions.
- Note: The directory name must either have that name, or
$wgWikilogStylePath
must be set to the proper path in order for the extension to reference stylesheets and images from the extension directory.
100
, with the first even-numbered namespace greater than or equal to 100 available in your wiki):
require_once( 'extensions/Wikilog/Wikilog.php' );
define("NS_WIKILOG", 3000); // First namespace for private wiki namespaces
//Wikilog::setupBlogNamespace( NS_WIKILOG );
$wgWikilogNamespaces = array(NS_WIKILOG);
$wgExtraNamespaces[NS_WIKILOG] = "Blog";
$wgExtraNamespaces[NS_WIKILOG_TALK] = "Blog_talk"; // Note underscores in the namespace name.
- Note: This script needs to be executed every time the extension (or MediaWiki) is upgraded.
Documentation utilisateur
User documentation is included in the extension package in the documentation
directory.
The documentation is released under a Creative Commons license, and can be imported to the wiki, so that users may access it directly from the wiki.
Currently the documentation is available only in English.
You must run the ./extensions/Wikilog/maintenance/wikilogImportDocumentation.php
PHP script from a command-line shell in order to import the documentation to your wiki.
Example:
$ cd /path/to/mediawiki $ php extensions/Wikilog/maintenance/wikilogImportDocumentation.php
This will import the documentation pages and images to your wiki, and it can be accessed from [[Help:Wikilog]]
.
The documentation is maintained online; you are welcome to contribute!
Exemples d'utilisation
Older version (Juliano's):
Mise en oeuvre rapide
- Create a Blog:My_blog_name page, with any introductory text for your blog
(if you used another namespace above instead Blog: use that one) - On your blog front page you will see a new "wikilog" tab to start interacting with
- There you can find the field: "Create new wikilog article" (see 1st picture below)
- Create with that a post on your blog (see 2nd + 3rd picture)
(don't forget to sign (--~~~~), otherwise it will not be published and stays as draft)
Images
-
Wikilog actions (with field: "Create new wikilog article")
-
how to create a blog posting
-
blog post created :-)
Voir aussi
- Extension:BlogPage — part of Social tools