X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fcontent%2FContentHandler.php;h=100fa834dc40110bb7db8ded2a0972610552ed6a;hb=7f7efbe026b01be36019c26571224a6e8a178677;hp=ea5ab78bc0386266b9f045bb13f40035666be02c;hpb=8390e37efc4b42a1ba3d3102bd78208a30cfccf2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index ea5ab78bc0..100fa834dc 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -280,8 +280,10 @@ abstract class ContentHandler { } if ( !( $handler instanceof ContentHandler ) ) { - throw new MWException( "$classOrCallback from \$wgContentHandlers is not " . - "compatible with ContentHandler" ); + throw new MWException( + var_export( $classOrCallback, true ) . " from \$wgContentHandlers is not " . + "compatible with ContentHandler" + ); } }