https://bugzilla.wikimedia.org/show_bug.cgi?id=17142





--- Comment #9 from Ben Rimmington <[email protected]>  2009-01-27 
21:42:03 UTC ---
Now that I've seen how action=opensearch is implemented, I think this bug
report could be closed as INVALID. Maybe the differences should just be
documented instead.

public function getAllowedParams() {
    return array (
        // ... //
        'format' => array (
            ApiBase :: PARAM_DFLT => 'json',
            ApiBase :: PARAM_TYPE => array (
                'json',
                'jsonfm',
                'xml',
                'xmlfm',
            ),
        ),
    );
}

public function getParamDescription() {
    return array (
        // ... //
        'format' => 'The format of the output',
    );
}

public function getDescription() {
    return array (
        'This module/extension implements the OpenSearch protocol.',
        'NOTE: Redirects are only resolved for the XML and XMLFM output
formats.',
    );
}

OFF TOPIC: Only 1 of 35 results for
http://en.wikipedia.org/w/api.php?action=opensearch&search=Neptune&limit=50&format=xmlfm
has a "badge" image. Shall I report this as a bug?


-- 
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

Reply via email to