Page MenuHomePhabricator

Allow localisation of empty report message
Closed, ResolvedPublic

Description

Currently whenever a report page (e.g. missing commonscat) is empty it gets a string like There are no missing commonscat left. Great work! instead of a list of items. It would be great to have this string translatable.

The easiest solution is to look for a subpage /empty (similar to what we do for /header) which would allow per list overriding of the message.

Event Timeline

Change 457099 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil):
[labs/tools/heritage@master] Allow localisation of empty report message

https://gerrit.wikimedia.org/r/457099

A non-patch component of this is updating the three documentation pages describing the /done usage That should be done once the patch is approved but before it is deployed.

Instructions have been added to each documentation page but is commented out until the patch is merged and deployed.

Change 457099 merged by jenkins-bot:
[labs/tools/heritage@master] Allow localisation of empty report message

https://gerrit.wikimedia.org/r/457099

The instructions have been uncommented