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

Sam Reed (reedy) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|General/Unknown             |ContentHandler
         AssignedTo|[email protected]. |[email protected]
                   |org                         |ia.org

--- Comment #2 from Sam Reed (reedy) <[email protected]> 2012-10-17 21:59:28 
UTC ---
                if ( !$content instanceof TextContent ) {
                    wfHttpError( 415, "Unsupported Media Type", "The requested
page uses the content model `"
                                        . $content->getModel() . "` which is
not supported via this interface." );
                    die();
                }

We're already in an error block at this point.

revision->getContent() can return Content or null, but is only documented as
returning Content.

I'm highly suspecting it's getting null.


Moved to ContentHandler

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