Thiemo Mättig (WMDE) has uploaded a new change for review.

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

Change subject: Formatters for JSON?
......................................................................

Formatters for JSON?

A Formatter that outputs JSON is not a Formatter, that's a
Serializer.

Change-Id: Ib91de650f86f65fbb392d30df223b98ca64b59cc
---
M lib/includes/formatters/SnakFormatter.php
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/58/177258/1

diff --git a/lib/includes/formatters/SnakFormatter.php 
b/lib/includes/formatters/SnakFormatter.php
index a0d9578..570abe8 100644
--- a/lib/includes/formatters/SnakFormatter.php
+++ b/lib/includes/formatters/SnakFormatter.php
@@ -25,7 +25,6 @@
        const FORMAT_HTML = 'text/html';
        const FORMAT_HTML_WIDGET = 'text/html; disposition=widget';
        const FORMAT_HTML_DIFF = 'text/html; disposition=diff';
-       const FORMAT_JSON = 'application/json';
 
        /**
         * Formats a snak.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib91de650f86f65fbb392d30df223b98ca64b59cc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

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

Reply via email to