public $mMaxSize = 10000000;
public $mMaxCount = 100;
- /**
- * Constructor
- */
public function __construct() {
if ( !function_exists( 'gzdeflate' ) ) {
throw new MWException( "Need zlib support to read or write this "
}
}
+
+// @codingStandardsIgnoreStart
+if ( false ) {
+ // Blobs generated by MediaWiki < 1.5 on PHP 4 were serialized with the
+ // class name coerced to lowercase. We can improve efficiency by adding
+ // autoload entries for the lowercase variants of these classes (T166759).
+ // The code below is never executed, but it is picked up by the AutoloadGenerator
+ // parser, which scans for class_alias() calls.
+ class_alias( 'ConcatenatedGzipHistoryBlob', 'concatenatedgziphistoryblob' );
+ class_alias( 'HistoryBlobCurStub', 'historyblobcurstub' );
+ class_alias( 'HistoryBlobStub', 'historyblobstub' );
+}
+// @codingStandardsIgnoreEnd