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

       Web browser: ---
             Bug #: 35116
           Summary: API documentation for prop=excerpts seems to be wrong
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The API documentation for prop=excerpts is not consistent.

The auto-generated documentation of the module
<http://meta.wikimedia.org/w/api.php?action=help&querymodules=excerpts>
lists the parameters as "exlength", "exlimit", "explaintext", and "excontinue",
but then gives an example (that doesn't work)
<api.php?action=query&prop=excerpt&length=175&titles=Therion>
that calls the module "excerpt" (singular) and doesn't use the "ex" prefix on
any if its parameters.

OTOH, the on-wiki documentation linked to from the auto version
<https://www.mediawiki.org/wiki/Extension:MobileFrontend#New_API> lists the
parameters as "length", "limit", "plaintext", and "continue", but then shows an
example (that does work) using the parameter "exlength".

This all needs to be made consistent and correct...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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