Remove deprecated SnakFormatter::FORMAT_HTML_WIDGET constant
Change-Id: Ia9f867b64c590a0db30cb8d6b612164464f38b04 Depends-On: Icb446783a6c27090095e66492a75fcb3bb0f66c1
This commit is contained in:
parent
bfc3516a15
commit
c5ffe1a34e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue