https://bugzilla.wikimedia.org/show_bug.cgi?id=24016
Summary: Parameter help information incorrect using (parameter name) => (default value) and default is a string Product: MediaWiki Version: 1.16 Platform: All OS/Version: All Status: NEW Severity: normal Priority: Normal Component: API AssignedTo: roan.katt...@gmail.com ReportedBy: b-jor...@northwestern.edu CC: bryan.tongm...@gmail.com, s...@reedyboy.net, vasi...@gmail.com, soxre...@gmail.com Created an attachment (id=7480) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7480) One easy fix This can be seen at the moment in enwiki's api help output for action=stabilize's expiry parameter. The problem is that PHP interprets $x[$i] as substr($x,$i,1) when $x is a string. The attached patch is one easy way to fix it, or you could refactor makeHelpMsgParameters to treat $paramSettings in the same way getParameterFromSettings does. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l