Aude has submitted this change and it was merged. Change subject: remove hardcoded "ERROR: TODO: ..." output from TypedValueFormatter ......................................................................
remove hardcoded "ERROR: TODO: ..." output from TypedValueFormatter - otherwise this gets outputted in the client when using {{#property}} with a time data value Change-Id: Ib8f775b092bc1a02a97784d721bef97eda9676dd --- M lib/includes/TypedValueFormatter.php 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: Aude: Verified; Looks good to me, approved diff --git a/lib/includes/TypedValueFormatter.php b/lib/includes/TypedValueFormatter.php index 4cedb67..06ce802 100644 --- a/lib/includes/TypedValueFormatter.php +++ b/lib/includes/TypedValueFormatter.php @@ -58,8 +58,9 @@ return $value; } - // TODO: implement: error message or other error handling - return 'ERROR: TODO: getValue returned non-string, so DataType is missing formatter'; + // @todo: implement: error message or other error handling + // @todo: implement value formatter for time! + return ''; } /** -- To view, visit https://gerrit.wikimedia.org/r/66004 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib8f775b092bc1a02a97784d721bef97eda9676dd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: mw1.22-wmf5 Gerrit-Owner: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Aude <aude.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits