Extension:JADE

From MediaWiki.org
(Redirected from JADE/Integration)
Jump to navigation Jump to search


MediaWiki extensions manual
OOjs UI icon advanced.svg
JADE
Release status: beta
Author(s) Adam Roses Wight (Adamwtalk)
Latest version 0.0.1
MediaWiki 1.32+
License GNU General Public License 3.0 or later
Download
Namespace Judgment
Translate the JADE extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The JADE (Judgment And Dialog Engine) extension provides two new namespaces, Judgment and Judgment_talk, used for collecting and discussing judgments. Judgments are an opinion about a wiki revision, diff, or page.

For background information, see the JADE project page.

Installation[edit]

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

Configuration[edit]

// Provide judgment title translations for your wiki.
$wgJadeEntityTypeNames = [
'diff' => 'Разница',
'revision' => 'Версия',
'page' => 'Страница',
];

// For Wikidata: replace the wp10 article quality scale with something wacky.
$wgJadeAllowedScoringSchemas['revision'] = [ 'itemquality' ];

Translation[edit]

To add interface support for your language, please help translate at https://translatewiki.net/wiki/Special:MessageGroupStats?group=ext-jade

Usage[edit]

Pages in the Jade namespace are difficult to edit by hand, and are intended to be edited through a third-party tool. Currently, no such integrations exist, so please check in again later.

To endorse a judgment, either post a signed comment to its talk page or create another judgment with supporting data and your own comments.

To challenge a judgment, you may use its talk page, or create and endorse an alternative judgment.

These mechanisms should support both Wikipedia's Bold-Revert-Discuss and !vote standards for building consensus, as needed.

We encourage users and integrators to offer free-text justifications or other explanations in the judgment notes field. These notes are stored publicly as part of the judgment page and can be edited later.

Bots, abuse, and quality standards[edit]

Please do not create judgments for "autopatrolled" predictions, nor any automatically or semi-automatically generated data. This includes scores from ORES unless you have verified, using your own judgment, that the correct score is the same score given by ORES.

We ask that developers don't integrate without including the collaboration features. For example, don't send a "damaging: true" judgment as a side-effect of a patrolling workflow, unless the interface also shows existing judgments, the judgment notes, links to the judgment page and so on.

Beyond these requirements, nothing is non-notable in JADE. Enjoy!

Judgment data structure[edit]


API[edit]