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

           Summary: API custom class inherited from ApiQueryBase does not
                    call getCustomPrinter() method
           Product: MediaWiki
           Version: 1.15.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: c...@uniyar.ac.ru
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    vasi...@gmail.com, soxre...@gmail.com


I've defined getCustomPrinter() in my extension's class derived from
ApiQueryBase. However, it's simply not being called, even though, both ApiBase
class and ApiQuery define this method and ApiQueryBase extends ApiBase.

Because of that, I am forced to use &export and &exportnowrap parameters, which
are unnecessary (extra bloat) in my case.

There must be something flawed in this logic, I think so.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to