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
Include AuthManager API endpoints in authmanager channel
[lhc/web/wiklou.git]
/
includes
/
content
/
CodeContentHandler.php
diff --git
a/includes/content/CodeContentHandler.php
b/includes/content/CodeContentHandler.php
index
694b633
..
2bbf6ca
100644
(file)
--- a/
includes/content/CodeContentHandler.php
+++ b/
includes/content/CodeContentHandler.php
@@
-63,4
+63,12
@@
abstract class CodeContentHandler extends TextContentHandler {
protected function getContentClass() {
throw new MWException( 'Subclass must override' );
}
+
+ /**
+ * @param SearchEngine $engine
+ * @return array
+ */
+ public function getFieldsForSearchIndex( SearchEngine $engine ) {
+ return [];
+ }
}