Last modified: 2011-05-24 23:30:31 UTC
http://en.wikipedia.org/w/api.php format - The format bit should be removed or something put at the right hand side of the hyphen!
Resetting back to the extensions component: this bug is in the OpenSearchXML extension, not in core.
Fixed in r50127
This looks like it'll hide the parameter instead of documenting it correctly...
(In reply to comment #3) > This looks like it'll hide the parameter instead of documenting it correctly... > ... which is intended, since the parameter was mistakenly overridden from ApiMain.
Reverted in r50240. r50127 changes the default format from json to xmlfm, breaking anything which would have attempted to use standard json search suggestions, such as when $wgEnableMWSuggest is set. I'm guessing breaking the functionality entirely was not intended. :)
Seems it's back to JSON...
r88766 should pretty much resolve this on trunk: * added explicit default, acceptable values list, and description for the parameter so it shows correctly in help * still not using $this->getMain()->getParameter('format') since this ignores our default -- so still using the same code to manually fetch it. Added a comment about that bit though, so if someone wants to clean them up in future, spiff.