jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Daniel Kinzler: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Ib91de650f86f65fbb392d30df223b98ca64b59cc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits