Last modified: 2012-06-19 09:29:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39648, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37648 - Unable to set workflow states
Unable to set workflow states
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Highest critical (vote)
: ---
Assigned To: Niklas Laxström
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-16 09:28 UTC by Niklas Laxström
Modified: 2012-06-19 09:29 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2012-06-16 09:28:58 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.
Comment 1 Siebrand Mazeland 2012-06-18 09:29:03 UTC
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.
Comment 2 Dereckson 2012-06-18 12:01:37 UTC
New code review: Gerrit change #11847
Comment 3 Amir E. Aharoni 2012-06-18 12:09:36 UTC
(In reply to comment #2)
> New code review: Gerrit change #11847

This is supposed to fix backwards compatibility.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links