r107573 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107572‎ | r107573 | r107574 >
Date:14:53, 29 December 2011
Author:amire80
Status:ok
Tags:
Comment:
Added detailed documentation for the workflow states variable.
Modified paths:
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -526,12 +526,20 @@
527527 $wgTranslateGroupFiles = array();
528528
529529 /**
530 - * List of possible message group review workflow states. Users who have
531 - * translate-groupreview right can set this in Special:Translate.
 530+ * List of possible message group review workflow states and colors for each state.
 531+ * Users who have translate-groupreview right can set this in Special:Translate.
532532 * The state is visible in Special:Translate, Special:MessageGroupStats and
533 - * Special:LanguageStats.
 533+ * Special:LanguageStats. If the value is false, the workflow states feature
 534+ * is disabled.
534535 * Up two 32 characters each.
535 - * Example: array( 'new', 'needs_proofreading', 'ready', 'published', );
 536+ * Example:
 537+ * array(
 538+ * 'new' => 'FF0000', // red
 539+ * 'needs_proofreading' => '0000FF', // blue
 540+ * 'ready' => 'FFFF00', // yellow
 541+ * 'published' => '00FF00', // green
 542+ * );
 543+ *
536544 */
537545 $wgTranslateWorkflowStates = false;
538546

Status & tagging log