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

       Web browser: ---
             Bug #: 37745
           Summary: re-asses support for action=raw
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


action=raw is current not supported for Wikibase items. The ContentHandler
branch will send a 406 Not Acceptable response if action=raw is used with
non-text content.

This was done after some discussion on #mediawiki, the reasoning being that
a) sending anon editable data with potentially dangerous mime types is a bad
idea
b) action=raw is a legacy interface and really deprecated

action=raw could, in theory, just return a serialized version of the content,
using the gen= parameter as a hint to how to serialize the content. The
benefits and downsides of this should be re-assessed.

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