dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Introduce constants for fetchLanguageName(s)"
[lhc/web/wiklou.git]
/
includes
/
content
/
FileContentHandler.php
diff --git
a/includes/content/FileContentHandler.php
b/includes/content/FileContentHandler.php
index
26f1190
..
3028dfd
100644
(file)
--- 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.
*/
* 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'] =
public function getFieldsForSearchIndex( SearchEngine $engine ) {
$fields['file_media_type'] =
@@
-30,8
+30,11
@@
class FileContentHandler extends WikitextContentHandler {
return $fields;
}
return $fields;
}
- public function getDataForSearchIndex( WikiPage $page, ParserOutput $parserOutput,
- SearchEngine $engine ) {
+ public function getDataForSearchIndex(
+ WikiPage $page,
+ ParserOutput $parserOutput,
+ SearchEngine $engine
+ ) {
$fields = [];
$title = $page->getTitle();
$fields = [];
$title = $page->getTitle();