Last modified: 2012-06-19 09:29:40 UTC
I have the following config: $wgTranslateWorkflowStates = array( 'työn alla' => 'FF0000', // red 'oikoluetaan' => '0000FF', // blue 'valmis' => 'FFFF00', // yellow ); $wgGroupPermissions['user']['translate-groupreview'] = true; Yet I am unable to change states. isset( $translateWorkflowStates[$state]['right'] ) is always true when $translateWorkflowStates[$state] is a string (takes the first letter). Should also perhaps check that it is an array.
Gerrit change #11833 solves this for Wikimedia wikis, but it doesn't address the backward compatiblity failing. Gerrit change #10551 meant to add BC, but that apparently failed. Looks like a test may be a good idea.
New code review: Gerrit change #11847
(In reply to comment #2) > New code review: Gerrit change #11847 This is supposed to fix backwards compatibility.
https://gerrit.wikimedia.org/r/#/c/11833/ https://gerrit.wikimedia.org/r/#/c/11858/