Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -510,7 +510,12 @@ |
511 | 511 | */ |
512 | 512 | $wgTranslateGroupFiles = array(); |
513 | 513 | |
| 514 | +/** |
| 515 | + * @todo document |
| 516 | + */ |
| 517 | +$wgTranslateWorkflowStates = false; |
514 | 518 | |
| 519 | + |
515 | 520 | # === System setup related configuration === |
516 | 521 | |
517 | 522 | /** |
Index: trunk/extensions/Translate/specials/SpecialMessageGroupStats.php |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | $table = $this->table; |
110 | 110 | |
111 | 111 | global $wgTranslateWorkflowStates; |
112 | | - if ( $wgTranslateWorkflowStates !== false ) { |
| 112 | + if ( $wgTranslateWorkflowStates ) { |
113 | 113 | $this->states = self::getWorkflowStates( $this->target ); |
114 | 114 | $this->statemap = array_flip( $wgTranslateWorkflowStates ); |
115 | 115 | $table->addExtraColumn( wfMessage( 'translate-stats-workflow' ) ); |
— | — | @@ -179,7 +179,7 @@ |
180 | 180 | $out .= "\n\t\t" . $this->getMainColumnCell( $code, $extra ); |
181 | 181 | $out .= $this->table->makeNumberColumns( $fuzzy, $translated, $total ); |
182 | 182 | global $wgTranslateWorkflowStates; |
183 | | - if ( $wgTranslateWorkflowStates !== false ) { |
| 183 | + if ( $wgTranslateWorkflowStates ) { |
184 | 184 | $state = isset( $this->states[$code] ) ? $this->states[$code] : ''; |
185 | 185 | $sort = isset( $this->statemap[$state] ) ? $this->statemap[$state] + 1 : -1; |
186 | 186 | $out .= "\n\t\t" . $this->table->element( $state, false, $sort ); |