Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/61468


Change subject: Fix content format for ScribuntoContentHander
......................................................................

Fix content format for ScribuntoContentHander

We had intended to use the constant CONTENT_FORMAT_TEXT, but
accidentally used that as a string instead.

Change-Id: I93a2c02d48d3fd7b73530562165d817965e272d1
---
M common/ScribuntoContentHandler.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto 
refs/changes/68/61468/1

diff --git a/common/ScribuntoContentHandler.php 
b/common/ScribuntoContentHandler.php
index ba1e17b..86387c2 100644
--- a/common/ScribuntoContentHandler.php
+++ b/common/ScribuntoContentHandler.php
@@ -11,7 +11,7 @@
 
 class ScribuntoContentHandler extends TextContentHandler {
 
-       public function __construct( $modelId = 'Scribunto', $formats = array( 
'CONTENT_FORMAT_TEXT' ) ) {
+       public function __construct( $modelId = 'Scribunto', $formats = array( 
CONTENT_FORMAT_TEXT ) ) {
                parent::__construct( $modelId, $formats );
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/61468
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I93a2c02d48d3fd7b73530562165d817965e272d1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to