Pulling back r46341 and r46342 for now "API: (bug 17142) Add redirects parameter...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 27 Jan 2009 20:39:24 +0000 (20:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 27 Jan 2009 20:39:24 +0000 (20:39 +0000)
commit79d0c8e34be50276e90faea050dc544ff806f760
treed7b79bff660eaa91e24b5de951948451edb16ee7
parentfeeae7ff83a5faf27e8b07536e6e4bc1033c45ee
Pulling back r46341 and r46342 for now "API: (bug 17142) Add redirects parameter to action=opensearch to control redirect resolution. Changes to OpenSearchXML extension in next commit"
Mysteriously there's no way to get a boolean parameter to default to true, which leads to an incompatibility in the sensible behavior of the more detailed responses in the XML output -- eg you get a whole buttload of "#REDIRECT Blabla" in your results, which is absolutely hideous. This is very much not desireable. :)
If we could change the default, and allow it to be set on or off for specific requests if some person for some reason is doing highly customized suggestion searches and wants it configured differently (no idea why), that might be doable. But as written this doesn't make any sense.
RELEASE-NOTES
includes/api/ApiOpenSearch.php