From c5ffe1a34eb0979503fa89f7d975ae622d212dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Mon, 10 Jul 2017 11:04:39 +0200 Subject: [PATCH] Remove deprecated SnakFormatter::FORMAT_HTML_WIDGET constant Change-Id: Ia9f867b64c590a0db30cb8d6b612164464f38b04 Depends-On: Icb446783a6c27090095e66492a75fcb3bb0f66c1 --- MathFormatter.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MathFormatter.php b/MathFormatter.php index 5e3c68c..c21a1fc 100644 --- a/MathFormatter.php +++ b/MathFormatter.php @@ -10,7 +10,7 @@ use Wikibase\Lib\SnakFormatter; * - text/plain: used in the value input field of Wikidata * - text/x-wiki: wikitext * - text/html: used in Wikidata to display the value of properties - * Formats can look like this: "text/html; disposition=widget" + * Formats can look like this: "text/html; disposition=diff" * or just "text/plain" */ @@ -34,7 +34,6 @@ class MathFormatter implements ValueFormatter { case SnakFormatter::FORMAT_WIKI: case SnakFormatter::FORMAT_HTML: case SnakFormatter::FORMAT_HTML_DIFF: - case SnakFormatter::FORMAT_HTML_WIDGET: $this->format = $format; break; default: