https://bugzilla.wikimedia.org/show_bug.cgi?id=33482
Santhosh Thottingal <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |om --- Comment #1 from Santhosh Thottingal <[email protected]> 2012-01-03 10:42:26 UTC --- As of now, I see this code in ApiBase.php: <code> if ( isset( $value ) && ( $multi || is_array( $type ) ) ) { $value = $this->parseMultiValue( $encParamName, $value, $multi, is_array( $type ) ? $type : null ); } </code> May be we need to change that OR to AND condition, so that the value can contain | , even if the allowed values are array when PARAM_ISMULTI is false There is another bug related to ISMULTI in APIBase.php <code> if ( isset( $paramSettings[self::PARAM_ISMULTI] ) ) { $prompt = 'Values (separate with \'|\'): '; } else { $prompt = 'One value: '; } </code> Looks like the condition require additional condition - && $paramSettings[self::PARAM_ISMULTI] -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
