MakeCtrlTopicsListAddOn
The
TWiki:Plugins.WorkflowPlugin (ex
TWiki:Plugins.ApprovalPlugin) is a great tool for adding quality management (QM) to a Wiki web. However, there is no overview about the pages which are under QM approval control. Therefore, the quality manager cannot determine which pages have to be approved.
The MakeCtrlTopicsListAddOn Add-On provides this information.
The Add-On is a simple Perl script. It is a quick hack but is nevertheless pretty useful.
Usage
The following you have to do once:
- Create a topic which shall contain the controlled-topics-report in the future ("report topic").
- Enter the desired colour settings on the page:
- Format: Three spaces, then
* Set CTR_RED=UNDERREVISION
The above configures UNDERREVISION entries to be red. You can assign multiple status strings to a colour. Separate them with a comma.
- You can use all predefined colours of your Wiki.
- You can use the status strings defined within the ApprovalPlugin setup.
- You can assign as many colours as you want.
- Set up your cron (Linux) or planned tasks (Windows) to start the script regularely. The call must look like this:
perl <addon_script_name_with_path> <report_page_file_name_with_path>
The Add-On scans the web where the report topic resides.
- If you prefer table 2 (see "Output") to be filled, new topics must be marked accordingly. The marker string
###MakeCtrlTopicsList:topicmustbechecked must be placed at the beginning of one line of new topics. To force the marker string into new pages, the text of the topic WebTopicEditTemplate must be modified. Since the "normal" user may be confused by this string and even attempt to delete it, the following format is advisable (requires TWiki:Plugins.HiddenTextPlugin):
Example
%STARTHIDDEN%
<!--
###MakeCtrlTopicsList:topicmustbechecked
* Set ALLOWTOPICHIDDEN = ApproveControlledPagesGroup, TWikiAdminGroup
-->
|%ORANGE% *The QM department has not yet checked this topic for QM relevance.* %ENDCOLOR%|
%ENDHIDDEN%

Replace ApproveControlledPagesGroup with the according QM user or QM group of your Wiki.

The QM must remove the above header after the topic check (and may add the
TWiki:Plugins.WorkflowPlugin header instead).

Instead, the QM could simply check the TWiki changes page for new topics regularely. The drawback is that the change list doesn't show if some QM employee checked the according topic already. The above marking method is a lot more fail-safe and transparent and will satisfy auditors more easily.
Output
The report topic is filled with this information:
- Time of validity.
- Total amount of topics in the web.
- Table 1: List of controlled pages and their current (see above) status.
- Table 2: List of new pages which may have to be under approval control.
Topics which contain a certain string are listed here (see "Usage").
- Add-On settings (concentrated at one location, idenpendent on their original location).
- Version of the Add-On.
Example report (with only four topics under approval control):
Add-On Installation Instructions
Note: You do not need to install anything on the browser to use this add-on. The following instructions are for the administrator who installs the add-on on the server where TWiki is running.
- Download the ZIP file from the Add-on Home (see below)
- Unzip
MakeCtrlTopicsListAddOn.zip in your twiki installation directory. Content: | File: | Description: |
data/TWiki/MakeCtrlTopicsListAddOn.txt | Add-on topic |
data/TWiki/MakeCtrlTopicsListAddOn.txt,v | Add-on topic repository |
bin/makectrltopicslist.pl | Add-on script |
pub/TWiki/MakeCtrlTopicsListAddOn/MCTLscreenshot.gif | Example output |
pub/TWiki/MakeCtrlTopicsListAddOn/MCTLscreenshot.gif,v | Example output repository |
- Test if the installation was successful:
- Install and configure TWiki:Plugins.WorkflowPlugin.
- Configure MakeCtrlTopicsListAddOn as described under "Usage".
- Verify that the report topic gets changed by the script.
Add-On Info
- Set SHORTDESCRIPTION = List topics under QM approval control; extension for WorkflowPlugin
Related Topic: TWikiAddOns,
ApprovalPlugin
--
TWiki:Main/DetlefMarxsen - 16 Jul 2007