Page MenuHomePhabricator

Show errors provided by wbparsevalue on add
Closed, ResolvedPublic


When a user adds a value to a statement, a call to wbparsevalue is made and could return an error (the most prominent example is a URL with an erroneous or no scheme). Currently, this error is displayed in an alert. We should the error to the UI in a way that's consistent with other error messages on the front and back ends.

Event Timeline

Change 558218 had a related patch set uploaded (by Anne Tomasevich; owner: Anne Tomasevich):
[mediawiki/extensions/WikibaseMediaInfo@master] Show wbparsevalue errors in the WBMI UI

Change 558218 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Show wbparsevalue errors in the WBMI UI

Ramsey-WMF added a subscriber: Ramsey-WMF.

Tested with URL statements with no "https://" prefix, error shows properly within the UI.