Analyzes the structural quality of an article and gives feedback to the users
Compatible with DokuWiki
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Several templates (like e.g., sprintdoc) support this plugin right out of the box.
In other cases after installation you need to put the quality check into your template's main.php
(should be somewhere above the page content):
<?php //Quality Control $qc = plugin_load('helper','qc'); if ($qc) $qc->tpl(); ?>
The plugin adds an option to the config manager where the look of the quality bar can be adjusted.
You can set the color of the generated text to match your template and choose from different icon sets.
You can disable the quality check on a page by putting a ~~NOQC~~
macro somewhere into the page.
The following checks are currently used to determine the structural quality:
Moderators and administrators find a quality report on the admin page. This report lists the worst 25 wiki pages known to the quality plugin with their current quality score and FIXME count.
Please report bugs and issues at: https://github.com/cosmocode/qc/issues
The QC helper use a ondemande build'in image with gd.
HTML entities like é
(é) won't be correctly encode.
To solve it, in the icon.php
file, you can change the line 91:
Previous:
list($x,$y) = textbox($img,0,2,$qc->getLang('i_qcscore'),$c_text);
Change:
list($x,$y) = textbox($img,0,2,html_entity_decode($qc->getLang('i_qcscore')),$c_text);