summaryrefslogtreecommitdiff
path: root/includes/content/TextContentHandler.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-12-17 09:15:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2015-12-17 09:44:51 +0100
commita1789ddde42033f1b05cc4929491214ee6e79383 (patch)
tree63615735c4ddffaaabf2428946bb26f90899f7bf /includes/content/TextContentHandler.php
parent9e06a62f265e3a2aaabecc598d4bc617e06fa32d (diff)
Update to MediaWiki 1.26.0
Diffstat (limited to 'includes/content/TextContentHandler.php')
-rw-r--r--includes/content/TextContentHandler.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/content/TextContentHandler.php b/includes/content/TextContentHandler.php
index ffe1acbd..f5e87830 100644
--- a/includes/content/TextContentHandler.php
+++ b/includes/content/TextContentHandler.php
@@ -134,4 +134,13 @@ class TextContentHandler extends ContentHandler {
return new $class( '' );
}
+ /**
+ * @see ContentHandler::supportsDirectEditing
+ *
+ * @return bool Default is true for TextContent and derivatives.
+ */
+ public function supportsDirectEditing() {
+ return true;
+ }
+
}