Page MenuHomePhabricator

improve error handling on client when calling deleted property
Closed, DeclinedPublic

Description

The following was reported on the contact the dev team page:

Using {{#Property: on non-existing properties gives an error message on fr:Wikipédia:Wikidata/Bac à sable. Given the content of the message, I don't think it is intentional. --Zolo (talk) 11:25, 17 January 2015 (UTC) clarified --Zolo (talk) 10:40, 20 January 2015 (UTC)

You can transclude property by label, {{#property:nature de l'élément}}. --JulesWinnfield-hu (talk) 16:56, 17 January 2015 (UTC)
   It may be a good idea, to warn that the property could not be found but this sort of message looks buggish. --Zolo (talk) 10:43, 20 January 2015 (UTC)
      THanks for bringing it up. Do you have a suggestion for what would be better there? --Lydia Pintscher (WMDE) (talk) 15:00, 20 January 2015 (UTC)
         The "property not found for label P373" part (preferably translated) might have been clearer without the "rendering failure" part but I am not sure using error message is the best solution. The most likely reason for this sort of issue is that the property was relabelled/deleted. No big deal for the article, some info will be lost, but thhre is no need for a big red message that only a few can understand. Adding an "invalid property" tracker category sounds like a better approach. Those who don't know about these technical things won't be bothered, and those who do will find problematic pages more easily. With the current system, the issue can hardly be found using the search enging. This particular case was spotted only because an administrator -with some technical background- could not make sense of the message and notified it on fr:Discussion Wikipédia:Wikidata. --Zolo (talk) 15:57, 20 January 2015 (UTC)

Can we improve how the client by default handles deleted properties?