Extension:DebateTree

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
DebateTree

Release status:Extension status stable

Dialectic algorithm.png
ImplementationTemplate:Extension#type User interface
DescriptionTemplate:Extension#description MediaWiki implementation of the dialectic algorithm
Author(s)Template:Extension#username Sophivorustalk
Latest versionTemplate:Extension#version 3.0 (4-11-2017)
MediaWikiTemplate:Extension#mediawiki 1.25+
LicenseTemplate:Extension#license GNU General Public License 3.0
Download No link
ExampleTemplate:Extension#example Should we go vegan?
Hooks usedTemplate:Extension#hook
BeforePageDisplayManual:Hooks/BeforePageDisplay
ParserFirstCallInitManual:Hooks/ParserFirstCallInit

Translate the DebateTree extension if it is available at translatewiki.net

Check usage and version matrix.

The DebateTree extension adds a <debatetree> tag that can be used to build debate trees. The extension then computes and displays the status ("sustained" or "refuted") of every argument and objection in the debate tree following the rules of the dialectic algorithm.

Installation[edit]

  • Download and place the file(s) in a directory called DebateTree in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'DebateTree' );
    
  • YesY Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

Build debate trees with the same syntax as nested unordered lists:

<debatetree>
* Argument about something.
** Objection to the argument.
*** Objection to the objection.
** Second objection to the argument.
* Second argument.
** Objection to the second argument.
</debatetree>

See also[edit]