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

            Bug ID: 64657
           Summary: Hooks provide incorrect parameters.
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Export/Import
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

The hooks ImportHandleLogItemXMLTag[1], ImportHandlePageXMLTag[2],
ImportHandleUploadXMLTag[3] and ImportHandleToplevelXMLTag[4] provide a
WikiImporter object as parameter instead of a XMLReader object as the
documentation asserts. Therefore there is currently no way to access the name
of the tag currently being processed or the contents of the tag being
processed. 

[1] http://www.mediawiki.org/wiki/Manual:Hooks/ImportHandleLogItemXMLTag
[2] http://www.mediawiki.org/wiki/Manual:Hooks/ImportHandlePageXMLTag
[3] http://www.mediawiki.org/wiki/Manual:Hooks/ImportHandleUploadXMLTag
[4] http://www.mediawiki.org/wiki/Manual:Hooks/ImportHandleToplevelXMLTag

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