X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHistoryBlob.php;h=14d22ec404a825d68442a0a7fefc8e302ccfdc14;hb=720a3569b852fc4a5fc71e1ccc7d0ea156e24f7d;hp=51bd7a9e94f0eb11218e13bc7b408f95d258ec8b;hpb=2480aae0c97d822e10b50619e7b48b25c45af073;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php index 51bd7a9e94..14d22ec404 100644 --- a/includes/HistoryBlob.php +++ b/includes/HistoryBlob.php @@ -699,3 +699,16 @@ class DiffHistoryBlob implements HistoryBlob { } } + +// @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