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

       Web browser: ---
            Bug ID: 44405
           Summary: list=geopagesincategory does not exist
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GeoData
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

The extension defined a new module geopagesincategory, but that is not listed
on the api auto doc and does not exist.

Instead of duplicate the existing api module, the extension should hook into
the existing module and add it parameters.

* APIGetAllowedParams
* APIGetParamDescription
* APIGetResultProperties

At the begin, you have to use the following, if not, you will modify all
modules:

if ( !$module instanceof ApiCategoryMembers ) {
        return true;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to