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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l