Extension:LiquidThreads
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. La Fondation Wikimedia ne fournit pas de support aux wikis Wikimedia qui l'utilisent et les demandes pour l'installer sur de nouveaux projets Wikimedia ne sont plus possible. Si vous êtes intéressé pour prendre en charge le développement et l'entretien de cette extension, vous pouvez demander à devenir propriétaire du répertoire. Vous pouvez par courtoisie contacter l'auteur. Vous devriez aussi enlevez ce modèle et vous ajouter à la liste des mainteneurs de l'extension sur l'infobox de la page {{Extension }}. |
L'extension LiquidThreads (LQT) implémente un système de pages de discussion utilisant des fils de discussion.
Historique
The original code was developed by David McCabe under sponsorship from the Google Summer of Code 2006, the Commonwealth of Learning, and Wikia . However, David McCabe is no longer involved with this project.
The original LiquidThreads code was substantially improved and augmented by Andrew Garrett at the Wikimedia Foundation since May 2009. The latest stable release of the LiquidThreads extension is LQT 2.0, described on this page. LQT 2.0 is the version currently being used on several Wikimedia wikis, and was used in the strategic planning process.
In January 2011, work on LiquidThreads 3.0 was begun at the Wikimedia Foundation. LQT 3.0 was being developed, with Andrew Garrett as the lead developer, but is now suspended. The last commits to LQT3's branch (lqt-updates) were in September 2011. Development by the Foundation has been discontinued.
Documentation utilisateur
To activate LiquidThreads on a specific page on a wiki where LiquidThreads is opt-in, add the following to the page's source code:
{{#useliquidthreads:1}}
To deactivate LiquidThreads on a specific page on a wiki where LiquidThreads is opt-out add the following to the page's source code:
{{#useliquidthreads:0}}
Comprehensive user documentation will be developed when LiquidThreads has a finalised (or remotely stable) interface.
Principe
Wiki discussion pages have some advantages over web and Usenet forums:
- They allow use of the entire wiki syntax, from images to links to transclusions.
- It is possible to refactor entire discussion pages.
But web forums offer many more advantages over the MediaWiki talk page model:
- Threads can be displayed in different views: flat, nested, sorted by date, subject, etc.
- The user only needs to click a "Reply" button or link in order to respond to a comment. Manual indentation is not required. Quotations from the source comment can be inserted automatically.
- Comments are automatically signed and dated.
- Avatars are possible (but not yet created).
- The user can watch individual threads or be notified about responses in threads.
- Comments and threads can be displayed individually, without the surrounding page.
- Old comments are archived automatically and invisibly, with permanent links easily available.
- Search for author, subject, date, etc. is possible.
- Individual threads can have categories.
- It is relatively easy to manage related discussions in a subject-specific forum, whereas MediaWiki talk pages always follow the "one discussion page per subject page" model.
- There can be restrictions on which users can edit other users' posts.
LiquidThreads aims to unite the advantages of both forum types, and to add some unique discussion features to boot.
Installation
Prerequisites: LiquidThreads currently requires the Extension:WikiEditor extension to be already installed. See tâche T40654.
- Téléchargez et placez le(s) fichier(s) dans un répertoire appelé
LiquidThreads
dans votre dossierextensions/
.
Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LiquidThreads - Ajoutez le code suivant à la fin de votre fichier LocalSettings.php :
wfLoadExtension( 'LiquidThreads' );
- Exécutez le script de mise à jour qui va créer automatiquement les tables de base de données dont cette extension a besoin.
- Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.
Configuration
This is the default configuration of the extension. You can override such values in LocalSettings.php:
// Preferences
$wgDefaultUserOptions['lqtnotifytalk'] = false;
$wgDefaultUserOptions['lqtdisplaydepth'] = 5;
$wgDefaultUserOptions['lqtdisplaycount'] = 25;
$wgDefaultUserOptions['lqtcustomsignatures'] = true;
$wgDefaultUserOptions['lqt-watch-threads'] = true;
// Permissions
$wgGroupPermissions['user']['lqt-split'] = true;
$wgGroupPermissions['user']['lqt-merge'] = true;
$wgGroupPermissions['user']['lqt-react'] = true;
/* Allows activation of LiquidThreads on individual pages */
$wgLqtPages = array();
/* Allows switching LiquidThreads off for regular talk pages
(intended for testing and transition) */
$wgLqtTalkPages = true;
/* Whether or not to activate LiquidThreads email notifications */
$wgLqtEnotif = true;
/* Thread actions which do *not* cause threads to be "bumped" to the top */
/* Using numbers because the change type constants are defined in Threads.php, don't
want to have to parse it on every page view */
$wgThreadActionsNoBump = array(
3 /* Edited summary */,
10 /* Merged from */,
12 /* Split from */,
2 /* Edited root */,
14 /* Adjusted sortkey */
);
/** Switch this on if you've migrated from a version before around May 2009 */
$wgLiquidThreadsMigrate = false;
/** The default number of threads per page */
$wgLiquidThreadsDefaultPageLimit = 20;
/** Whether or not to allow users to activate/deactivate LiquidThreads per-page */
$wgLiquidThreadsAllowUserControl = true;
/** Whether or not to allow users to activate/deactivate LiquidThreads
in specific namespaces. NULL means either all or none, depending
on the above. */
$wgLiquidThreadsAllowUserControlNamespaces = null;
/** Allow LiquidThreads embedding */
$wgLiquidThreadsAllowEmbedding = true;
// Namespaces in which to enable LQT
$wgLqtNamespaces = array();
/** Enable/disable the bump checkbox. **/
$wgLiquidThreadsShowBumpCheckbox = false;
/** Enable/Disable 'New messages' link and special page (Special:NewMessages) */
$wgLiquidThreadsEnableNewMessages = true;
API
Notes
$wgEnableAPI = false;
and $wgEnableWriteAPI = false;
Voir aussi
- v:THREADNAV – Wikiversity development on structured and threaded discussions using wiki-syntax for structures. Last activity was in 2007.
- User:Inquisitor Ehrenstein/LQTavatar – Forum-style LQT templates for including avatars and full forum style signatures.
- Discussions structurées – WMF effort for forum-style discussions; also deprecated.
- Extension:DiscussionThreading – Maintained and light-weight solution that will still allow editing the discussion page like a wiki page.
- Extension:DiscussionTools – Heavier WMF effort to integrate with normal wikitext talk pages.
- Extension:DiscussionTools/Comparison – Comparison between LQT and 3 other talk page tools.
Liens externes
- Sites using this extension
- Phabricator task for LiquidThreads deployment
- w:Wikipedia:LiquidThreads
- LiquidThreads pictures on Commons
Cette extension est utilisée par au moins un des projets Wikimédia. Cela signifie probablement que l’extension est assez stable et fonctionnelle pour être utilisée sur des sites à fort trafic. Recherchez le nom de cette extension dans le CommonSettings.php de Wikimédia et dans le fichier de configuration InitialiseSettings.php pour situer les endroits où elle est installée. Une liste complète des extensions installées sur un Wiki donné peut être visualisée sur la page Special:Version de ce wiki. |