X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FFileContentHandler.php;h=3028dfdac8b949dda425b6f3b01b71787a0b8c07;hb=1dfd59a4e3d4f9c20bbe584bd1ad7a622c22f823;hp=26f119065df95e7d447e6405739a5b5ea52b8cc7;hpb=2fdcd7bfdd95a3b1515b9a94289d67eb60add484;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/FileContentHandler.php b/includes/content/FileContentHandler.php index 26f119065d..3028dfdac8 100644 --- a/includes/content/FileContentHandler.php +++ b/includes/content/FileContentHandler.php @@ -6,7 +6,7 @@ * but instead manually called by WikitextHandler. * This should be fixed in the future. */ -class FileContentHandler extends WikitextContentHandler { +class FileContentHandler extends WikitextContentHandler { public function getFieldsForSearchIndex( SearchEngine $engine ) { $fields['file_media_type'] = @@ -30,8 +30,11 @@ class FileContentHandler extends WikitextContentHandler { return $fields; } - public function getDataForSearchIndex( WikiPage $page, ParserOutput $parserOutput, - SearchEngine $engine ) { + public function getDataForSearchIndex( + WikiPage $page, + ParserOutput $parserOutput, + SearchEngine $engine + ) { $fields = []; $title = $page->getTitle();